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:
Martin Weinelt 2023-03-12 23:44:48 +01:00
parent d03d74aa67
commit 86fc053269
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -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 = [