diff --git a/pandas/__init__.py b/pandas/__init__.py index cc786d1141c48..371af85aa62c3 100644 --- a/pandas/__init__.py +++ b/pandas/__init__.py @@ -3,7 +3,8 @@ __docformat__ = "restructuredtext" # Let users know if they're missing any of our hard dependencies -_hard_dependencies = ("numpy", "dateutil", "tzdata") +# except tzdata (see https://github.com/pandas-dev/pandas/issues/63264) +_hard_dependencies = ("numpy", "dateutil") for _dependency in _hard_dependencies: try: diff --git a/pandas/tests/test_downstream.py b/pandas/tests/test_downstream.py index 02ead5bddec70..60b6537e11bac 100644 --- a/pandas/tests/test_downstream.py +++ b/pandas/tests/test_downstream.py @@ -190,9 +190,9 @@ def test_yaml_dump(df): tm.assert_frame_equal(df, loaded2) -@pytest.mark.parametrize("dependency", ["numpy", "dateutil", "tzdata"]) +@pytest.mark.parametrize("dependency", ["numpy", "dateutil"]) def test_missing_required_dependency(monkeypatch, dependency): - # GH#61030, GH61273 + # GH#61030 original_import = __import__ mock_error = ImportError(f"Mock error for {dependency}")