python3Packages.meteofrance-api: adjust pytz constraint

This commit is contained in:
Fabian Affolter 2022-04-19 08:43:35 +02:00
parent d98ccca9b5
commit cfb5ca06db

View file

@ -43,6 +43,12 @@ buildPythonPackage rec {
requests-mock
];
postPatch = ''
# https://github.com/hacf-fr/meteofrance-api/pull/378
substituteInPlace pyproject.toml \
--replace 'pytz = ">=2020.4,<2022.0"' 'pytz = ">=2020.4,<2023.0"'
'';
pythonImportsCheck = [
"meteofrance_api"
];