Require pytz only in Python < 3.9

ptyz is no longer required in Python >= 3.9 in favor of zoneinfo.

Also tzdata was added to requirements as a runtime dependency of
zoneinfo, which is only available in Python >= 3.9 and is not required
in Python 3.8.

Depends-on: https://review.opendev.org/c/openstack/requirements/+/901119
Change-Id: I9ab39a8d394c7063a33c699d277c7f4ed2151767
This commit is contained in:
Takashi Kajinami 2023-10-07 11:58:12 +09:00
parent 505d80e557
commit 569296d389

View File

@ -5,11 +5,11 @@
iso8601>=0.1.11 # MIT
oslo.i18n>=3.15.3 # Apache-2.0
pytz>=2013.6 # MIT
pytz>=2013.6;python_version<"3.9" # MIT
netaddr>=0.7.18 # BSD
netifaces>=0.10.4 # MIT
debtcollector>=1.2.0 # Apache-2.0
pyparsing>=2.1.0 # MIT
packaging>=20.4 # BSD
tzdata>=2022.4 # MIT
tzdata>=2022.4;python_version>="3.9" # MIT
PyYAML>=3.13 # MIT