Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Commit e9a8e55

Browse files
committed
* Update to the 3.12 branch 2023-08-29.
- Add loongarch support. Addresses: #1049963. - Address CVE-2023-41105, CVE-2023-40217. * libpython3.12-stdlib: Depend on tzdata. Closes: #1050529. * Add proposed patch to avoid tzdata-legacy, and drop again the dependency on it. See python/cpython#108533.
1 parent e4569e6 commit e9a8e55

File tree

7 files changed

+84123
-12
lines changed

7 files changed

+84123
-12
lines changed

debian/changelog

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
1+
python3.12 (3.12.0~rc1-2) unstable; urgency=medium
2+
3+
* Update to the 3.12 branch 2023-08-29.
4+
- Add loongarch support. Addresses: #1049963.
5+
- Address CVE-2023-41105, CVE-2023-40217.
6+
* libpython3.12-stdlib: Depend on tzdata. Closes: #1050529.
7+
* Add proposed patch to avoid tzdata-legacy, and drop again the
8+
dependency on it. See https://github.com/python/cpython/pull/108533.
9+
10+
-- Matthias Klose <[email protected]> Tue, 29 Aug 2023 17:33:03 +0200
11+
112
python3.12 (3.12.0~rc1-1) unstable; urgency=medium
213

314
* Python 3.12.0 release candidate 1.
415
* Update symbols files.
516

6-
-- Matthias Klose <[email protected]> Wed, 09 Aug 2023 16:24:31 +0200
17+
-- Matthias Klose <[email protected]> Thu, 10 Aug 2023 06:02:50 +0200
718

819
python3.12 (3.12.0~b4-1) unstable; urgency=medium
920

debian/control

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Build-Depends: debhelper (>= 11), dpkg-dev (>= 1.17.11),
1515
libsqlite3-dev, libffi-dev (>= 3.0.5) [!or1k !avr32],
1616
libgpm2 [linux-any],
1717
media-types | mime-support, netbase, bzip2, time, python3:any, python3.12:any <cross>,
18-
net-tools, xvfb <!nocheck>, xauth <!nocheck>,
18+
net-tools, xvfb <!nocheck>, xauth <!nocheck>, tzdata <!nocheck>,
1919
systemtap-sdt-dev,
2020
valgrind-if-available,
2121
Build-Depends-Indep: python3-sphinx, python3-docs-theme, texinfo
@@ -30,7 +30,7 @@ Multi-Arch: allowed
3030
Priority: optional
3131
Depends: python3.12-minimal (= ${binary:Version}),
3232
libpython3.12-stdlib (= ${binary:Version}),
33-
media-types | mime-support,
33+
media-types | mime-support, tzdata,
3434
${shlibs:Depends}, ${misc:Depends}
3535
Recommends: ca-certificates
3636
Suggests: python3.12-venv, python3.12-doc, binutils

debian/control.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Build-Depends: debhelper (>= 11), @bd_dpkgdev@
1515
libsqlite3-dev, libffi-dev (>= 3.0.5) [!or1k !avr32],
1616
libgpm2 [linux-any],
1717
media-types | mime-support, netbase, bzip2, time, python3@bd_qual@, @PVER@@bd_qual@ <cross>,
18-
net-tools, xvfb <!nocheck>, xauth <!nocheck>,
18+
net-tools, xvfb <!nocheck>, xauth <!nocheck>, tzdata <!nocheck>,
1919
systemtap-sdt-dev,
2020
valgrind-if-available,
2121
Build-Depends-Indep: python3-sphinx, python3-docs-theme, texinfo
@@ -30,7 +30,7 @@ Multi-Arch: allowed
3030
Priority: @PRIO@
3131
Depends: @PVER@-minimal (= ${binary:Version}),
3232
lib@PVER@-stdlib (= ${binary:Version}),
33-
media-types | mime-support,
33+
media-types | mime-support, tzdata,
3434
${shlibs:Depends}, ${misc:Depends}
3535
Recommends: ca-certificates
3636
Suggests: @PVER@-venv, @PVER@-doc, binutils

debian/patches/108533.diff

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# DP: https://github.com/python/cpython/pull/108533
2+
3+
--- a/Lib/test/test_email/test_utils.py
4+
+++ b/Lib/test/test_email/test_utils.py
5+
@@ -148,7 +148,7 @@ def test_localtime_epoch_notz_daylight_false(self):
6+
@unittest.skipUnless(os.path.exists('/usr/share/zoneinfo') or
7+
os.path.exists('/usr/lib/zoneinfo'),
8+
"Can't find the Olson's TZ database")
9+
- @test.support.run_with_tz('Europe/Kiev')
10+
+ @test.support.run_with_tz('Europe/Kyiv')
11+
def test_variable_tzname(self):
12+
t0 = datetime.datetime(1984, 1, 1, tzinfo=datetime.timezone.utc)
13+
t1 = utils.localtime(t0)

0 commit comments

Comments
 (0)