python3Packages.cachier: unbreak

Changed files
+17
pkgs
development
python-modules
cachier
+17
pkgs/development/python-modules/cachier/default.nix
···
{
lib,
+
stdenv,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
···
portalocker,
pytestCheckHook,
pytest-cov-stub,
+
sqlalchemy,
pymongo,
dnspython,
pymongo-inmemory,
···
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
+
sqlalchemy
pymongo
dnspython
pymongo-inmemory
···
# don't test formatting
"test_flake8"
+
# slow, spawns 800+ threads
+
"test_inotify_instance_limit_reached"
+
# timing sensitive
"test_being_calc_next_time"
"test_pickle_being_calculated"
+
]
+
++ lib.optionals stdenv.hostPlatform.isDarwin [
+
# sensitive to host file system
+
# Unhandled exception in FSEventsEmitter - RuntimeError: Cannot add watch - it is already scheduled
+
"test_bad_cache_file"
+
"test_delete_cache_file"
+
];
+
+
disabledTestPaths = [
+
# Keeps breaking due to concurrent access or failing to close the db between tests.
+
"tests/test_sql_core.py"
];
preBuild = ''