Skip to content

Commit 9b63b98

Browse files
Debian Science Teamrebecca-palmer
authored andcommitted
Don't require python3-tzdata
Author: Rebecca N. Palmer <[email protected]> Bug-Debian: https://bugs.debian.org/1043968 Forwarded: no Gbp-Pq: Name accept_system_tzdata.patch
1 parent 38a6287 commit 9b63b98

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

pandas/_libs/tslibs/timezones.pyx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ cdef bint is_utc_zoneinfo(tzinfo tz):
6565
utc_zoneinfo = ZoneInfo("UTC")
6666
except zoneinfo.ZoneInfoNotFoundError:
6767
return False
68-
# Warn if tzdata is too old, even if there is a system tzdata to alert
69-
# users about the mismatch between local/system tzdata
70-
import_optional_dependency("tzdata", errors="warn", min_version="2022.7")
7168

7269
return tz is utc_zoneinfo
7370

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ dependencies = [
3131
"numpy>=1.23.2; python_version=='3.11'",
3232
"numpy>=1.26.0; python_version>='3.12'",
3333
"python-dateutil>=2.8.2",
34-
"pytz>=2020.1",
35-
"tzdata>=2022.7"
34+
"pytz>=2020.1"
3635
]
3736
classifiers = [
3837
'Development Status :: 5 - Production/Stable',

0 commit comments

Comments
 (0)