Skip to content

Commit d849d8f

Browse files
befelemehroncok
authored andcommitted
Update to Python 3.14.1
1 parent e0af09b commit d849d8f

6 files changed

Lines changed: 33 additions & 65 deletions

00251-change-user-install-location.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Co-authored-by: Lumír Balhar <frenzy.madness@gmail.com>
3030
3 files changed, 72 insertions(+), 4 deletions(-)
3131

3232
diff --git a/Lib/site.py b/Lib/site.py
33-
index f932719715..e4ef914ec2 100644
33+
index aeb7c6cfc7..86f9ae9e76 100644
3434
--- a/Lib/site.py
3535
+++ b/Lib/site.py
3636
@@ -421,8 +421,15 @@ def getsitepackages(prefixes=None):

00461-downstream-only-install-wheel-in-test-venvs-when-setuptools-71.patch

Lines changed: 0 additions & 33 deletions
This file was deleted.

00466-downstream-only-skip-tests-not-working-with-older-expat-version.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ which is tested as working.
1515
3 files changed, 10 insertions(+)
1616

1717
diff --git a/Lib/test/test_pyexpat.py b/Lib/test/test_pyexpat.py
18-
index a091430463..55ebf34c52 100644
18+
index daeaa38a3c..b243f1da14 100644
1919
--- a/Lib/test/test_pyexpat.py
2020
+++ b/Lib/test/test_pyexpat.py
21-
@@ -826,6 +826,8 @@ def start_element(name, _):
21+
@@ -847,6 +847,8 @@ def start_element(name, _):
2222

2323
self.assertEqual(started, ['doc'])
2424

@@ -41,10 +41,10 @@ index 5c10bcedc6..1fd7a273b5 100644
4141
result = BytesIO()
4242
xmlgen = XMLGenerator(result)
4343
diff --git a/Lib/test/test_xml_etree.py b/Lib/test/test_xml_etree.py
44-
index bf6d5074fd..6f8ef34590 100644
44+
index 25c084c8b9..e26e6e0c26 100644
4545
--- a/Lib/test/test_xml_etree.py
4646
+++ b/Lib/test/test_xml_etree.py
47-
@@ -1547,9 +1547,13 @@ def test_simple_xml(self, chunk_size=None, flush=False):
47+
@@ -1573,9 +1573,13 @@ def test_simple_xml(self, chunk_size=None, flush=False):
4848
self.assert_event_tags(parser, [('end', 'root')])
4949
self.assertIsNone(parser.close())
5050

@@ -58,7 +58,7 @@ index bf6d5074fd..6f8ef34590 100644
5858
def test_simple_xml_chunk_5(self):
5959
self.test_simple_xml(chunk_size=5, flush=True)
6060

61-
@@ -1774,6 +1778,8 @@ def test_flush_reparse_deferral_enabled(self):
61+
@@ -1802,6 +1806,8 @@ def test_flush_reparse_deferral_enabled(self):
6262

6363
self.assert_event_tags(parser, [('end', 'doc')])
6464

plan.fmf

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,20 @@ discover:
2424
test: "PYTHON=python${pybasever}d TOX=false VERSION=${pybasever} CYTHON=true ./venv.sh"
2525
- name: selftest
2626
path: /selftest
27-
test: "VERSION=${pybasever} X='-i test_check_probes -i test_sysconfigdata_json' ./parallel.sh"
27+
test: "VERSION=${pybasever} X='-i test_check_probes -i test_sysconfigdata_json -i test_margin_is_sufficient' ./parallel.sh"
2828
- name: debugtest
2929
path: /selftest
3030
# test_base_interpreter: https://github.com/python/cpython/issues/131372
3131
# test_interrupt and test_interrupt_no_handler: https://github.com/python/cpython/issues/133651
32-
test: "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"
32+
# test_margin_is_sufficient: https://github.com/python/cpython/issues/140222
33+
test: "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_margin_is_sufficient' ./parallel.sh"
3334
- name: freethreadingtest
3435
path: /selftest
35-
test: "VERSION=${pybasever}t X='-i test_check_probes -i test_sysconfigdata_json -i test_base_interpreter' ./parallel.sh"
36+
test: "VERSION=${pybasever}t X='-i test_check_probes -i test_sysconfigdata_json -i test_base_interpreter -i test_margin_is_sufficient' ./parallel.sh"
3637
- name: selftest_jit
3738
path: /selftest
3839
# test_attr_promotion_failure: https://github.com/python/cpython/issues/141833
39-
test: "VERSION=${pybasever} PYTHON_JIT=1 X='-i test_check_probes -i test_sysconfigdata_json -i test_attr_promotion_failure' ./parallel.sh"
40+
test: "VERSION=${pybasever} PYTHON_JIT=1 X='-i test_check_probes -i test_sysconfigdata_json -i test_attr_promotion_failure -i test_margin_is_sufficient' ./parallel.sh"
4041
- name: jit_disabled_by_default
4142
test: "python${pybasever} -c 'import sys; assert not sys._jit.is_enabled()'"
4243
- name: jit_disabled_explicitly

