Package: release.debian.org Severity: normal Tags: trixie X-Debbugs-Cc: [email protected] Control: affects -1 + src:python-tz User: [email protected] Usertags: pu
python-tz (a python interface for timezones) hard-codes time-zone information. Changes in this update affecting timestamps from November 1st 2026: - Cuba will not fall back to -05 on 2026-11-01, instead maintaining -04 until 2027-11-07 This update also includes historical (1965/1966) corrections for Brazil. Low risk. Diff is mostly a data file and a patch that has changed offsets between versions. Debdiff marks the timezone files generated as different (binary files) [X] *all* changes are documented in the d/changelog [X] I reviewed all changes and I approve them [X] attach debdiff against the package in (old)stable [X] the issue is verified as fixed in unstable
diff -Nru python-tz-2026.5/debian/changelog python-tz-2026.6/debian/changelog --- python-tz-2026.5/debian/changelog 2026-10-06 15:22:32.000000000 +0100 +++ python-tz-2026.6/debian/changelog 2026-10-31 10:39:19.000000000 +0000 @@ -1,3 +1,9 @@ +python-tz (2026.6-1) unstable; urgency=medium + + * New upstream release + + -- Alastair McKinstry <[email protected]> Sat, 31 Oct 2026 10:39:19 +0000 + python-tz (2026.5-1) unstable; urgency=medium * New upstream release diff -Nru python-tz-2026.5/debian/patches/Determine-IANA-nee-Olson-database-version-dynamically.patch python-tz-2026.6/debian/patches/Determine-IANA-nee-Olson-database-version-dynamically.patch --- python-tz-2026.5/debian/patches/Determine-IANA-nee-Olson-database-version-dynamically.patch 2026-10-06 15:22:32.000000000 +0100 +++ python-tz-2026.6/debian/patches/Determine-IANA-nee-Olson-database-version-dynamically.patch 2026-10-31 10:39:19.000000000 +0000 @@ -19,7 +19,7 @@ from pytz.exceptions import AmbiguousTimeError from pytz.exceptions import InvalidTimeError -@@ -22,9 +23,17 @@ +@@ -22,9 +23,18 @@ from pytz.tzinfo import unpickler, BaseTzInfo from pytz.tzfile import build_tzinfo @@ -31,11 +31,12 @@ + if not match: + return "unknown" + return match.group(1) ++ # The IANA (nee Olson) database is updated several times a year. --OLSON_VERSION = '2026e' +-OLSON_VERSION = '2026f' +OLSON_VERSION = _read_olson_version() - VERSION = '2026.5' # pip compatible version number. + VERSION = '2026.6' # pip compatible version number. __version__ = VERSION --- a/pytz/tests/test_tzinfo.py diff -Nru python-tz-2026.5/PKG-INFO python-tz-2026.6/PKG-INFO --- python-tz-2026.5/PKG-INFO 2026-10-06 15:22:44.000000000 +0100 +++ python-tz-2026.6/PKG-INFO 2026-10-31 10:36:15.000000000 +0000 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pytz -Version: 2026.5 +Version: 2026.6 Summary: World timezone definitions, modern and historical Home-page: http://pythonhosted.org/pytz Download-URL: https://pypi.org/project/pytz/ diff -Nru python-tz-2026.5/pytz/__init__.py python-tz-2026.6/pytz/__init__.py --- python-tz-2026.5/pytz/__init__.py 2026-10-06 15:22:44.000000000 +0100 +++ python-tz-2026.6/pytz/__init__.py 2026-10-31 10:36:15.000000000 +0000 @@ -22,8 +22,8 @@ # The IANA (nee Olson) database is updated several times a year. -OLSON_VERSION = '2026e' -VERSION = '2026.5' # pip compatible version number. +OLSON_VERSION = '2026f' +VERSION = '2026.6' # pip compatible version number. __version__ = VERSION OLSEN_VERSION = OLSON_VERSION # Old releases had this misspelling diff -Nru python-tz-2026.5/pytz/tests/test_tzinfo.py python-tz-2026.6/pytz/tests/test_tzinfo.py --- python-tz-2026.5/pytz/tests/test_tzinfo.py 2026-10-06 15:22:44.000000000 +0100 +++ python-tz-2026.6/pytz/tests/test_tzinfo.py 2026-10-31 10:36:15.000000000 +0000 @@ -27,8 +27,8 @@ # I test for expected version to ensure the correct version of pytz is # actually being tested. -EXPECTED_VERSION = '2026.5' -EXPECTED_OLSON_VERSION = '2026e' +EXPECTED_VERSION = '2026.6' +EXPECTED_OLSON_VERSION = '2026f' fmt = '%Y-%m-%d %H:%M:%S %Z%z' Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/America/Araguaina and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/America/Araguaina differ Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/America/Bahia and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/America/Bahia differ Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/America/Belem and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/America/Belem differ Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/America/Boa_Vista and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/America/Boa_Vista differ Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/America/Campo_Grande and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/America/Campo_Grande differ Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/America/Cuiaba and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/America/Cuiaba differ Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/America/Eirunepe and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/America/Eirunepe differ Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/America/Fortaleza and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/America/Fortaleza differ Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/America/Havana and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/America/Havana differ Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/America/Maceio and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/America/Maceio differ Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/America/Manaus and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/America/Manaus differ Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/America/Noronha and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/America/Noronha differ Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/America/Porto_Acre and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/America/Porto_Acre differ Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/America/Porto_Velho and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/America/Porto_Velho differ Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/America/Recife and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/America/Recife differ Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/America/Rio_Branco and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/America/Rio_Branco differ Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/America/Santarem and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/America/Santarem differ Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/America/Sao_Paulo and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/America/Sao_Paulo differ Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/Brazil/Acre and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/Brazil/Acre differ Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/Brazil/DeNoronha and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/Brazil/DeNoronha differ Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/Brazil/East and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/Brazil/East differ Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/Brazil/West and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/Brazil/West differ Binary files /tmp/7GjQedyu6H/python-tz-2026.5/pytz/zoneinfo/Cuba and /tmp/ByGry6qYy5/python-tz-2026.6/pytz/zoneinfo/Cuba differ diff -Nru python-tz-2026.5/pytz/zoneinfo/leapseconds python-tz-2026.6/pytz/zoneinfo/leapseconds --- python-tz-2026.5/pytz/zoneinfo/leapseconds 2026-10-06 15:22:44.000000000 +0100 +++ python-tz-2026.6/pytz/zoneinfo/leapseconds 2026-10-31 10:36:15.000000000 +0000 @@ -1,4 +1,4 @@ -# Allowance for leap seconds added to each time zone file. +# Leap seconds (1972-2016) optionally added to TZif files. # This file is in the public domain. @@ -6,7 +6,7 @@ # NIST/IERS format leap-seconds.list file, which can be copied from # <https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list> # or via a less-secure protocol and with different comments and -# less volatile last-modified and expiration timestamps, from +# less volatile timestamp metadata, from # <ftp://ftp.boulder.nist.gov/pub/time/leap-seconds.list>. # For more about leap-seconds.list, please see # The NTP Timescale and Leap Seconds @@ -18,10 +18,8 @@ # (ITU-R) Recommendation TF.460-6 (02/2002) # <https://www.itu.int/rec/R-REC-TF.460-6-200202-I/>. # The International Earth Rotation and Reference Systems Service (IERS) -# periodically uses leap seconds to keep UTC to within 0.9 s of UT1 -# (a proxy for Earth's angle in space as measured by astronomers) -# and publishes leap second data in a copyrighted file -# <https://hpiers.obspm.fr/iers/bul/bulc/Leap_Second.dat>. +# periodically used leap seconds to keep UTC to within 0.9 s of UT1 +# (a proxy for Earth's angle in space as measured by astronomers). # See: Levine J. Coordinated Universal Time and the leap second. # URSI Radio Sci Bull. 2016;89(4):30-6. doi:10.23919/URSIRSB.2016.7909995 # <https://ieeexplore.ieee.org/document/7909995>. @@ -33,8 +31,8 @@ # of UTC. # All leap-seconds are Stationary (S) at the given UTC time. -# The correction (+ or -) is made at the given time, so in the unlikely -# event of a negative leap second, a line would look like this: +# The correction (+ or -) is made at the given time, so if a negative +# leap second had ever occurred, a line would have looked like this: # Leap YEAR MON DAY 23:59:59 - S # Typical lines look like this: # Leap YEAR MON DAY 23:59:60 + S @@ -67,8 +65,9 @@ Leap 2016 Dec 31 23:59:60 + S # UTC timestamp when this leap second list expires. -# Any additional leap seconds will come after this. -# This Expires line is commented out for now, +# The idea was that any additional leap seconds would come after this. +# This timestamp is obsolete as there will be no more leap seconds. +# This Expires line is commented out, to avoid confusion, and # so that pre-2020a zic implementations do not reject this file. #Expires 2027 Jun 28 00:00:00 @@ -76,10 +75,9 @@ # "#updated" gives the last time the leap seconds data changed # or, if this file was derived from the IERS leap-seconds.list, # the last time that file changed in any way. -# "#expires" gives the first time this file might be wrong; -# if this file was derived from the IERS leap-seconds.list, -# this is typically a bit less than one year after "updated". #updated 1783323897 (2026-07-06 07:44:57 UTC) +# "#expires" gives the first time this file might be wrong. +# This timestamp is obsolete as there will be no more leap seconds. #expires 1814140800 (2027-06-28 00:00:00 UTC) # Updated through IERS Bulletin C (https://hpiers.obspm.fr/iers/bul/bulc/bulletinc.dat) diff -Nru python-tz-2026.5/pytz/zoneinfo/tzdata.zi python-tz-2026.6/pytz/zoneinfo/tzdata.zi --- python-tz-2026.5/pytz/zoneinfo/tzdata.zi 2026-10-06 15:22:44.000000000 +0100 +++ python-tz-2026.6/pytz/zoneinfo/tzdata.zi 2026-10-31 10:36:15.000000000 +0000 @@ -1700,8 +1700,10 @@ R Q 2011 o - Mar Su>=15 0s 1 D R Q 2011 o - N 13 0s 0 S R Q 2012 o - Ap 1 0s 1 D -R Q 2012 ma - N Su>=1 0s 0 S -R Q 2013 ma - Mar Su>=8 0s 1 D +R Q 2012 2025 - N Su>=1 0s 0 S +R Q 2013 2026 - Mar Su>=8 0s 1 D +R Q 2027 ma - N Su>=1 0s 0 S +R Q 2028 ma - Mar Su>=8 0s 1 D R DO 1966 o - O 30 0 1 EDT R DO 1967 o - F 28 0 0 EST R DO 1969 1973 - O lastSu 0 0:30 -0430 @@ -1771,19 +1773,20 @@ R Sa 2008 2009 - Mar Su>=8 0 0 - R Sa 2007 2008 - O Su>=8 0 1 - R B 1931 o - O 3 11 1 - -R B 1932 1933 - Ap 1 0 0 - +R B 1932 1933 - Mar 31 24 0 - R B 1932 o - O 3 0 1 - R B 1949 1952 - D 1 0 1 - R B 1950 o - Ap 16 1 0 - -R B 1951 1952 - Ap 1 0 0 - -R B 1953 o - Mar 1 0 0 - +R B 1951 1952 - Mar 31 24 0 - +R B 1953 o - F 28 24 0 - R B 1963 o - D 9 0 1 - R B 1964 o - Mar 1 0 0 - R B 1965 o - Ja 31 0 1 - -R B 1965 o - Mar 31 0 0 - -R B 1965 o - D 1 0 1 - -R B 1966 1968 - Mar 1 0 0 - +R B 1965 o - Mar 31 24 0 - +R B 1965 o - N 30 24 1 - +R B 1966 o - Mar 1 1 0 - R B 1966 1967 - N 1 0 1 - +R B 1967 1968 - Mar 1 0 0 - R B 1985 o - N 2 0 1 - R B 1986 o - Mar 15 0 0 - R B 1986 o - O 25 0 1 - diff -Nru python-tz-2026.5/pytz.egg-info/PKG-INFO python-tz-2026.6/pytz.egg-info/PKG-INFO --- python-tz-2026.5/pytz.egg-info/PKG-INFO 2026-10-06 15:22:44.000000000 +0100 +++ python-tz-2026.6/pytz.egg-info/PKG-INFO 2026-10-31 10:36:15.000000000 +0000 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pytz -Version: 2026.5 +Version: 2026.6 Summary: World timezone definitions, modern and historical Home-page: http://pythonhosted.org/pytz Download-URL: https://pypi.org/project/pytz/

