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