python312Packages.whenever: refactor

This commit is contained in:
Fabian Affolter 2024-04-03 08:54:28 +02:00 committed by GitHub
parent 22558083a1
commit 9c79350876
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,18 +31,16 @@ buildPythonPackage rec {
--replace-fail '--benchmark-disable' '#--benchmark-disable'
'';
nativeBuildInputs = [
build-system = [
poetry-core
];
propagatedBuildInputs = [
dependencies = [
tzdata
] ++ lib.optionals (pythonOlder "3.9") [
backports-zoneinfo
];
pythonImportsCheck = [ "whenever" ];
nativeCheckInputs = [
pytestCheckHook
pytest-mypy-plugins
@ -50,6 +48,10 @@ buildPythonPackage rec {
freezegun
];
pythonImportsCheck = [
"whenever"
];
# early TDD, many tests are failing
# TODO: try enabling on bump
doCheck = false;