python3.14.spec

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ URL: https://www.python.org/
4545

4646
# WARNING When rebasing to a new Python version,
4747
# remember to update the python3-docs package as well
48-
%global general_version %{pybasever}.0
48+
%global general_version %{pybasever}.1
4949
#global prerel ...
5050
%global upstream_version %{general_version}%{?prerel}
5151
Version: %{general_version}%{?prerel:~%{prerel}}
52-
Release: 2%{?dist}
52+
Release: 1%{?dist}
5353
License: Python-2.0.1
5454

5555

@@ -112,30 +112,30 @@ License: Python-2.0.1
112112
# This needs to be manually updated when we update Python.
113113
# Explore the sources tarball (you need the version before %%prep is executed):
114114
# $ tar -tf Python-%%{upstream_version}.tar.xz | grep whl
115-
%global pip_version 25.2
115+
%global pip_version 25.3
116116
%global setuptools_version 79.0.1
117117
# All of those also include a list of indirect bundled libs:
118118
# pip
119119
# $ %%{_rpmconfigdir}/pythonbundles.py <(unzip -p Lib/ensurepip/_bundled/pip-*.whl pip/_vendor/vendor.txt)
120120
%global pip_bundled_provides %{expand:
121121
Provides: bundled(python3dist(cachecontrol)) = 0.14.3
122-
Provides: bundled(python3dist(certifi)) = 2025.7.14
122+
Provides: bundled(python3dist(certifi)) = 2025.10.5
123123
Provides: bundled(python3dist(dependency-groups)) = 1.3.1
124124
Provides: bundled(python3dist(distlib)) = 0.4
125125
Provides: bundled(python3dist(distro)) = 1.9
126126
Provides: bundled(python3dist(idna)) = 3.10
127-
Provides: bundled(python3dist(msgpack)) = 1.1.1
127+
Provides: bundled(python3dist(msgpack)) = 1.1.2
128128
Provides: bundled(python3dist(packaging)) = 25
129-
Provides: bundled(python3dist(platformdirs)) = 4.3.8
129+
Provides: bundled(python3dist(platformdirs)) = 4.5
130130
Provides: bundled(python3dist(pygments)) = 2.19.2
131131
Provides: bundled(python3dist(pyproject-hooks)) = 1.2
132-
Provides: bundled(python3dist(requests)) = 2.32.4
133-
Provides: bundled(python3dist(resolvelib)) = 1.2
134-
Provides: bundled(python3dist(rich)) = 14.1
132+
Provides: bundled(python3dist(requests)) = 2.32.5
133+
Provides: bundled(python3dist(resolvelib)) = 1.2.1
134+
Provides: bundled(python3dist(rich)) = 14.2
135135
Provides: bundled(python3dist(setuptools)) = 70.3
136-
Provides: bundled(python3dist(tomli)) = 2.2.1
136+
Provides: bundled(python3dist(tomli)) = 2.3
137137
Provides: bundled(python3dist(tomli-w)) = 1.2
138-
Provides: bundled(python3dist(truststore)) = 0.10.1
138+
Provides: bundled(python3dist(truststore)) = 0.10.4
139139
Provides: bundled(python3dist(urllib3)) = 1.26.20
140140
}
141141
# setuptools
@@ -387,12 +387,6 @@ Source34: Python-%{upstream_version}-x86_64-optimized-jit_stencils.h
387387
# pypa/distutils integration: https://github.com/pypa/distutils/pull/70
388388
Patch251: 00251-change-user-install-location.patch
389389

