Merge pull request #301140 from r-ryantm/auto-update/python312Packages.whenever

python312Packages.whenever: 0.5.0 -> 0.5.1
This commit is contained in:
Peder Bergebakken Sundt
2024-04-03 13:53:28 +02:00
committed by GitHub
@@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "whenever";
version = "0.5.0";
version = "0.5.1";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "ariebovenberg";
repo = "whenever";
rev = "refs/tags/${version}";
hash = "sha256-5Ik9+i5T5ztb+2zqFZ+SBmrZFLDxji66e3lK0z2w92c=";
hash = "sha256-RH2614M91zYULNTQsr6JoKfxlnGyAJsCkB7oeiz7urs=";
};
postPatch = ''
@@ -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;