Loading pkgs/development/python-modules/cachier/default.nix +17 −0 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, Loading @@ -9,6 +10,7 @@ portalocker, pytestCheckHook, pytest-cov-stub, sqlalchemy, pymongo, dnspython, pymongo-inmemory, Loading Loading @@ -46,6 +48,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook pytest-cov-stub sqlalchemy pymongo dnspython pymongo-inmemory Loading @@ -67,9 +70,23 @@ buildPythonPackage rec { # 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 = '' Loading Loading
pkgs/development/python-modules/cachier/default.nix +17 −0 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, Loading @@ -9,6 +10,7 @@ portalocker, pytestCheckHook, pytest-cov-stub, sqlalchemy, pymongo, dnspython, pymongo-inmemory, Loading Loading @@ -46,6 +48,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook pytest-cov-stub sqlalchemy pymongo dnspython pymongo-inmemory Loading @@ -67,9 +70,23 @@ buildPythonPackage rec { # 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 = '' Loading