390-
# 00461 # 920175020b21c0aff5edcc4c28d688b5061f591c
391-
# Downstream only: Install wheel in test venvs when setuptools < 71
392-
#
393-
# This can be removed when Fedora 41 goes EOL (or updates setuptools).
394-
Patch461: 00461-downstream-only-install-wheel-in-test-venvs-when-setuptools-71.patch
395-
396390
# 00464 # 292acffec7a379cb6d1f3c47b9e5a2f170bbadb6
397391
# Enable PAC and BTI protections for aarch64
398392
#
@@ -1475,6 +1469,8 @@ CheckPython() {
14751469
# see: https://github.com/python/cpython/issues/121719
14761470
# test_interrupt and test_interrupt_no_handler
14771471
# reported in https://github.com/python/cpython/issues/133651
1472+
# test_margin_is_sufficient
1473+
# reported in https://github.com/python/cpython/issues/140222
14781474
LD_LIBRARY_PATH=$ConfDir $ConfDir/python -m test.regrtest \
14791475
-wW --slowest %{_smp_mflags} \
14801476
%ifarch riscv64
@@ -1486,6 +1482,7 @@ CheckPython() {
14861482
-i test_check_probes \
14871483
-i test_interrupt \
14881484
-i test_interrupt_no_handler \
1485+
-i test_margin_is_sufficient \
14891486
%ifarch %{mips64}
14901487
-x test_ctypes \
14911488
%endif
@@ -1982,6 +1979,9 @@ CheckPython freethreading
19821979
# ======================================================
19831980

19841981
%changelog
1982+
* Wed Dec 03 2025 Karolina Surma <ksurma@redhat.com> - 3.14.1-1
1983+
- Update to Python 3.14.1
1984+
19851985
* Fri Oct 17 2025 Karolina Surma <ksurma@redhat.com> - 3.14.0-2
19861986
- Split -freethreading package into analogs of the main Python
19871987

sources

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
SHA512 (Python-3.14.0.tar.xz) = 46e9e205c3a084cba68bf7f267ab2fd0862a05430165e0eb713f2d6b3a1a4452f72f563de5de55caea824be9df56f66dd568f4814941667a9bb0954229772c53
2-
SHA512 (Python-3.14.0-aarch64-debug-jit_stencils.h) = 850952abc9ee83be51a67d64d013e31abd6a9e4331045ae169f684107d98fba9c91ef28fd1bf60e75c8975b600665afc9aec258b7e5b61abafa834996b16fb18
3-
SHA512 (Python-3.14.0-aarch64-optimized-jit_stencils.h) = d7b50e8bb2341f0404781f3f17dca9ac489efd8e25b832eb34346e4b88f3084e9c4482f981e51db4a9596df05c4138642252f52d0712dac9dda15cee21db196c
4-
SHA512 (Python-3.14.0-x86_64-debug-jit_stencils.h) = 51484d6b19a2483f67589c4d57f2df25f28d089a591f19c5eef6564006db5f7d5afa52181df2cd925a550e358ee5562c8f02ef0f8de7628f5f1fa242fd89a56a
5-
SHA512 (Python-3.14.0-x86_64-optimized-jit_stencils.h) = c84dda9956690faf372a09d9a532311d975ae69c4bf2a91102c30086dca16bef9a2c0ebb2f372437cfad64585e7a872db74476f5c502dc9635a25dd9e0b710d4
1+
SHA512 (Python-3.14.1-aarch64-debug-jit_stencils.h) = 158a259a89b86d5456f4e07d41132644698d40783fb6cd3c6aba231da4ac428c1588c3c1e665430ee6909f7b6c29c7924ff0e37adf0470679c120faaf169f07a
2+
SHA512 (Python-3.14.1-aarch64-optimized-jit_stencils.h) = 45ac03531984fcd0c1366563649510e6b0c6760e76e4c8ce675291202b4e1bcd78ed038c312bc66c7ab8b8cd26a6bae7804e7b87b327d1e67c901b93194c4fc1
3+
SHA512 (Python-3.14.1-x86_64-debug-jit_stencils.h) = bfacfb2fe7fc32dd239b7a533f1e86364d687d46dbc6c7170bdd39c1660deda72f3fa2d5e26bd9a27f009f487e248e0426614fcb8dcefd42be1e71d5ef0f0523
4+
SHA512 (Python-3.14.1-x86_64-optimized-jit_stencils.h) = ecf76a904c7f686c01fea4ecfd498ef07fef226e62b792c97dcbb45c76f54351e5ecc02554fa21a3a82d55e5b6255b80c73f67538929d69c1c326f81ac8bd7b2
5+
SHA512 (Python-3.14.1.tar.xz) = b5ec011190536126fedade5c33a4afabc081a133ad5c734f4b872769d376735775219d63a482812d139fdd90c46707927065ab9dc733d0bce2d1ebc59fe705a2

0 commit comments

Comments
 (0)