Skip to content

Commit 49cd2d2

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 cec1319 commit 49cd2d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ def read(fname):
3232
'python-dateutil>=2.7',
3333
'tzlocal>=5.0',
3434
'beautifulsoup4>=4.0.0',
35-
'stringcase>=1.2.0'
35+
'stringcase>=1.2.0',
36+
'tzdata>=2023.4'
3637
]
3738

3839
setup(

0 commit comments

Comments
 (0)