python38Packages.babel: Disable tests
Tests would require backports-zoneinfo, which yields an infinite recursion via sphinx, hypothesis, argon2-cffi, autobahn, ....
This commit is contained in:
parent
d03d74aa67
commit
86fc053269
1 changed files with 4 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, pythonAtLeast
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
|
||||||
# tests
|
# tests
|
||||||
, backports-zoneinfo
|
|
||||||
, freezegun
|
, freezegun
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytz
|
, pytz
|
||||||
|
@ -27,14 +27,15 @@ buildPythonPackage rec {
|
||||||
pytz
|
pytz
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# including backports.zoneinfo for python<3.9 yields infinite recursion
|
||||||
|
doCheck = pythonAtLeast "3.9";
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
# via setup.py
|
# via setup.py
|
||||||
freezegun
|
freezegun
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
# via tox.ini
|
# via tox.ini
|
||||||
pytz
|
pytz
|
||||||
] ++ lib.optionals (pythonOlder "3.9") [
|
|
||||||
backports-zoneinfo
|
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
|
|
Loading…
Reference in a new issue