diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-03-12 23:44:48 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-03-12 23:44:48 +0100 |
commit | 86fc05326935889e2cfc6f0b1bceeeabc63924bf (patch) | |
tree | 5101186d4eed5c4f228913c83258939b29211f8d | |
parent | d03d74aa67d2b49e51097329ca0757be20010c80 (diff) | |
download | nixpkgs-86fc05326935889e2cfc6f0b1bceeeabc63924bf.tar nixpkgs-86fc05326935889e2cfc6f0b1bceeeabc63924bf.tar.gz nixpkgs-86fc05326935889e2cfc6f0b1bceeeabc63924bf.tar.bz2 nixpkgs-86fc05326935889e2cfc6f0b1bceeeabc63924bf.tar.lz nixpkgs-86fc05326935889e2cfc6f0b1bceeeabc63924bf.tar.xz nixpkgs-86fc05326935889e2cfc6f0b1bceeeabc63924bf.tar.zst nixpkgs-86fc05326935889e2cfc6f0b1bceeeabc63924bf.zip |
python38Packages.babel: Disable tests
Tests would require backports-zoneinfo, which yields an infinite recursion via sphinx, hypothesis, argon2-cffi, autobahn, ....
-rw-r--r-- | pkgs/development/python-modules/babel/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/babel/default.nix b/pkgs/development/python-modules/babel/default.nix index 0704f1693f9..1393a7084e1 100644 --- a/pkgs/development/python-modules/babel/default.nix +++ b/pkgs/development/python-modules/babel/default.nix @@ -1,10 +1,10 @@ { lib , buildPythonPackage , fetchPypi +, pythonAtLeast , pythonOlder # tests -, backports-zoneinfo , freezegun , pytestCheckHook , pytz @@ -27,14 +27,15 @@ buildPythonPackage rec { pytz ]; + # including backports.zoneinfo for python<3.9 yields infinite recursion + doCheck = pythonAtLeast "3.9"; + nativeCheckInputs = [ # via setup.py freezegun pytestCheckHook # via tox.ini pytz - ] ++ lib.optionals (pythonOlder "3.9") [ - backports-zoneinfo ]; disabledTests = [ |