Hello community,

here is the log from the commit of package python39 for openSUSE:Factory 
checked in at 2020-12-07 15:00:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python39 (Old)
 and      /work/SRC/openSUSE:Factory/.python39.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python39"

Mon Dec  7 15:00:18 2020 rev:8 rq:853313 version:3.9.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python39/python39.changes        2020-11-15 
15:27:29.591522201 +0100
+++ /work/SRC/openSUSE:Factory/.python39.new.5913/python39.changes      
2020-12-07 15:00:39.004731753 +0100
@@ -1,0 +2,7 @@
+Sat Dec  5 16:55:12 UTC 2020 - Matej Cepl <mc...@suse.com>
+
+- Add patch sphinx-update-removed-function.patch to no longer call
+  a now removed function and to make documentation build independent of
+  the Sphinx version (bsc#1179630, gh#python/cpython#13236).
+
+-------------------------------------------------------------------

New:
----
  sphinx-update-removed-function.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python39.spec ++++++
--- /var/tmp/diff_new_pack.fGkR4i/_old  2020-12-07 15:00:40.260733067 +0100
+++ /var/tmp/diff_new_pack.fGkR4i/_new  2020-12-07 15:00:40.260733067 +0100
@@ -140,6 +140,8 @@
 # PATCH-FIX-UPSTREAM bsc1167501-invalid-alignment.patch 
gh#python/cpython#19133 mc...@suse.com
 # Fix wrong misalignment of pointer to vectorcallfunc
 Patch31:        bsc1167501-invalid-alignment.patch
+# PATCH-FIX-UPSTREAM stop calling removed Sphinx function 
gh#python/cpython#13236
+Patch32:        sphinx-update-removed-function.patch
 BuildRequires:  automake
 BuildRequires:  fdupes
 BuildRequires:  gmp-devel
@@ -395,6 +397,7 @@
 %patch27 -p1
 %patch29 -p1
 %patch31 -p1
+%patch32 -p1
 
 # drop Autoconf version requirement
 sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac



++++++ sphinx-update-removed-function.patch ++++++
From 960bb883769e5c64a63b014590d75654db87ffb0 Mon Sep 17 00:00:00 2001
From: Pablo Galindo <pablog...@gmail.com>
Date: Fri, 10 May 2019 22:58:17 +0100
Subject: [PATCH] Fix sphinx deprecation warning about env.note_versionchange()
 (GH-13236)

---
 Doc/tools/extensions/pyspecific.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/Doc/tools/extensions/pyspecific.py
+++ b/Doc/tools/extensions/pyspecific.py
@@ -355,7 +355,12 @@ class DeprecatedRemoved(Directive):
                                    translatable=False)
             node.append(para)
         env = self.state.document.settings.env
-        env.get_domain('changeset').note_changeset(node)
+        # new method
+        if hasattr(env, 'get_domain'):
+            env.get_domain('changeset').note_changeset(node)
+        # deprecated pre-Sphinx-2 method
+        else:
+            env.note_versionchange('deprecated', version[0], node, self.lineno)
         return [node] + messages
 
 
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to