Add gh139257-Support-docutils-0.22.patch to fix build with latest

docutils (>=0.22) gh#python/cpython#139257

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python314?expand=0&rev=101
This commit is contained in:
2025-09-30 16:13:57 +00:00
committed by Matěj Cepl
parent 92d12c8820
commit 9e2d52efb7
3 changed files with 12 additions and 4 deletions

View File

@@ -7,11 +7,11 @@ 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.0/Doc/tools/extensions/pyspecific.py
Index: Python-3.14.0rc3/Doc/tools/extensions/pyspecific.py
===================================================================
--- Python-3.14.0.orig/Doc/tools/extensions/pyspecific.py
+++ Python-3.14.0/Doc/tools/extensions/pyspecific.py
@@ -25,11 +25,21 @@ from sphinx.util.docutils import SphinxD
--- 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

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 29 06:52:07 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
- Add gh139257-Support-docutils-0.22.patch to fix build with latest
docutils (>=0.22) gh#python/cpython#139257
-------------------------------------------------------------------
Thu Sep 18 16:17:21 UTC 2025 - Matej Cepl <mcepl@cepl.eu>

View File

@@ -224,6 +224,8 @@ Patch40: fix-test-recursion-limit-15.6.patch
Patch41: bsc1243155-sphinx-non-determinism.patch
# PATCH-FIX-UPSTREAM gh138131-exclude-pycache-from-digest.patch bsc#1244680 daniel.garcia@suse.com
Patch44: gh138131-exclude-pycache-from-digest.patch
# PATCH-FIX-OPENSUSE gh139257-Support-docutils-0.22.patch gh#python/cpython#139257 daniel.garcia@suse.com
Patch45: gh139257-Support-docutils-0.22.patch
#### Python 3.14 DEVELOPMENT PATCHES
BuildRequires: autoconf-archive
BuildRequires: automake