Loading pkgs/development/python-modules/aiocache/default.nix +13 −7 Original line number Diff line number Diff line Loading @@ -12,7 +12,6 @@ pytest-mock, pytestCheckHook, pythonAtLeast, pythonOlder, redis, redisTestHook, setuptools, Loading @@ -23,8 +22,6 @@ buildPythonPackage rec { version = "0.12.3"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "aio-libs"; repo = "aiocache"; Loading Loading @@ -56,12 +53,19 @@ buildPythonPackage rec { "ignore::DeprecationWarning" # TypeError: object MagicMock can't be used in 'await' expression "--deselect=tests/ut/backends/test_redis.py::TestRedisBackend::test_close" # Tests can time out and leave redis/valkey in an unusable state for later tests "-x" ]; disabledTests = [ # Test calls apache benchmark and fails, no usable output "test_concurrency_error_rates" # susceptible to timing out / short ttl "test_cached_stampede" "test_locking_dogpile_lease_expiration" "test_set_ttl_handle" "test_set_cancel_previous_ttl_handle" ] ++ lib.optionals (pythonAtLeast "3.13") [ # https://github.com/aio-libs/aiocache/issues/863 Loading @@ -71,17 +75,19 @@ buildPythonPackage rec { disabledTestPaths = [ # Benchmark and performance tests are not relevant for Nixpkgs "tests/performance/" # Full of timing-sensitive tests "tests/ut/backends/test_redis.py" ]; __darwinAllowLocalNetworking = true; pythonImportsCheck = [ "aiocache" ]; meta = with lib; { description = "Python API Rate Limit Decorator"; meta = { description = "Asyncio cache supporting multiple backends (memory, redis, memcached, etc.)"; homepage = "https://github.com/aio-libs/aiocache"; changelog = "https://github.com/aio-libs/aiocache/releases/tag/v${version}"; license = licenses.bsd3; maintainers = with maintainers; [ fab ]; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ fab ]; }; } Loading
pkgs/development/python-modules/aiocache/default.nix +13 −7 Original line number Diff line number Diff line Loading @@ -12,7 +12,6 @@ pytest-mock, pytestCheckHook, pythonAtLeast, pythonOlder, redis, redisTestHook, setuptools, Loading @@ -23,8 +22,6 @@ buildPythonPackage rec { version = "0.12.3"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "aio-libs"; repo = "aiocache"; Loading Loading @@ -56,12 +53,19 @@ buildPythonPackage rec { "ignore::DeprecationWarning" # TypeError: object MagicMock can't be used in 'await' expression "--deselect=tests/ut/backends/test_redis.py::TestRedisBackend::test_close" # Tests can time out and leave redis/valkey in an unusable state for later tests "-x" ]; disabledTests = [ # Test calls apache benchmark and fails, no usable output "test_concurrency_error_rates" # susceptible to timing out / short ttl "test_cached_stampede" "test_locking_dogpile_lease_expiration" "test_set_ttl_handle" "test_set_cancel_previous_ttl_handle" ] ++ lib.optionals (pythonAtLeast "3.13") [ # https://github.com/aio-libs/aiocache/issues/863 Loading @@ -71,17 +75,19 @@ buildPythonPackage rec { disabledTestPaths = [ # Benchmark and performance tests are not relevant for Nixpkgs "tests/performance/" # Full of timing-sensitive tests "tests/ut/backends/test_redis.py" ]; __darwinAllowLocalNetworking = true; pythonImportsCheck = [ "aiocache" ]; meta = with lib; { description = "Python API Rate Limit Decorator"; meta = { description = "Asyncio cache supporting multiple backends (memory, redis, memcached, etc.)"; homepage = "https://github.com/aio-libs/aiocache"; changelog = "https://github.com/aio-libs/aiocache/releases/tag/v${version}"; license = licenses.bsd3; maintainers = with maintainers; [ fab ]; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ fab ]; }; }