python3Packages.cachier: unbreak (#436852)

This commit is contained in:
Peder Bergebakken Sundt
2025-08-27 03:08:54 +02:00
committed by GitHub
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
@@ -9,6 +10,7 @@
portalocker,
pytestCheckHook,
pytest-cov-stub,
sqlalchemy,
pymongo,
dnspython,
pymongo-inmemory,
@@ -46,6 +48,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
sqlalchemy
pymongo
dnspython
pymongo-inmemory
@@ -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 = ''