Merge pull request #265239 from fabaff/python-crontab-fix

python311Packages.python-crontab: disable failing test
This commit is contained in:
Fabian Affolter 2023-11-03 22:29:40 +01:00 committed by GitHub
commit a3b35afc2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,12 +4,13 @@
, python-dateutil
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "python-crontab";
version = "3.0.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@ -18,6 +19,10 @@ buildPythonPackage rec {
hash = "sha256-eft0ZQOd39T7k9By1u4NRcGsi/FZfwaG6hT9Q2Hbo3k=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
python-dateutil
];
@ -30,6 +35,8 @@ buildPythonPackage rec {
"test_07_non_posix_shell"
# doctest that assumes /tmp is writeable, awkward to patch
"test_03_usage"
# AssertionError: 4 != 0
"test_19_frequency_at_month"
];
pythonImportsCheck = [