Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python314 for openSUSE:Factory checked in at 2025-10-01 18:56:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python314 (Old) and /work/SRC/openSUSE:Factory/.python314.new.11973 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python314" Wed Oct 1 18:56:23 2025 rev:26 rq:1308302 version:3.14.0~rc3 Changes: -------- --- /work/SRC/openSUSE:Factory/python314/python314.changes 2025-09-19 15:34:11.681336730 +0200 +++ /work/SRC/openSUSE:Factory/.python314.new.11973/python314.changes 2025-10-01 18:57:01.946594435 +0200 @@ -1,0 +2,11 @@ +Wed Oct 1 05:31:47 UTC 2025 - Daniel Garcia <[email protected]> + +- Add _zstd to the built package and libzstd as BuildRequries, boo#1250659 + +------------------------------------------------------------------- +Mon Sep 29 06:52:07 UTC 2025 - Daniel Garcia <[email protected]> + +- Add gh139257-Support-docutils-0.22.patch to fix build with latest + docutils (>=0.22) gh#python/cpython#139257 + +------------------------------------------------------------------- New: ---- gh139257-Support-docutils-0.22.patch ----------(New B)---------- New: - Add gh139257-Support-docutils-0.22.patch to fix build with latest docutils (>=0.22) gh#python/cpython#139257 ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python314.spec ++++++ --- /var/tmp/diff_new_pack.OtYUZ5/_old 2025-10-01 18:57:02.942636147 +0200 +++ /var/tmp/diff_new_pack.OtYUZ5/_new 2025-10-01 18:57:02.942636147 +0200 @@ -224,6 +224,8 @@ Patch41: bsc1243155-sphinx-non-determinism.patch # PATCH-FIX-UPSTREAM gh138131-exclude-pycache-from-digest.patch bsc#1244680 [email protected] Patch44: gh138131-exclude-pycache-from-digest.patch +# PATCH-FIX-OPENSUSE gh139257-Support-docutils-0.22.patch gh#python/cpython#139257 [email protected] +Patch45: gh139257-Support-docutils-0.22.patch #### Python 3.14 DEVELOPMENT PATCHES BuildRequires: autoconf-archive BuildRequires: automake @@ -237,6 +239,7 @@ BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(expat) BuildRequires: pkgconfig(libffi) +BuildRequires: pkgconfig(libzstd) BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(zlib) #!BuildIgnore: gdk-pixbuf-loader-rsvg @@ -738,7 +741,7 @@ _testclinic _testclinic_limited xxlimited xxlimited_35 _remote_debugging \ _testlimitedcapi _xxtestfuzz _elementtree pyexpat _md5 _sha1 \ _interpchannels _interpqueues _interpreters \ - _sha2 _blake2 _sha3 _uuid _zoneinfo \ + _sha2 _blake2 _sha3 _uuid _zstd _zoneinfo \ _testsinglephase xxsubtype do eval rm "%{buildroot}%{sitedir}/lib-dynload/$library.*" @@ -1084,6 +1087,7 @@ %{dynlib xxsubtype} %{dynlib zlib} %{dynlib _zoneinfo} +%{dynlib _zstd} # hashlib fallback modules %{dynlib _blake2} %{dynlib _md5} ++++++ gh139257-Support-docutils-0.22.patch ++++++ >From 19b61747df3d62c822285c488753d6fbdf91e3ac Mon Sep 17 00:00:00 2001 From: Daniel Garcia Moreno <[email protected]> Date: Tue, 23 Sep 2025 10:20:16 +0200 Subject: [PATCH 1/2] gh-139257: Support docutils >= 0.22 --- Doc/tools/extensions/pyspecific.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) Index: Python-3.14.0rc3/Doc/tools/extensions/pyspecific.py =================================================================== --- Python-3.14.0rc3.orig/Doc/tools/extensions/pyspecific.py 2025-09-18 10:45:38.000000000 +0200 +++ Python-3.14.0rc3/Doc/tools/extensions/pyspecific.py 2025-09-30 18:13:24.014518239 +0200 @@ -25,11 +25,21 @@ SOURCE_URI = 'https://github.com/python/cpython/tree/3.14/%s' # monkey-patch reST parser to disable alphabetic and roman enumerated lists +def _disable_alphabetic_and_roman(text): + try: + # docutils >= 0.22 + from docutils.parsers.rst.states import InvalidRomanNumeralError + raise InvalidRomanNumeralError(text) + except ImportError: + # docutils < 0.22 + return None + + from docutils.parsers.rst.states import Body Body.enum.converters['loweralpha'] = \ Body.enum.converters['upperalpha'] = \ Body.enum.converters['lowerroman'] = \ - Body.enum.converters['upperroman'] = lambda x: None + Body.enum.converters['upperroman'] = _disable_alphabetic_and_roman class PyAwaitableMixin(object):
