Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python39 for openSUSE:Factory checked in at 2024-09-29 18:10:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python39 (Old) and /work/SRC/openSUSE:Factory/.python39.new.29891 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python39" Sun Sep 29 18:10:02 2024 rev:66 rq:1204230 version:3.9.20 Changes: -------- --- /work/SRC/openSUSE:Factory/python39/python39.changes 2024-09-19 21:17:41.387334290 +0200 +++ /work/SRC/openSUSE:Factory/.python39.new.29891/python39.changes 2024-09-29 18:10:50.474134779 +0200 @@ -1,0 +2,6 @@ +Fri Sep 20 14:57:10 UTC 2024 - Matej Cepl <[email protected]> + +- Add sphinx-802.patch to overcome working both with the most + recent and older Sphinx versions. + +------------------------------------------------------------------- New: ---- sphinx-802.patch BETA DEBUG BEGIN: New: - Add sphinx-802.patch to overcome working both with the most recent and older Sphinx versions. BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python39.spec ++++++ --- /var/tmp/diff_new_pack.MfXOT9/_old 2024-09-29 18:10:51.606181549 +0200 +++ /var/tmp/diff_new_pack.MfXOT9/_new 2024-09-29 18:10:51.606181549 +0200 @@ -134,10 +134,6 @@ # to /usr/local if executable is /usr/bin/python* and RPM build # is not detected to make pip and distutils install into separate location Patch02: F00251-change-user-install-location.patch -# PATCH-FEATURE-UPSTREAM decimal.patch bsc#1189356 [email protected] -# fix building with mpdecimal -# https://www.bytereef.org/contrib/decimal.diff -Patch05: decimal.patch # PATCH-FEATURE-UPSTREAM distutils-reproducible-compile.patch gh#python/cpython#8057 [email protected] # Improve reproduceability Patch06: distutils-reproducible-compile.patch @@ -161,36 +157,43 @@ # PATCH-FIX-SLE skip-test_pyobject_freed_is_freed.patch [email protected] # skip a test failing on SLE-15 Patch34: skip-test_pyobject_freed_is_freed.patch +# PATCH-FEATURE-UPSTREAM decimal.patch bsc#1189356 [email protected] +# fix building with mpdecimal +# https://www.bytereef.org/contrib/decimal.diff +Patch35: decimal.patch # PATCH-FIX-UPSTREAM support-expat-CVE-2022-25236-patched.patch jsc#SLE-21253 [email protected] # Makes Python resilient to changes of API of libexpat -Patch35: support-expat-CVE-2022-25236-patched.patch +Patch40: support-expat-CVE-2022-25236-patched.patch # PATCH-FIX-UPSTREAM CVE-2023-52425-libexpat-2.6.0-backport.patch gh#python/cpython#117187 [email protected] # Make the test suite work with libexpat < 2.6.0 -Patch36: CVE-2023-52425-libexpat-2.6.0-backport.patch +Patch41: CVE-2023-52425-libexpat-2.6.0-backport.patch # PATCH-FIX-UPSTREAM 98437-sphinx.locale._-as-gettext-in-pyspecific.patch gh#python/cpython#98366 [email protected] # this patch makes things totally awesome -Patch37: 98437-sphinx.locale._-as-gettext-in-pyspecific.patch +Patch42: 98437-sphinx.locale._-as-gettext-in-pyspecific.patch # PATCH-FIX-UPSTREAM bpo-37596-make-set-marshalling.patch bsc#1211765 [email protected] # Make `set` and `frozenset` marshalling deterministic -Patch38: bpo-37596-make-set-marshalling.patch +Patch43: bpo-37596-make-set-marshalling.patch # PATCH-FIX-UPSTREAM gh-78214-marshal_stabilize_FLAG_REF.patch bsc#1213463 [email protected] # marshal: Stabilize FLAG_REF usage -Patch39: gh-78214-marshal_stabilize_FLAG_REF.patch +Patch44: gh-78214-marshal_stabilize_FLAG_REF.patch # PATCH-FIX-UPSTREAM 99366-patch.dict-can-decorate-async.patch bsc#[0-9]+ [email protected] # Patch for gh#python/cpython#98086 -Patch40: 99366-patch.dict-can-decorate-async.patch +Patch45: 99366-patch.dict-can-decorate-async.patch # PATCH-FIX-OPENSUSE downport-Sphinx-features.patch [email protected] # Make documentation build with older Sphinx -Patch41: downport-Sphinx-features.patch +Patch46: downport-Sphinx-features.patch # PATCH-FIX-UPSTREAM bso1227999-reproducible-builds.patch bsc#1227999 [email protected] # reproducibility patches -Patch46: bso1227999-reproducible-builds.patch +Patch47: bso1227999-reproducible-builds.patch # PATCH-FIX-UPSTREAM CVE-2024-5642-OpenSSL-API-buf-overread-NPN.patch bsc#1227233 [email protected] # Remove for support for anything but OpenSSL 1.1.1 or newer Patch48: CVE-2024-5642-OpenSSL-API-buf-overread-NPN.patch # PATCH-FIX-UPSTREAM gh120226-fix-sendfile-test-kernel-610.patch gh#python/cpython#120226 [email protected] # Fix test_sendfile_close_peer_in_the_middle_of_receiving on Linux >= 6.10 (GH-120227) Patch50: gh120226-fix-sendfile-test-kernel-610.patch +# PATCH-FIX-UPSTREAM sphinx-802.patch [email protected] +# status_iterator method moved between the Sphinx versions +Patch51: sphinx-802.patch BuildRequires: autoconf-archive BuildRequires: automake @@ -430,6 +433,7 @@ %prep %setup -q -n %{tarname} + %patch -P 02 -p1 %patch -P 06 -p1 %patch -P 07 -p1 @@ -439,25 +443,30 @@ %patch -P 25 -p1 %patch -P 29 -p1 %patch -P 32 -p1 + %if 0%{?sle_version} %patch -P 33 -p1 %patch -P 34 -p1 %endif %if %{with mpdecimal} -%patch -P 05 -p1 -%endif %patch -P 35 -p1 -%patch -P 36 -p1 -%patch -P 37 -p1 -%patch -P 38 -p1 -%patch -P 39 -p1 +%endif + %patch -P 40 -p1 +%patch -P 41 -p1 +%patch -P 42 -p1 +%patch -P 43 -p1 +%patch -P 44 -p1 +%patch -P 45 -p1 + %if 0%{?sle_version} && 0%{?sle_version} <= 150500 -%patch -p1 -P 41 -%endif %patch -p1 -P 46 -%patch -p1 -P 48 -%patch -p1 -P 50 +%endif + +%patch -P 47 -p1 +%patch -P 48 -p1 +%patch -P 50 -p1 +%patch -P 51 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++++++ sphinx-802.patch ++++++ --- Doc/tools/extensions/pyspecific.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) --- a/Doc/tools/extensions/pyspecific.py +++ b/Doc/tools/extensions/pyspecific.py @@ -27,7 +27,13 @@ try: except ImportError: from sphinx.environment import NoUri from sphinx.locale import _ as sphinx_gettext -from sphinx.util import status_iterator, logging +try: + from sphinx.util.display import status_iterator +except ImportError: + # This method was moved into sphinx.util.display in Sphinx 6.1.0. Before + # that it resided in sphinx.util. + from sphinx.util import status_iterator +from sphinx.util import logging from sphinx.util.nodes import split_explicit_title from sphinx.writers.text import TextWriter, TextTranslator from sphinx.writers.latex import LaTeXTranslator
