Skip to content

Commit 499c5d4

Browse files
authored
Revert "ENH: Add tzdata to hard dependencies" (#63290)
1 parent 4fffe40 commit 499c5d4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pandas/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
__docformat__ = "restructuredtext"
44

55
# Let users know if they're missing any of our hard dependencies
6-
_hard_dependencies = ("numpy", "dateutil", "tzdata")
6+
# except tzdata (see https://github.com/pandas-dev/pandas/issues/63264)
7+
_hard_dependencies = ("numpy", "dateutil")
78

89
for _dependency in _hard_dependencies:
910
try:

pandas/tests/test_downstream.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ def test_yaml_dump(df):
190190
tm.assert_frame_equal(df, loaded2)
191191

192192

193-
@pytest.mark.parametrize("dependency", ["numpy", "dateutil", "tzdata"])
193+
@pytest.mark.parametrize("dependency", ["numpy", "dateutil"])
194194
def test_missing_required_dependency(monkeypatch, dependency):
195-
# GH#61030, GH61273
195+
# GH#61030
196196
original_import = __import__
197197
mock_error = ImportError(f"Mock error for {dependency}")
198198

0 commit comments

Comments
 (0)