Update to Python 3.13.0rc1
This commit is contained in:
parent
b25f06562b
commit
5ff1fff3e0
5 changed files with 9 additions and 3223 deletions
|
|
@ -51,7 +51,7 @@ index 0a0dc47b17..bb42e1cf5a 100644
|
|||
if os.path.isdir(sitedir):
|
||||
addsitedir(sitedir, known_paths)
|
||||
diff --git a/Lib/sysconfig/__init__.py b/Lib/sysconfig/__init__.py
|
||||
index 83e057c177..8b167dca31 100644
|
||||
index 80aef34471..4e4ea6aeea 100644
|
||||
--- a/Lib/sysconfig/__init__.py
|
||||
+++ b/Lib/sysconfig/__init__.py
|
||||
@@ -106,6 +106,12 @@
|
||||
|
|
@ -130,7 +130,7 @@ index 83e057c177..8b167dca31 100644
|
|||
# On Windows we want to substitute 'lib' for schemes rather
|
||||
# than the native value (without modifying vars, in case it
|
||||
diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py
|
||||
index 37cee92768..ffb63452be 100644
|
||||
index 1ade49281b..e21ca34733 100644
|
||||
--- a/Lib/test/test_sysconfig.py
|
||||
+++ b/Lib/test/test_sysconfig.py
|
||||
@@ -121,8 +121,19 @@ def test_get_path(self):
|
||||
|
|
|
|||
|
|
@ -1,30 +0,0 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Karolina Surma <ksurma@redhat.com>
|
||||
Date: Fri, 19 Jul 2024 11:20:27 +0200
|
||||
Subject: [PATCH] 00432: Account with abi_thread in
|
||||
test_sysconfig.test_user_similar
|
||||
|
||||
From https://github.com/python/cpython/pull/122017
|
||||
---
|
||||
Lib/test/test_sysconfig.py | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py
|
||||
index ffb63452be..43cab7ba21 100644
|
||||
--- a/Lib/test/test_sysconfig.py
|
||||
+++ b/Lib/test/test_sysconfig.py
|
||||
@@ -428,10 +428,10 @@ def test_user_similar(self):
|
||||
# bpo-44860: platlib of posix_user doesn't use sys.platlibdir,
|
||||
# whereas posix_prefix does.
|
||||
if name == 'platlib':
|
||||
- # Replace "/lib64/python3.11/site-packages" suffix
|
||||
- # with "/lib/python3.11/site-packages".
|
||||
- py_version_short = sysconfig.get_python_version()
|
||||
- suffix = f'python{py_version_short}/site-packages'
|
||||
+ # Replace "/lib64/python3.11{abi_thread}/site-packages" suffix
|
||||
+ # with "/lib/python3.11{abi_thread}/site-packages".
|
||||
+ py_version_abi = sysconfig._get_python_version_abi()
|
||||
+ suffix = f'python{py_version_abi}/site-packages'
|
||||
expected = expected.replace(f'/{sys.platlibdir}/{suffix}',
|
||||
f'/lib/{suffix}')
|
||||
self.assertEqual(user_path, expected)
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -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 b4
|
||||
%global prerel rc1
|
||||
%global upstream_version %{general_version}%{?prerel}
|
||||
Version: %{general_version}%{?prerel:~%{prerel}}
|
||||
Release: 3%{?dist}
|
||||
Release: 1%{?dist}
|
||||
License: Python-2.0.1
|
||||
|
||||
|
||||
|
|
@ -397,16 +397,6 @@ Patch251: 00251-change-user-install-location.patch
|
|||
# Another process might have already moved jit_stencils.h.new
|
||||
Patch429: 00429-gh-118943-fix-another-race-condition-when-generating-jit_stencils-h.patch
|
||||
|
||||
# 00432 # 74b8ebb01dac2390dea7d76a8040ad54198c73c4
|
||||
# Account with abi_thread in test_sysconfig.test_user_similar
|
||||
#
|
||||
# From https://github.com/python/cpython/pull/122017
|
||||
Patch432: 00432-account-with-abi_thread-in-test_sysconfig-test_user_similar.patch
|
||||
|
||||
# 00433 # 1c8b255f8c5430714b6860058880529a95a6bae7
|
||||
# Preserve AST nodes for format specifiers with single elements
|
||||
Patch433: 00433-preserve-ast-nodes-for-format-specifiers-with-single-elements.patch
|
||||
|
||||
# (New patches go here ^^^)
|
||||
#
|
||||
# When adding new patches to "python" and "python3" in Fedora, EL, etc.,
|
||||
|
|
@ -1748,6 +1738,9 @@ CheckPython freethreading
|
|||
# ======================================================
|
||||
|
||||
%changelog
|
||||
* Thu Aug 01 2024 Karolina Surma <ksurma@redhat.com> - 3.13.0~rc1-1
|
||||
- Update to Python 3.13.0rc1
|
||||
|
||||
* Tue Jul 30 2024 Miro Hrončok <mhroncok@redhat.com> - 3.13.0~b4-3
|
||||
- Preserve AST nodes for f-string with single-element format specifiers
|
||||
- Fixes https://github.com/python/cpython/issues/122300
|
||||
|
|
|
|||
4
sources
4
sources
|
|
@ -1,2 +1,2 @@
|
|||
SHA512 (Python-3.13.0b4.tar.xz) = e556f7a4e54b688d0424b0bd84f9849b52f4f7e04c68d4d5b877d86b4f9ded92c9efaa2b7ab33f345235f35e8d544833542f7a4cb100d0ff15b7d98b8367b935
|
||||
SHA512 (Python-3.13.0b4.tar.xz.asc) = 243637efff94965aa4d997fe26c91a7c1aa7dcfdf7f78d35d6f4fc408b654dfa9d075d1c73bc5a90d145f6e5029ee395a86faf7e027c24a55fabfea6ca20fbd4
|
||||
SHA512 (Python-3.13.0rc1.tar.xz) = fce7664f3298cfd191a7dc20b7b47acafdc50d058a2814312c94c30b65291395957d701e4661b9bb760417942acb5d27e5b8bb479bcda9a82cf29f53772a2daf
|
||||
SHA512 (Python-3.13.0rc1.tar.xz.asc) = 3613829d9631f46b1b1ce11bfe5bb7fbfa49d97b639bb883c86737ea6ae8d15c24c526083cafb916011bd6d0b3b5fab2b17afd367edbdce99b32e0b4b845fd22
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue