public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python3.12] f43: Update to Python 3.12.16
@ 2026-10-26 16:22 Karolina Surma
  0 siblings, 0 replies; only message in thread
From: Karolina Surma @ 2026-10-26 16:22 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python3.12
Branch : f43
Commit : 41bcf33af811bad3b7e5d8a1f6f9c8c8d93f9fc2
Author : Karolina Surma <ksurma@redhat.com>
Date   : 2026-10-26T17:20:22+01:00
Stats  : +23/-18 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/python3.12/c/41bcf33af811bad3b7e5d8a1f6f9c8c8d93f9fc2?branch=f43

Log:
Update to Python 3.12.16

---
diff --git a/00460-gh-132415-update-vendored-setuptools-in-lib-test-wheeldata.patch b/00460-gh-132415-update-vendored-setuptools-in-lib-test-wheeldata.patch
index d6c067b..03222a4 100644
--- a/00460-gh-132415-update-vendored-setuptools-in-lib-test-wheeldata.patch
+++ b/00460-gh-132415-update-vendored-setuptools-in-lib-test-wheeldata.patch
@@ -21,7 +21,7 @@ Co-Authored-By: Victor Stinner <vstinner@python.org>
  5 files changed, 6 insertions(+), 6 deletions(-)
 
 diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py
-index 1ee8ffc1b7..cab0f49366 100644
+index fb36d2adb4..ad48e83ce3 100644
 --- a/Lib/test/support/__init__.py
 +++ b/Lib/test/support/__init__.py
 @@ -2308,7 +2308,7 @@ def _findwheel(pkgname):

diff --git a/00462-fix-pyssl_seterror-handling-ssl_error_syscall.patch b/00462-fix-pyssl_seterror-handling-ssl_error_syscall.patch
index bdea401..5e3ba19 100644
--- a/00462-fix-pyssl_seterror-handling-ssl_error_syscall.patch
+++ b/00462-fix-pyssl_seterror-handling-ssl_error_syscall.patch
@@ -22,10 +22,10 @@ Co-authored-by: Petr Viktorin <encukou@gmail.com>
  create mode 100644 Misc/NEWS.d/next/Library/2024-02-18-09-50-31.gh-issue-115627.HGchj0.rst
 
 diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
-index ad2a0989a2..c05d369a29 100644
+index 95e6b7a2f5..0f828ded52 100644
 --- a/Lib/test/test_ssl.py
 +++ b/Lib/test/test_ssl.py
-@@ -2600,16 +2600,18 @@ def run(self):
+@@ -2637,16 +2637,18 @@ def run(self):
                          self.write(msg.lower())
                  except OSError as e:
                      # handles SSLError and socket errors
@@ -53,7 +53,7 @@ index ad2a0989a2..c05d369a29 100644
                      try:
                          self.write(b"ERROR\n")
                      except OSError:
-@@ -3321,8 +3323,8 @@ def test_wrong_cert_tls13(self):
+@@ -3358,8 +3360,8 @@ def test_wrong_cert_tls13(self):
                                          suppress_ragged_eofs=False) as s:
              s.connect((HOST, server.port))
              with self.assertRaisesRegex(
@@ -64,7 +64,7 @@ index ad2a0989a2..c05d369a29 100644
              ):
                  # TLS 1.3 perform client cert exchange after handshake
                  s.write(b'data')
-@@ -4595,8 +4597,8 @@ def msg_cb(conn, direction, version, content_type, msg_type, data):
+@@ -4632,8 +4634,8 @@ def msg_cb(conn, direction, version, content_type, msg_type, data):
                  # test sometimes fails with EOF error. Test passes as long as
                  # server aborts connection with an error.
                  with self.assertRaisesRegex(
@@ -84,10 +84,10 @@ index 0000000000..75d926ab59
 +Fix the :mod:`ssl` module error handling of connection terminate by peer.
 +It now throws an OSError with the appropriate error code instead of an EOFError.
 diff --git a/Modules/_ssl.c b/Modules/_ssl.c
-index 91ca1362d4..12117f42c0 100644
+index 57f3cb8dc7..143254b332 100644
 --- a/Modules/_ssl.c
 +++ b/Modules/_ssl.c
-@@ -573,7 +573,7 @@ PySSL_ChainExceptions(PySSLSocket *sslsock) {
+@@ -574,7 +574,7 @@ PySSL_ChainExceptions(PySSLSocket *sslsock) {
  }
  
  static PyObject *
@@ -96,7 +96,7 @@ index 91ca1362d4..12117f42c0 100644
  {
      PyObject *type;
      char *errstr = NULL;
-@@ -586,7 +586,6 @@ PySSL_SetError(PySSLSocket *sslsock, int ret, const char *filename, int lineno)
+@@ -587,7 +587,6 @@ PySSL_SetError(PySSLSocket *sslsock, int ret, const char *filename, int lineno)
      _sslmodulestate *state = get_state_sock(sslsock);
      type = state->PySSLErrorObject;
  
@@ -104,7 +104,7 @@ index 91ca1362d4..12117f42c0 100644
      e = ERR_peek_last_error();
  
      if (sslsock->ssl != NULL) {
-@@ -619,32 +618,21 @@ PySSL_SetError(PySSLSocket *sslsock, int ret, const char *filename, int lineno)
+@@ -620,32 +619,21 @@ PySSL_SetError(PySSLSocket *sslsock, int ret, const char *filename, int lineno)
          case SSL_ERROR_SYSCALL:
          {
              if (e == 0) {
@@ -149,7 +149,7 @@ index 91ca1362d4..12117f42c0 100644
                  }
              } else {
                  if (ERR_GET_LIB(e) == ERR_LIB_SSL &&
-@@ -1007,7 +995,7 @@ _ssl__SSLSocket_do_handshake_impl(PySSLSocket *self)
+@@ -1008,7 +996,7 @@ _ssl__SSLSocket_do_handshake_impl(PySSLSocket *self)
               err.ssl == SSL_ERROR_WANT_WRITE);
      Py_XDECREF(sock);
      if (ret < 1)
@@ -158,7 +158,7 @@ index 91ca1362d4..12117f42c0 100644
      if (PySSL_ChainExceptions(self) < 0)
          return NULL;
      Py_RETURN_NONE;
-@@ -2424,7 +2412,7 @@ _ssl__SSLSocket_write_impl(PySSLSocket *self, Py_buffer *b)
+@@ -2425,7 +2413,7 @@ _ssl__SSLSocket_write_impl(PySSLSocket *self, Py_buffer *b)
  
      Py_XDECREF(sock);
      if (retval == 0)
@@ -167,7 +167,7 @@ index 91ca1362d4..12117f42c0 100644
      if (PySSL_ChainExceptions(self) < 0)
          return NULL;
      return PyLong_FromSize_t(count);
-@@ -2454,7 +2442,7 @@ _ssl__SSLSocket_pending_impl(PySSLSocket *self)
+@@ -2455,7 +2443,7 @@ _ssl__SSLSocket_pending_impl(PySSLSocket *self)
      self->err = err;
  
      if (count < 0)
@@ -176,7 +176,7 @@ index 91ca1362d4..12117f42c0 100644
      else
          return PyLong_FromLong(count);
  }
-@@ -2577,7 +2565,7 @@ _ssl__SSLSocket_read_impl(PySSLSocket *self, Py_ssize_t len,
+@@ -2578,7 +2566,7 @@ _ssl__SSLSocket_read_impl(PySSLSocket *self, Py_ssize_t len,
               err.ssl == SSL_ERROR_WANT_WRITE);
  
      if (retval == 0) {
@@ -185,7 +185,7 @@ index 91ca1362d4..12117f42c0 100644
          goto error;
      }
      if (self->exc != NULL)
-@@ -2703,7 +2691,7 @@ _ssl__SSLSocket_shutdown_impl(PySSLSocket *self)
+@@ -2704,7 +2692,7 @@ _ssl__SSLSocket_shutdown_impl(PySSLSocket *self)
      }
      if (ret < 0) {
          Py_XDECREF(sock);

diff --git a/python3.12.spec b/python3.12.spec
index 93c7a76..63646d9 100644
--- a/python3.12.spec
+++ b/python3.12.spec
@@ -13,11 +13,11 @@ URL: https://www.python.org/
 
 #  WARNING  When rebasing to a new Python version,
 #           remember to update the python3-docs package as well
-%global general_version %{pybasever}.15
+%global general_version %{pybasever}.16
 #global prerel ...
 %global upstream_version %{general_version}%{?prerel}
 Version: %{general_version}%{?prerel:~%{prerel}}
-Release: 2%{?dist}
+Release: 1%{?dist}
 License: Python-2.0.1
 
 
@@ -1743,6 +1743,11 @@ CheckPython optimized
 # ======================================================
 
 %changelog
+* Mon Oct 26 2026 Karolina Surma <ksurma@redhat.com> - 3.12.16-1
+- Update to Python 3.12.16
+- CVE 2026-114583: tar filter allows writing outside destination via empty-named symlink
+- CVE 2026-115557: Distrust compromised intermediate certificates in ssl module
+
 * Thu Oct 15 2026 Miro Hrončok <miro@hroncok.cz> - 3.12.15-2
 - No longer support RPM wheels with setuptools.whl < 71, drop requirement on wheel.whl
 

diff --git a/sources b/sources
index 6205130..2dad311 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (Python-3.12.15.tar.xz) = def68bdc3e3aba4d285ae8b305c90f2319297b5a7b1888f582b3cef979bf7f43db0d3047b23312935904576982336f9f78506183b109f388905bf4db33e6abea
-SHA512 (Python-3.12.15.tar.xz.asc) = c985540a712f6bb1ea1bd74a68fe020735f57b74e14404dda0d30a16146c27464c828c356f9e6593d25e1dc142aa73cbb44bcd6bdc201791dcf46ba2593e2408
+SHA512 (Python-3.12.16.tar.xz) = adc13563d138248e5049e3d71f6497ff645e5fb3713fc14146fef8809608f447c7d205a6fa468434239504e56b9f826554e1a02c31c9e123e65b17030a7c2afc
+SHA512 (Python-3.12.16.tar.xz.asc) = f5c24f323877523c4a1e6cb2188ba1d116d9a59d31761297b67ffc06c129b253f5b6b472d2b0e3cb220a466665864a655a32a733ecaeba28b34c3c08573be494

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-26 16:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-26 16:22 [rpms/python3.12] f43: Update to Python 3.12.16 Karolina Surma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox