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
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user