Backport fixes for two Python 3.10.1 regressions
Fixes https://bugzilla.redhat.com/2030621 Fixes https://bugzilla.redhat.com/2034962
This commit is contained in:
parent
7c6eb17d2b
commit
2b285dee4e
3 changed files with 396 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ URL: https://www.python.org/
|
|||
#global prerel ...
|
||||
%global upstream_version %{general_version}%{?prerel}
|
||||
Version: %{general_version}%{?prerel:~%{prerel}}
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: Python
|
||||
|
||||
|
||||
|
|
@ -309,6 +309,34 @@ 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.,
|
||||
|
|
@ -1598,6 +1626,11 @@ CheckPython optimized
|
|||
# ======================================================
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
- Fixes: rhbz#2034962
|
||||
|
||||
* Thu Dec 09 2021 Miro Hrončok <mhroncok@redhat.com> - 3.10.1-2
|
||||
- Instruct pip to use distutils
|
||||
- Instruct pypa/distutils to add /local/ addition to prefix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue