From d0514d9a61793b87fbf317ca303af53b1f3a684d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= Date: Wed, 11 Jan 2023 10:52:12 +0100 Subject: [PATCH] Update to 3.12.0a4 --- 00251-change-user-install-location.patch | 2 +- ...-_shutdown-for-the-main-thread-gh-28549-gh-28589.patch | 8 ++++---- python3.12.spec | 7 +++++-- sources | 4 ++-- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/00251-change-user-install-location.patch b/00251-change-user-install-location.patch index 55f45c3..6293499 100644 --- a/00251-change-user-install-location.patch +++ b/00251-change-user-install-location.patch @@ -30,7 +30,7 @@ Co-authored-by: Lumír Balhar 3 files changed, 71 insertions(+), 4 deletions(-) diff --git a/Lib/site.py b/Lib/site.py -index 69670d9d7f..104cb93899 100644 +index 7faf1c6f6a..e2ace71d18 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -377,8 +377,15 @@ def getsitepackages(prefixes=None): diff --git a/00371-revert-bpo-1596321-fix-threading-_shutdown-for-the-main-thread-gh-28549-gh-28589.patch b/00371-revert-bpo-1596321-fix-threading-_shutdown-for-the-main-thread-gh-28549-gh-28589.patch index ce0cd62..7d243df 100644 --- a/00371-revert-bpo-1596321-fix-threading-_shutdown-for-the-main-thread-gh-28549-gh-28589.patch +++ b/00371-revert-bpo-1596321-fix-threading-_shutdown-for-the-main-thread-gh-28549-gh-28589.patch @@ -16,10 +16,10 @@ https://github.com/GrahamDumpleton/mod_wsgi/issues/730 2 files changed, 8 insertions(+), 50 deletions(-) diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py -index 13ba5068ae..8bf97c5542 100644 +index 31bf46311a..5beebd3e96 100644 --- a/Lib/test/test_threading.py +++ b/Lib/test/test_threading.py -@@ -1002,39 +1002,6 @@ def noop(): pass +@@ -1015,39 +1015,6 @@ def noop(): pass threading.Thread(target=noop).start() # Thread.join() is not called @@ -60,10 +60,10 @@ index 13ba5068ae..8bf97c5542 100644 class ThreadJoinOnShutdown(BaseTestCase): diff --git a/Lib/threading.py b/Lib/threading.py -index 723bd58bf5..0bdf0b7336 100644 +index df273870fa..eba297776d 100644 --- a/Lib/threading.py +++ b/Lib/threading.py -@@ -1563,29 +1563,20 @@ def _shutdown(): +@@ -1565,29 +1565,20 @@ def _shutdown(): global _SHUTTING_DOWN _SHUTTING_DOWN = True diff --git a/python3.12.spec b/python3.12.spec index 7bc2ac7..d08d630 100644 --- a/python3.12.spec +++ b/python3.12.spec @@ -14,10 +14,10 @@ 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}.0 -%global prerel a3 +%global prerel a4 %global upstream_version %{general_version}%{?prerel} Version: %{general_version}%{?prerel:~%{prerel}} -Release: 2%{?dist} +Release: 1%{?dist} License: Python-2.0.1 # Getting this build in Koji on 32bit ARM is frustrating due to technical problems @@ -1579,6 +1579,9 @@ CheckPython optimized # ====================================================== %changelog +* Wed Jan 11 2023 Tomáš Hrnčiar - 3.12.0~a4-1 +- Update to 3.12.0a4 + * Mon Dec 19 2022 Miro Hrončok - 3.12.0~a3-2 - No longer patch the default bytecode cache invalidation policy diff --git a/sources b/sources index c9ea423..7f29785 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (Python-3.12.0a3.tar.xz) = 82d88adda53a1e5c16fc7165ac0d55f3828bae9249d361fbf7237d8826bd5acd941befb9b2c74f815a251b216d377f416831fbd233f1bfef31c2cab73b6554d1 -SHA512 (Python-3.12.0a3.tar.xz.asc) = e25a42982f3cab6e38ef7a4f5bfd71ad25811f52dffeffbb827ee9f48bf45003edad14ffdd3289bfda113a34b7ef818d04a413d0da7e8ca52d0c47f9b4475dbb +SHA512 (Python-3.12.0a4.tar.xz) = 19a98939077004259868cc5e6901d8fbf0ae90ad579700d6993f6b82990b1b4eb92efa5c8b5b7b50cfc46e311cb5c45f83251223a623fe1ade5da45ef2ca5dce +SHA512 (Python-3.12.0a4.tar.xz.asc) = b74a1bf0d5e4f402b6e5164cd140457ed0b172b2bfe61be1642fe053b71092b8bae1f5281e03516a6fba24319c78cd2505494cfada2416b766f4c602c1284d2a