Skip to content

Commit cec1319

Browse files
author
Alejandro Casanovas
committed
added tzdata as a requirement as noted in the ZoneInfo docs:
The zoneinfo module does not directly provide time zone data, and instead pulls time zone information from the system time zone database or the first-party PyPI package tzdata, if available. Some systems, including notably Windows systems, do not have an IANA database available, and so for projects targeting cross-platform compatibility that require time zone data, it is recommended to declare a dependency on tzdata. If neither system data nor tzdata are available, all calls to ZoneInfo will raise ZoneInfoNotFoundError.
1 parent de75eed commit cec1319

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ python-dateutil>=2.7
44
tzlocal>=5.0
55
beautifulsoup4>=4.0.0
66
stringcase>=1.2.0
7+
tzdata>=2023.4
78
Click>=7.0
89
pytest>=3.9.0
910
twine>=1.12.0

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ requests_oauthlib>=1.2.0
33
python-dateutil>=2.7
44
tzlocal>=5.0
55
beautifulsoup4>=4.0.0
6-
stringcase>=1.2.0
6+
stringcase>=1.2.0
7+
tzdata>=2023.4

0 commit comments

Comments
 (0)