Update to Python 3.14.0b2

This commit is contained in:
Miro Hrončok 2025-05-26 22:15:05 +02:00
commit 014f2b2430
5 changed files with 14 additions and 12 deletions

View file

@ -30,10 +30,10 @@ Co-authored-by: Lumír Balhar <frenzy.madness@gmail.com>
3 files changed, 72 insertions(+), 4 deletions(-)
diff --git a/Lib/site.py b/Lib/site.py
index 5c38b1b17d..862a079ed2 100644
index f932719715..e4ef914ec2 100644
--- a/Lib/site.py
+++ b/Lib/site.py
@@ -420,8 +420,15 @@ def getsitepackages(prefixes=None):
@@ -421,8 +421,15 @@ def getsitepackages(prefixes=None):
return sitepackages
def addsitepackages(known_paths, prefixes=None):
@ -51,7 +51,7 @@ index 5c38b1b17d..862a079ed2 100644
if os.path.isdir(sitedir):
addsitedir(sitedir, known_paths)
diff --git a/Lib/sysconfig/__init__.py b/Lib/sysconfig/__init__.py
index dad715eb08..890b5017d3 100644
index f93b98dd68..f6dbd5f5c3 100644
--- a/Lib/sysconfig/__init__.py
+++ b/Lib/sysconfig/__init__.py
@@ -106,6 +106,12 @@
@ -130,7 +130,7 @@ index dad715eb08..890b5017d3 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 53e55383bf..9343c55bd3 100644
index d30f69ded6..49449c652f 100644
--- a/Lib/test/test_sysconfig.py
+++ b/Lib/test/test_sysconfig.py
@@ -132,8 +132,19 @@ def test_get_path(self):

View file

@ -10,10 +10,10 @@ This can be removed when Fedora 41 goes EOL (or updates setuptools).
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py
index c74c3a3190..66433bd17d 100644
index b7cd7940eb..2237cf345b 100644
--- a/Lib/test/support/__init__.py
+++ b/Lib/test/support/__init__.py
@@ -2466,9 +2466,16 @@ def run_command(cmd):
@@ -2468,9 +2468,16 @@ def run_command(cmd):
else:
python = os.path.join(venv, 'bin', python_exe)

View file

@ -14,7 +14,7 @@ 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 b1
%global prerel b2
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 1%{?dist}
@ -1262,7 +1262,6 @@ CheckPython() {
# see: https://github.com/python/cpython/issues/121719
# test_interrupt and test_interrupt_no_handler
# reported in https://github.com/python/cpython/issues/133651
# test_displays reported https://github.com/python/cpython/issues/133682
LD_LIBRARY_PATH=$ConfDir $ConfDir/python -m test.regrtest \
-wW --slowest %{_smp_mflags} \
%ifarch riscv64
@ -1274,7 +1273,6 @@ CheckPython() {
-i test_check_probes \
-i test_interrupt \
-i test_interrupt_no_handler \
-i test_displays \
%ifarch %{mips64}
-x test_ctypes \
%endif
@ -1722,6 +1720,9 @@ CheckPython freethreading
# ======================================================
%changelog
* Mon May 26 2025 Miro Hrončok <mhroncok@redhat.com> - 3.14.0~b2-1
- Update to Python 3.14.0b2
* Wed May 07 2025 Karolina Surma <ksurma@redhat.com> - 3.14.0~b1-1
- Update to Python 3.14.0b1

View file

@ -1 +1 @@
SHA512 (Python-3.14.0b1.tar.xz) = 46c0792fe4d7beab13403938e51cc73e4cbc90a1d0367ba106f56353fae6e93697aa08d6389fd5a1fffa71d59376aee0196aba82b2c40d2f0cf642f14eefead8
SHA512 (Python-3.14.0b2.tar.xz) = cdd37f8a982e6194d5afa80a2eb94c899080809749d59a50a2ce3eed37f720a1fd9a7977f0dd3992650d173a7070b15610077d97cb499bd16a7500c56ef1f8dd

View file

@ -30,12 +30,13 @@
run: "PYTHON=python{{ pybasever }}d TOX=false VERSION={{ pybasever }} CYTHON=false ./venv.sh"
- selftest:
dir: python/selftest
run: "VERSION={{ pybasever }} X='-i test_check_probes -i test_sysconfigdata_json' ./parallel.sh"
# test_alias_modules_exist: https://github.com/python/cpython/pull/134777
run: "VERSION={{ pybasever }} X='-i test_check_probes -i test_sysconfigdata_json -i test_alias_modules_exist' ./parallel.sh"
- debugtest:
dir: python/selftest
# test_base_interpreter: https://github.com/python/cpython/issues/131372
# test_interrupt and test_interrupt_no_handler: https://github.com/python/cpython/issues/133651
run: "VERSION={{ pybasever }} PYTHON=python{{ pybasever }}d X='-i test_check_probes -i test_sysconfigdata_json -i test_base_interpreter -i test_interrupt -i test_interrupt_no_handler' ./parallel.sh"
run: "VERSION={{ pybasever }} PYTHON=python{{ pybasever }}d X='-i test_check_probes -i test_sysconfigdata_json -i test_base_interpreter -i test_interrupt -i test_interrupt_no_handler -i test_alias_modules_exist' ./parallel.sh"
- optimizedflags:
dir: python/flags
run: "python{{ pybasever }} ./assertflags.py -O3 CFLAGS PY_BUILTIN_MODULE_CFLAGS PY_CFLAGS PY_CORE_CFLAGS PY_CFLAGS_NODIST PY_STDMODULE_CFLAGS"