Backport upstream patch to add PyType_GetDict() function

This commit is contained in:
Tomáš Hrnčiar 2023-06-21 10:04:34 +02:00
commit 2d8f888430
2 changed files with 137 additions and 1 deletions

View file

@ -17,7 +17,7 @@ URL: https://www.python.org/
%global prerel b3
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 1%{?dist}
Release: 2%{?dist}
License: Python-2.0.1
@ -362,6 +362,13 @@ Patch251: 00251-change-user-install-location.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
# 00402 # ecae89d5edb8d253925dce12c3c56d1a6da198f3
# Add PyType_GetDict()
#
# This patch should make pyqt6 build with Python 3.12.
# For more info see: https://github.com/python/cpython/pull/105747
Patch402: 00402-add-pytype_getdict.patch
# (New patches go here ^^^)
#
# When adding new patches to "python" and "python3" in Fedora, EL, etc.,
@ -1651,6 +1658,9 @@ CheckPython optimized
# ======================================================
%changelog
* Wed Jun 21 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.12.0~b3-2
- Backport upstream patch to add PyType_GetDict() function
* Tue Jun 20 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.12.0~b3-1
- Update to 3.12.0b3