Skip to content

Commit 2a9ab98

Browse files
mceplbmwiedemann
mcepl
authored andcommitted
Update python39 to version 3.9.22 / rev 73 via SR 1269058
https://build.opensuse.org/request/show/1269058 by user mcepl + anag_factory - Update to 3.9.22: - gh-131809: Update bundled libexpat to 2.7.1 - gh-131261: Upgrade to libexpat 2.7.0 - gh-105704: When using urllib.parse.urlsplit() and urllib.parse.urlparse() host parsing would not reject domain names containing square brackets ([ and ]). Square brackets are only valid for IPv6 and IPvFuture hosts according to RFC 3986 Section 3.2.2 (bsc#1236705, CVE-2025-0938, gh#python/cpython#105704). - gh-121284: Fix bug in the folding of rfc2047 encoded-words when flattening an email message using a modern email policy. Previously when an encoded-word was too long for a line, it would be decoded, split across lines, and re-encoded. But commas and other special characters in the original text could be left unencoded and unquoted. Thi
1 parent 55d5712 commit 2a9ab98

12 files changed

+99
-149
lines changed

packages/p/python39/.files

-82 Bytes
Binary file not shown.

packages/p/python39/.rev

+37
Original file line numberDiff line numberDiff line change
@@ -1355,4 +1355,41 @@
13551355
</comment>
13561356
<requestid>1252712</requestid>
13571357
</revision>
1358+
<revision rev="73" vrev="1">
1359+
<srcmd5>0138b1bd2e1d0260628a4c92545aacd8</srcmd5>
1360+
<version>3.9.22</version>
1361+
<time>1744628338</time>
1362+
<user>anag_factory</user>
1363+
<comment>- Update to 3.9.22:
1364+
- gh-131809: Update bundled libexpat to 2.7.1
1365+
- gh-131261: Upgrade to libexpat 2.7.0
1366+
- gh-105704: When using urllib.parse.urlsplit() and
1367+
urllib.parse.urlparse() host parsing would not reject domain
1368+
names containing square brackets ([ and ]). Square brackets
1369+
are only valid for IPv6 and IPvFuture hosts according to RFC
1370+
3986 Section 3.2.2 (bsc#1236705, CVE-2025-0938,
1371+
gh#python/cpython#105704).
1372+
- gh-121284: Fix bug in the folding of rfc2047 encoded-words
1373+
when flattening an email message using a modern email
1374+
policy. Previously when an encoded-word was too long for
1375+
a line, it would be decoded, split across lines, and
1376+
re-encoded. But commas and other special characters in the
1377+
original text could be left unencoded and unquoted. This
1378+
could theoretically be used to spoof header lines using a
1379+
carefully constructed encoded-word if the resulting rendered
1380+
email was transmitted or re-parsed.
1381+
- gh-119511: Fix a potential denial of service in the imaplib
1382+
module. When connecting to a malicious server, it could
1383+
cause an arbitrary amount of memory to be allocated. On many
1384+
systems this is harmless as unused virtual memory is only
1385+
a mapping, but if this hit a virtual address size limit
1386+
it could lead to a MemoryError or other process crash. On
1387+
unusual systems or builds where all allocated memory is
1388+
touched and backed by actual ram or storage it could’ve
1389+
consumed resources doing so until similarly crashing.
1390+
- gh-121277: Writers of CPython’s documentation can now use
1391+
next as the version for the versionchanged, versionadded,
1392+
deprecated directives.</comment>
1393+
<requestid>1269058</requestid>
1394+
</revision>
13581395
</revisionlist>

packages/p/python39/98437-sphinx.locale._-as-gettext-in-pyspecific.patch

+13-9
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ Subject: [PATCH 1/2] fix(doc-tools): use sphinx.locale._ as gettext() for
1010
Misc/NEWS.d/next/Documentation/2022-10-19-07-15-52.gh-issue-98366.UskMXF.rst | 1 +
1111
2 files changed, 5 insertions(+), 4 deletions(-)
1212

13-
--- a/Doc/tools/extensions/pyspecific.py
14-
+++ b/Doc/tools/extensions/pyspecific.py
15-
@@ -26,7 +26,7 @@ try:
13+
Index: Python-3.9.22/Doc/tools/extensions/pyspecific.py
14+
===================================================================
15+
--- Python-3.9.22.orig/Doc/tools/extensions/pyspecific.py 2025-04-11 09:49:58.417019238 +0200
16+
+++ Python-3.9.22/Doc/tools/extensions/pyspecific.py 2025-04-11 09:50:56.818993764 +0200
17+
@@ -27,7 +27,7 @@
1618
from sphinx.errors import NoUri
1719
except ImportError:
1820
from sphinx.environment import NoUri
@@ -21,7 +23,7 @@ Subject: [PATCH 1/2] fix(doc-tools): use sphinx.locale._ as gettext() for
2123
from sphinx.util import status_iterator, logging
2224
from sphinx.util.nodes import split_explicit_title
2325
from sphinx.writers.text import TextWriter, TextTranslator
24-
@@ -110,7 +110,7 @@ class ImplementationDetail(Directive):
26+
@@ -111,7 +111,7 @@
2527

2628
def run(self):
2729
pnode = nodes.compound(classes=['impl-detail'])
@@ -30,7 +32,7 @@ Subject: [PATCH 1/2] fix(doc-tools): use sphinx.locale._ as gettext() for
3032
content = self.content
3133
add_text = nodes.strong(label, label)
3234
if self.arguments:
33-
@@ -179,7 +179,7 @@ class AuditEvent(Directive):
35+
@@ -180,7 +180,7 @@
3436
else:
3537
args = []
3638

@@ -39,16 +41,18 @@ Subject: [PATCH 1/2] fix(doc-tools): use sphinx.locale._ as gettext() for
3941
text = label.format(name="``{}``".format(name),
4042
args=", ".join("``{}``".format(a) for a in args if a))
4143

42-
@@ -358,7 +358,7 @@ class DeprecatedRemoved(Directive):
44+
@@ -380,7 +380,7 @@
4345
else:
4446
label = self._removed_label
4547

4648
- label = translators['sphinx'].gettext(label)
4749
+ label = sphinx_gettext(label)
48-
text = label.format(deprecated=self.arguments[0], removed=self.arguments[1])
50+
text = label.format(deprecated=version[0], removed=version[1])
4951
if len(self.arguments) == 3:
5052
inodes, messages = self.state.inline_text(self.arguments[2],
51-
--- /dev/null
52-
+++ b/Misc/NEWS.d/next/Documentation/2022-10-19-07-15-52.gh-issue-98366.UskMXF.rst
53+
Index: Python-3.9.22/Misc/NEWS.d/next/Documentation/2022-10-19-07-15-52.gh-issue-98366.UskMXF.rst
54+
===================================================================
55+
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
56+
+++ Python-3.9.22/Misc/NEWS.d/next/Documentation/2022-10-19-07-15-52.gh-issue-98366.UskMXF.rst 2025-04-11 09:50:08.952333342 +0200
5357
@@ -0,0 +1 @@
5458
+Use sphinx.locale._ as the gettext function in pyspecific.py.

packages/p/python39/CVE-2025-0938-sq-brackets-domain-names.patch

-127
This file was deleted.

packages/p/python39/Python-3.9.21.tar.xz

-1
This file was deleted.

packages/p/python39/Python-3.9.21.tar.xz.sigstore

-1
This file was deleted.
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/ipfs/bafybeidvdhwk4mv6hn6yq27gex3e25wejqfqbm4xch4vfinwa2jurixf2y

0 commit comments

Comments
 (0)