Bump pytz from 2022.6 to 2022.7 (#1934)

* Bump pytz from 2022.6 to 2022.7

Bumps [pytz](https://github.com/stub42/pytz) from 2022.6 to 2022.7.
- [Release notes](https://github.com/stub42/pytz/releases)
- [Commits](https://github.com/stub42/pytz/compare/release_2022.6...release_2022.7)

---
updated-dependencies:
- dependency-name: pytz
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update pytz==2022.7

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>

[skip ci]
This commit is contained in:
dependabot[bot] 2022-12-21 16:02:40 -08:00 committed by GitHub
parent 8159bf456c
commit 4398ece2da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 67 additions and 53 deletions

View file

@ -22,8 +22,8 @@ from pytz.tzfile import build_tzinfo
# The IANA (nee Olson) database is updated several times a year. # The IANA (nee Olson) database is updated several times a year.
OLSON_VERSION = '2022f' OLSON_VERSION = '2022g'
VERSION = '2022.6' # pip compatible version number. VERSION = '2022.7' # pip compatible version number.
__version__ = VERSION __version__ = VERSION
OLSEN_VERSION = OLSON_VERSION # Old releases had this misspelling OLSEN_VERSION = OLSON_VERSION # Old releases had this misspelling
@ -202,7 +202,9 @@ def _case_insensitive_zone_lookup(zone):
"""case-insensitively matching timezone, else return zone unchanged""" """case-insensitively matching timezone, else return zone unchanged"""
global _all_timezones_lower_to_standard global _all_timezones_lower_to_standard
if _all_timezones_lower_to_standard is None: if _all_timezones_lower_to_standard is None:
_all_timezones_lower_to_standard = dict((tz.lower(), tz) for tz in all_timezones) # noqa 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 return _all_timezones_lower_to_standard.get(zone.lower()) or zone # noqa
@ -514,7 +516,7 @@ def _test():
if __name__ == '__main__': if __name__ == '__main__':
_test() _test()
all_timezones = \ _all_timezones_unchecked = \
['Africa/Abidjan', ['Africa/Abidjan',
'Africa/Accra', 'Africa/Accra',
'Africa/Addis_Ababa', 'Africa/Addis_Ababa',
@ -610,6 +612,7 @@ all_timezones = \
'America/Cayman', 'America/Cayman',
'America/Chicago', 'America/Chicago',
'America/Chihuahua', 'America/Chihuahua',
'America/Ciudad_Juarez',
'America/Coral_Harbour', 'America/Coral_Harbour',
'America/Cordoba', 'America/Cordoba',
'America/Costa_Rica', 'America/Costa_Rica',
@ -1111,7 +1114,7 @@ all_timezones = \
'WET', 'WET',
'Zulu'] 'Zulu']
all_timezones = LazyList( all_timezones = LazyList(
tz for tz in all_timezones if resource_exists(tz)) tz for tz in _all_timezones_unchecked if resource_exists(tz))
all_timezones_set = LazySet(all_timezones) all_timezones_set = LazySet(all_timezones)
common_timezones = \ common_timezones = \
@ -1204,6 +1207,7 @@ common_timezones = \
'America/Cayman', 'America/Cayman',
'America/Chicago', 'America/Chicago',
'America/Chihuahua', 'America/Chihuahua',
'America/Ciudad_Juarez',
'America/Costa_Rica', 'America/Costa_Rica',
'America/Creston', 'America/Creston',
'America/Cuiaba', 'America/Cuiaba',
@ -1275,7 +1279,6 @@ common_timezones = \
'America/Nuuk', 'America/Nuuk',
'America/Ojinaga', 'America/Ojinaga',
'America/Panama', 'America/Panama',
'America/Pangnirtung',
'America/Paramaribo', 'America/Paramaribo',
'America/Phoenix', 'America/Phoenix',
'America/Port-au-Prince', 'America/Port-au-Prince',

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -3,13 +3,13 @@
# This file is in the public domain, so clarified as of # This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson. # 2009-05-17 by Arthur David Olson.
# #
# From Paul Eggert (2015-05-02): # From Paul Eggert (2022-11-18):
# This file contains a table of two-letter country codes. Columns are # This file contains a table of two-letter country codes. Columns are
# separated by a single tab. Lines beginning with '#' are comments. # separated by a single tab. Lines beginning with '#' are comments.
# All text uses UTF-8 encoding. The columns of the table are as follows: # All text uses UTF-8 encoding. The columns of the table are as follows:
# #
# 1. ISO 3166-1 alpha-2 country code, current as of # 1. ISO 3166-1 alpha-2 country code, current as of
# ISO 3166-1 N976 (2018-11-06). See: Updates on ISO 3166-1 # ISO 3166-1 N1087 (2022-09-02). See: Updates on ISO 3166-1
# https://isotc.iso.org/livelink/livelink/Open/16944257 # https://isotc.iso.org/livelink/livelink/Open/16944257
# 2. The usual English name for the coded region, # 2. The usual English name for the coded region,
# chosen so that alphabetic sorting of subsets produces helpful lists. # chosen so that alphabetic sorting of subsets produces helpful lists.
@ -238,7 +238,7 @@ SY Syria
SZ Eswatini (Swaziland) SZ Eswatini (Swaziland)
TC Turks & Caicos Is TC Turks & Caicos Is
TD Chad TD Chad
TF French Southern & Antarctic Lands TF French Southern Territories
TG Togo TG Togo
TH Thailand TH Thailand
TJ Tajikistan TJ Tajikistan

View file

@ -1040,7 +1040,7 @@ Z Asia/Singapore 6:55:25 - LMT 1901
7:20 - +0720 1941 S 7:20 - +0720 1941 S
7:30 - +0730 1942 F 16 7:30 - +0730 1942 F 16
9 - +09 1945 S 12 9 - +09 1945 S 12
7:30 - +0730 1982 7:30 - +0730 1981 D 31 16u
8 - +08 8 - +08
Z Asia/Colombo 5:19:24 - LMT 1880 Z Asia/Colombo 5:19:24 - LMT 1880
5:19:32 - MMT 1906 5:19:32 - MMT 1906
@ -1754,7 +1754,8 @@ Z America/Scoresbysund -1:27:52 - LMT 1916 Jul 28
-1 E -01/+00 -1 E -01/+00
Z America/Nuuk -3:26:56 - LMT 1916 Jul 28 Z America/Nuuk -3:26:56 - LMT 1916 Jul 28
-3 - -03 1980 Ap 6 2 -3 - -03 1980 Ap 6 2
-3 E -03/-02 -3 E -03/-02 2023 Mar 25 22
-2 - -02
Z America/Thule -4:35:8 - LMT 1916 Jul 28 Z America/Thule -4:35:8 - LMT 1916 Jul 28
-4 Th A%sT -4 Th A%sT
Z Europe/Tallinn 1:39 - LMT 1880 Z Europe/Tallinn 1:39 - LMT 1880
@ -3044,16 +3045,11 @@ R Y 1919 o - N 1 0 0 S
R Y 1942 o - F 9 2 1 W R Y 1942 o - F 9 2 1 W
R Y 1945 o - Au 14 23u 1 P R Y 1945 o - Au 14 23u 1 P
R Y 1945 o - S 30 2 0 S R Y 1945 o - S 30 2 0 S
R Y 1965 o - Ap lastSu 0 2 DD R Y 1972 1986 - Ap lastSu 2 1 D
R Y 1965 o - O lastSu 2 0 S R Y 1972 2006 - O lastSu 2 0 S
R Y 1980 1986 - Ap lastSu 2 1 D
R Y 1980 2006 - O lastSu 2 0 S
R Y 1987 2006 - Ap Su>=1 2 1 D R Y 1987 2006 - Ap Su>=1 2 1 D
Z America/Pangnirtung 0 - -00 1921 R Yu 1965 o - Ap lastSu 0 2 DD
-4 Y A%sT 1995 Ap Su>=1 2 R Yu 1965 o - O lastSu 2 0 S
-5 C E%sT 1999 O 31 2
-6 C C%sT 2000 O 29 2
-5 C E%sT
Z America/Iqaluit 0 - -00 1942 Au Z America/Iqaluit 0 - -00 1942 Au
-5 Y E%sT 1999 O 31 2 -5 Y E%sT 1999 O 31 2
-6 C C%sT 2000 O 29 2 -6 C C%sT 2000 O 29 2
@ -3082,13 +3078,15 @@ Z America/Inuvik 0 - -00 1953
-7 Y M%sT 1980 -7 Y M%sT 1980
-7 C M%sT -7 C M%sT
Z America/Whitehorse -9:0:12 - LMT 1900 Au 20 Z America/Whitehorse -9:0:12 - LMT 1900 Au 20
-9 Y Y%sT 1967 May 28 -9 Y Y%sT 1965
-8 Y P%sT 1980 -9 Yu Y%sT 1966 F 27
-8 - PST 1980
-8 C P%sT 2020 N -8 C P%sT 2020 N
-7 - MST -7 - MST
Z America/Dawson -9:17:40 - LMT 1900 Au 20 Z America/Dawson -9:17:40 - LMT 1900 Au 20
-9 Y Y%sT 1973 O 28 -9 Y Y%sT 1965
-8 Y P%sT 1980 -9 Yu Y%sT 1973 O 28
-8 - PST 1980
-8 C P%sT 2020 N -8 C P%sT 2020 N
-7 - MST -7 - MST
R m 1931 o - May 1 23 1 D R m 1931 o - May 1 23 1 D
@ -3132,6 +3130,17 @@ Z America/Mexico_City -6:36:36 - LMT 1922 Ja 1 7u
-6 m C%sT 2001 S 30 2 -6 m C%sT 2001 S 30 2
-6 - CST 2002 F 20 -6 - CST 2002 F 20
-6 m C%sT -6 m C%sT
Z America/Ciudad_Juarez -7:5:56 - LMT 1922 Ja 1 7u
-7 - MST 1927 Jun 10 23
-6 - CST 1930 N 15
-7 m M%sT 1932 Ap
-6 - CST 1996
-6 m C%sT 1998
-6 - CST 1998 Ap Su>=1 3
-7 m M%sT 2010
-7 u M%sT 2022 O 30 2
-6 - CST 2022 N 30
-7 u M%sT
Z America/Ojinaga -6:57:40 - LMT 1922 Ja 1 7u Z America/Ojinaga -6:57:40 - LMT 1922 Ja 1 7u
-7 - MST 1927 Jun 10 23 -7 - MST 1927 Jun 10 23
-6 - CST 1930 N 15 -6 - CST 1930 N 15
@ -3141,7 +3150,8 @@ Z America/Ojinaga -6:57:40 - LMT 1922 Ja 1 7u
-6 - CST 1998 Ap Su>=1 3 -6 - CST 1998 Ap Su>=1 3
-7 m M%sT 2010 -7 m M%sT 2010
-7 u M%sT 2022 O 30 2 -7 u M%sT 2022 O 30 2
-6 - CST -6 - CST 2022 N 30
-6 u C%sT
Z America/Chihuahua -7:4:20 - LMT 1922 Ja 1 7u Z America/Chihuahua -7:4:20 - LMT 1922 Ja 1 7u
-7 - MST 1927 Jun 10 23 -7 - MST 1927 Jun 10 23
-6 - CST 1930 N 15 -6 - CST 1930 N 15
@ -3771,7 +3781,7 @@ Z Antarctica/Palmer 0 - -00 1965
-4 x -04/-03 2016 D 4 -4 x -04/-03 2016 D 4
-3 - -03 -3 - -03
R CO 1992 o - May 3 0 1 - R CO 1992 o - May 3 0 1 -
R CO 1993 o - Ap 4 0 0 - R CO 1993 o - F 6 24 0 -
Z America/Bogota -4:56:16 - LMT 1884 Mar 13 Z America/Bogota -4:56:16 - LMT 1884 Mar 13
-4:56:16 - BMT 1914 N 23 -4:56:16 - BMT 1914 N 23
-5 CO -05/-04 -5 CO -05/-04
@ -4154,6 +4164,7 @@ L America/Tijuana America/Ensenada
L America/Indiana/Indianapolis America/Fort_Wayne L America/Indiana/Indianapolis America/Fort_Wayne
L America/Toronto America/Montreal L America/Toronto America/Montreal
L America/Toronto America/Nipigon L America/Toronto America/Nipigon
L America/Iqaluit America/Pangnirtung
L America/Rio_Branco America/Porto_Acre L America/Rio_Branco America/Porto_Acre
L America/Winnipeg America/Rainy_River L America/Winnipeg America/Rainy_River
L America/Argentina/Cordoba America/Rosario L America/Argentina/Cordoba America/Rosario

View file

@ -114,8 +114,7 @@ CA +4606-06447 America/Moncton Atlantic - New Brunswick
CA +5320-06025 America/Goose_Bay Atlantic - Labrador (most areas) CA +5320-06025 America/Goose_Bay Atlantic - Labrador (most areas)
CA +5125-05707 America/Blanc-Sablon AST - QC (Lower North Shore) CA +5125-05707 America/Blanc-Sablon AST - QC (Lower North Shore)
CA +4339-07923 America/Toronto Eastern - ON, QC (most areas) CA +4339-07923 America/Toronto Eastern - ON, QC (most areas)
CA +6344-06828 America/Iqaluit Eastern - NU (most east areas) CA +6344-06828 America/Iqaluit Eastern - NU (most areas)
CA +6608-06544 America/Pangnirtung Eastern - NU (Pangnirtung)
CA +484531-0913718 America/Atikokan EST - ON (Atikokan); NU (Coral H) CA +484531-0913718 America/Atikokan EST - ON (Atikokan); NU (Coral H)
CA +4953-09709 America/Winnipeg Central - ON (west); Manitoba CA +4953-09709 America/Winnipeg Central - ON (west); Manitoba
CA +744144-0944945 America/Resolute Central - NU (Resolute) CA +744144-0944945 America/Resolute Central - NU (Resolute)
@ -277,17 +276,18 @@ MT +3554+01431 Europe/Malta
MU -2010+05730 Indian/Mauritius MU -2010+05730 Indian/Mauritius
MV +0410+07330 Indian/Maldives MV +0410+07330 Indian/Maldives
MW -1547+03500 Africa/Blantyre MW -1547+03500 Africa/Blantyre
MX +1924-09909 America/Mexico_City Central Time MX +1924-09909 America/Mexico_City Central Mexico
MX +2105-08646 America/Cancun Eastern Standard Time - Quintana Roo MX +2105-08646 America/Cancun Quintana Roo
MX +2058-08937 America/Merida Central Time - Campeche, Yucatan MX +2058-08937 America/Merida Campeche, Yucatan
MX +2540-10019 America/Monterrey Central Time - Durango; Coahuila, Nuevo Leon, Tamaulipas (most areas) MX +2540-10019 America/Monterrey Durango; Coahuila, Nuevo Leon, Tamaulipas (most areas)
MX +2550-09730 America/Matamoros Central Time US - Coahuila, Nuevo Leon, Tamaulipas (US border) MX +2550-09730 America/Matamoros Coahuila, Nuevo Leon, Tamaulipas (US border)
MX +2313-10625 America/Mazatlan Mountain Time - Baja California Sur, Nayarit, Sinaloa MX +2838-10605 America/Chihuahua Chihuahua (most areas)
MX +2838-10605 America/Chihuahua Mountain Time - Chihuahua (most areas) MX +3144-10629 America/Ciudad_Juarez Chihuahua (US border - west)
MX +2934-10425 America/Ojinaga Mountain Time US - Chihuahua (US border) MX +2934-10425 America/Ojinaga Chihuahua (US border - east)
MX +2904-11058 America/Hermosillo Mountain Standard Time - Sonora MX +2313-10625 America/Mazatlan Baja California Sur, Nayarit (most areas), Sinaloa
MX +3232-11701 America/Tijuana Pacific Time US - Baja California MX +2048-10515 America/Bahia_Banderas Bahia de Banderas
MX +2048-10515 America/Bahia_Banderas Central Time - Bahia de Banderas MX +2904-11058 America/Hermosillo Sonora
MX +3232-11701 America/Tijuana Baja California
MY +0310+10142 Asia/Kuala_Lumpur Malaysia (peninsula) MY +0310+10142 Asia/Kuala_Lumpur Malaysia (peninsula)
MY +0133+11020 Asia/Kuching Sabah, Sarawak MY +0133+11020 Asia/Kuching Sabah, Sarawak
MZ -2558+03235 Africa/Maputo MZ -2558+03235 Africa/Maputo

View file

@ -102,8 +102,7 @@ CA +4612-05957 America/Glace_Bay Atlantic - NS (Cape Breton)
CA +4606-06447 America/Moncton Atlantic - New Brunswick CA +4606-06447 America/Moncton Atlantic - New Brunswick
CA +5320-06025 America/Goose_Bay Atlantic - Labrador (most areas) CA +5320-06025 America/Goose_Bay Atlantic - Labrador (most areas)
CA,BS +4339-07923 America/Toronto Eastern - ON, QC (most areas), Bahamas CA,BS +4339-07923 America/Toronto Eastern - ON, QC (most areas), Bahamas
CA +6344-06828 America/Iqaluit Eastern - NU (most east areas) CA +6344-06828 America/Iqaluit Eastern - NU (most areas)
CA +6608-06544 America/Pangnirtung Eastern - NU (Pangnirtung)
CA +4953-09709 America/Winnipeg Central - ON (west); Manitoba CA +4953-09709 America/Winnipeg Central - ON (west); Manitoba
CA +744144-0944945 America/Resolute Central - NU (Resolute) CA +744144-0944945 America/Resolute Central - NU (Resolute)
CA +624900-0920459 America/Rankin_Inlet Central - NU (central) CA +624900-0920459 America/Rankin_Inlet Central - NU (central)
@ -214,17 +213,18 @@ MQ +1436-06105 America/Martinique
MT +3554+01431 Europe/Malta MT +3554+01431 Europe/Malta
MU -2010+05730 Indian/Mauritius MU -2010+05730 Indian/Mauritius
MV,TF +0410+07330 Indian/Maldives Maldives, Kerguelen, St Paul I, Amsterdam I MV,TF +0410+07330 Indian/Maldives Maldives, Kerguelen, St Paul I, Amsterdam I
MX +1924-09909 America/Mexico_City Central Time MX +1924-09909 America/Mexico_City Central Mexico
MX +2105-08646 America/Cancun Eastern Standard Time - Quintana Roo MX +2105-08646 America/Cancun Quintana Roo
MX +2058-08937 America/Merida Central Time - Campeche, Yucatán MX +2058-08937 America/Merida Campeche, Yucatán
MX +2540-10019 America/Monterrey Central Time - Durango; Coahuila, Nuevo León, Tamaulipas (most areas) MX +2540-10019 America/Monterrey Durango; Coahuila, Nuevo León, Tamaulipas (most areas)
MX +2550-09730 America/Matamoros Central Time US - Coahuila, Nuevo León, Tamaulipas (US border) MX +2550-09730 America/Matamoros Coahuila, Nuevo León, Tamaulipas (US border)
MX +2313-10625 America/Mazatlan Mountain Time - Baja California Sur, Nayarit, Sinaloa MX +2838-10605 America/Chihuahua Chihuahua (most areas)
MX +2838-10605 America/Chihuahua Mountain Time - Chihuahua (most areas) MX +3144-10629 America/Ciudad_Juarez Chihuahua (US border - west)
MX +2934-10425 America/Ojinaga Mountain Time US - Chihuahua (US border) MX +2934-10425 America/Ojinaga Chihuahua (US border - east)
MX +2904-11058 America/Hermosillo Mountain Standard Time - Sonora MX +2313-10625 America/Mazatlan Baja California Sur, Nayarit (most areas), Sinaloa
MX +3232-11701 America/Tijuana Pacific Time US - Baja California MX +2048-10515 America/Bahia_Banderas Bahía de Banderas
MX +2048-10515 America/Bahia_Banderas Central Time - Bahía de Banderas MX +2904-11058 America/Hermosillo Sonora
MX +3232-11701 America/Tijuana Baja California
MY,BN +0133+11020 Asia/Kuching Sabah, Sarawak, Brunei MY,BN +0133+11020 Asia/Kuching Sabah, Sarawak, Brunei
MZ,BI,BW,CD,MW,RW,ZM,ZW -2558+03235 Africa/Maputo Central Africa Time MZ,BI,BW,CD,MW,RW,ZM,ZW -2558+03235 Africa/Maputo Central Africa Time
NA -2234+01706 Africa/Windhoek NA -2234+01706 Africa/Windhoek

View file

@ -34,7 +34,7 @@ PyJWT==2.6.0
pyparsing==3.0.9 pyparsing==3.0.9
python-dateutil==2.8.2 python-dateutil==2.8.2
python-twitter==3.5 python-twitter==3.5
pytz==2022.6 pytz==2022.7
requests==2.28.1 requests==2.28.1
requests-oauthlib==1.3.1 requests-oauthlib==1.3.1
rumps==0.4.0; platform_system == "Darwin" rumps==0.4.0; platform_system == "Darwin"