Update to 3.10.2

This commit is contained in:
Tomáš Hrnčiar 2022-01-17 08:43:27 +01:00
commit 41c4f95a61
4 changed files with 7 additions and 394 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}.1
%global general_version %{pybasever}.2
#global prerel ...
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 3%{?dist}
Release: 1%{?dist}
License: Python
@ -309,34 +309,6 @@ Patch328: 00328-pyc-timestamp-invalidation-mode.patch
# https://github.com/GrahamDumpleton/mod_wsgi/issues/730
Patch371: 00371-revert-bpo-1596321-fix-threading-_shutdown-for-the-main-thread-gh-28549-gh-28589.patch
# 00373 # 89f7a91bcd1c7227cb639667801e77de52f67b01
# bpo-46006: Revert "bpo-40521: Per-interpreter interned strings
#
# This reverts commit ea251806b8dffff11b30d2182af1e589caf88acf.
#
# Keep "assert(interned == NULL);" in _PyUnicode_Fini(), but only for
# the main interpreter.
#
# Keep _PyUnicode_ClearInterned() changes avoiding the creation of a
# temporary Python list object.
#
# Leave the PyInterpreterState structure unchanged to keep the ABI
# backward compatibility with Python 3.10.0: rename the "interned"
# member to "unused_interned".
#
# Fixes https://bugzilla.redhat.com/2030621
Patch373: 00373-bpo-46006-revert-bpo-40521-per-interpreter-interned-strings.patch
# 00374 # 2e91fe5327e83ff8fb21d343b01babb611ae2027
# bpo-46070: Fix asyncio initialisation guard
#
# If init flag is set, exit successfully immediately.
# If not, only set the flag after successful initialization.
#
#
# Fixes https://bugzilla.redhat.com/2034962
Patch374: 00374-bpo-46070-fix-asyncio-initialisation-guard.patch
# (New patches go here ^^^)
#
# When adding new patches to "python" and "python3" in Fedora, EL, etc.,
@ -1626,6 +1598,9 @@ CheckPython optimized
# ======================================================
%changelog
* Mon Jan 17 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.10.2-1
- Update to 3.10.2
* Mon Jan 10 2022 Miro Hrončok <mhroncok@redhat.com> - 3.10.1-3
- Backport fixes for two Python 3.10.1 regressions
- Fixes: rhbz#2030621