python310Packages.eiswarnung: relax pytz constraint
This commit is contained in:
parent
fe2ecaf706
commit
74340a2569
1 changed files with 7 additions and 6 deletions
|
@ -25,6 +25,13 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-PVFAy34+UfNQNdzVdfvNiySrCTaKGuepnTINZYkOsuo=";
|
hash = "sha256-PVFAy34+UfNQNdzVdfvNiySrCTaKGuepnTINZYkOsuo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace '"0.0.0"' '"${version}"' \
|
||||||
|
--replace 'addopts = "--cov"' "" \
|
||||||
|
--replace 'pytz = "^2022.7.1"' 'pytz = "*"'
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
poetry-core
|
poetry-core
|
||||||
];
|
];
|
||||||
|
@ -41,12 +48,6 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace pyproject.toml \
|
|
||||||
--replace '"0.0.0"' '"${version}"' \
|
|
||||||
--replace 'addopts = "--cov"' ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"eiswarnung"
|
"eiswarnung"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue