You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[tkloczko@pers-jacek dirty-equals-0.7.1]$ grep -r pytzdirty_equals/_datetime.py: Instantiate a `ZoneInfo` object from a string, falling back to `pytz.timezone` when `ZoneInfo` is not availabledirty_equals/_datetime.py: import pytzdirty_equals/_datetime.py: raise ImportError('`pytz` or `zoneinfo` required for tz handling') from edirty_equals/_datetime.py: return pytz.timezone(tz) # type: ignore[return-value]dirty_equals/_datetime.py: (or `pytz.timezone` on 3.8) to get a timezone,requirements/linting.in:types-pytzrequirements/linting.txt:types-pytz==2023.3.1.1requirements/tests.in:pytzrequirements/tests.txt:pytz==2023.3.post1tests/test_datetime.py:import pytztests/test_datetime.py: pytz.timezone('Europe/London').localize(datetime(2022, 2, 15, 15, 15)),tests/test_datetime.py: approx=pytz.timezone('America/New_York').localize(datetime(2022, 2, 15, 10, 15)), enforce_tz=Falsetests/test_datetime.py: pytz.timezone('Europe/London').localize(datetime(2022, 2, 15, 15, 15)),tests/test_datetime.py: IsDatetime(approx=pytz.timezone('America/New_York').localize(datetime(2022, 2, 15, 10, 15))),
The text was updated successfully, but these errors were encountered:
Switch to standard
zoneinfo
module.Below may help pydantic/pydantic-core@fd262933
The text was updated successfully, but these errors were encountered: