Update to 3.10.18

This commit is contained in:
Tomáš Hrnčiar 2025-06-04 09:39:00 +02:00
commit 6c238008d1
3 changed files with 7 additions and 99 deletions

View file

@ -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}.17
%global general_version %{pybasever}.18
#global prerel ...
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 3%{?dist}
Release: 1%{?dist}
License: Python-2.0.1
@ -333,21 +333,6 @@ Patch371: 00371-revert-bpo-1596321-fix-threading-_shutdown-for-the-main-thread-g
# even when cross-compiling.
Patch452: 00452-properly-apply-exported-cflags-for-dtrace-systemtap-builds.patch
# 00458 # ee47b2530c18d1e0b414f5a0738ddce28e7510f4
# test_ssl: Don't stop ThreadedEchoServer on OSError in ConnectionHandler
#
# If `read()` in the ConnectionHandler thread raises `OSError` (except `ConnectionError`),
# the ConnectionHandler shuts down the entire ThreadedEchoServer,
# preventing further connections.
# It also does that for `EPROTOTYPE` in `wrap_conn`.
#
# Make sure that the context manager *is* used, and remove the `server.stop()`
# calls from ConnectionHandler.
#
# Backported from 3.12+:
# https://github.com/python/cpython/pull/126503
Patch458: 00458-test_ssl-don-t-stop-threadedechoserver-on-oserror-in-connectionhandler.patch
# 00462 # f0db87ee65704fa5545ea25f2cca8c43fc639fab
# Fix PySSL_SetError handling SSL_ERROR_SYSCALL
#
@ -1647,6 +1632,9 @@ CheckPython optimized
# ======================================================
%changelog
* Wed Jun 04 2025 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.10.18-1
- Update to 3.10.18
* Tue May 13 2025 Charalampos Stratakis <cstratak@redhat.com> - 3.10.17-3
- Fix PySSL_SetError handling SSL_ERROR_SYSCALL
- This fixes random flakiness of test_ssl on stressed machines