diff --git a/lib/pytz/__init__.py b/lib/pytz/__init__.py index 4fdc9a7e..11d2e2ca 100644 --- a/lib/pytz/__init__.py +++ b/lib/pytz/__init__.py @@ -23,7 +23,7 @@ from pytz.tzfile import build_tzinfo # The IANA (nee Olson) database is updated several times a year. OLSON_VERSION = '2022g' -VERSION = '2022.7' # pip compatible version number. +VERSION = '2022.7.1' # pip compatible version number. __version__ = VERSION OLSEN_VERSION = OLSON_VERSION # Old releases had this misspelling @@ -202,9 +202,7 @@ def _case_insensitive_zone_lookup(zone): """case-insensitively matching timezone, else return zone unchanged""" global _all_timezones_lower_to_standard if _all_timezones_lower_to_standard is None: - global _all_timezones_unchecked _all_timezones_lower_to_standard = dict((tz.lower(), tz) for tz in _all_timezones_unchecked) # noqa - del _all_timezones_unchecked return _all_timezones_lower_to_standard.get(zone.lower()) or zone # noqa diff --git a/requirements.txt b/requirements.txt index 9aacb2e9..017ae555 100644 --- a/requirements.txt +++ b/requirements.txt @@ -35,7 +35,7 @@ PyJWT==2.6.0 pyparsing==3.0.9 python-dateutil==2.8.2 python-twitter==3.5 -pytz==2022.7 +pytz==2022.7.1 requests==2.28.2 requests-oauthlib==1.3.1 rumps==0.4.0; platform_system == "Darwin"