diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-05-22 01:21:40 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-05-22 02:36:05 +0200 |
commit | 59f2b793b003e69b514aa7a2c49cd01f4a96b85e (patch) | |
tree | 4ce57d253ead71b61654a01687d9c40feefa7f1f | |
parent | 5e03acec6479f6869f912428de06e6f41f5f23da (diff) |
python312Packages.limits: 3.10.1 -> 3.12.0
Disable tests on Python 3.12, as they currently crash somewhere in protobuf on all supported platforms. https://github.com/alisaifee/limits/releases/tag/3.11.0 https://github.com/alisaifee/limits/releases/tag/3.12.0
-rw-r--r-- | pkgs/development/python-modules/limits/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/limits/default.nix b/pkgs/development/python-modules/limits/default.nix index 9849541282f89..111c55145e5f8 100644 --- a/pkgs/development/python-modules/limits/default.nix +++ b/pkgs/development/python-modules/limits/default.nix @@ -22,7 +22,7 @@ buildPythonPackage rec { pname = "limits"; - version = "3.10.1"; + version = "3.12.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -37,7 +37,7 @@ buildPythonPackage rec { postFetch = '' rm "$out/limits/_version.py" ''; - hash = "sha256-Ax0P9rYTPOrhtOw7FLElSNTGQ3WWCboM3FodTOGZWu8="; + hash = "sha256-EH2/75tcKuS11XKuo4lCQrFe4/XJZpcWhuGlSuhIk18="; }; postPatch = '' @@ -93,12 +93,14 @@ buildPythonPackage rec { ]; }; + doCheck = pythonOlder "3.12"; # SystemError in protobuf + nativeCheckInputs = [ hiro pytest-asyncio pytest-lazy-fixture pytestCheckHook - ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); + ] ++ lib.flatten (lib.attrValues passthru.optional-dependencies); pythonImportsCheck = [ "limits" |