Hello community,

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

Package is "python36"

Mon Dec  7 15:00:15 2020 rev:5 rq:853314 version:3.6.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/python36/python36.changes        2020-12-02 
13:58:42.569831999 +0100
+++ /work/SRC/openSUSE:Factory/.python36.new.5913/python36.changes      
2020-12-07 15:00:35.880728484 +0100
@@ -1,0 +2,8 @@
+Sat Dec  5 16:37:56 UTC 2020 - Matej Cepl <[email protected]>
+
+- (bsc#1179630) Update sphinx-update-removed-function.patch to
+  work with all versions of Sphinx (not binding the Python
+  documentation build to the latest verison of Sphinx). Updated
+  version mentioned on gh#python/cpython#13236.
+
+-------------------------------------------------------------------
@@ -11 +19 @@
-- Add patch sphnix-update-removed-function.patch to no longer call
+- Add patch sphinx-update-removed-function.patch to no longer call

Old:
----
  sphnix-update-removed-function.patch

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

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

Other differences:
------------------
++++++ python36.spec ++++++
--- /var/tmp/diff_new_pack.9Psudd/_old  2020-12-07 15:00:37.356730029 +0100
+++ /var/tmp/diff_new_pack.9Psudd/_new  2020-12-07 15:00:37.360730033 +0100
@@ -170,7 +170,7 @@
 # Ignore deprecation warning for old version of pip
 Patch39:        ignore_pip_deprec_warn.patch
 # PATCH-FIX-UPSTREAM stop calling removed Sphinx function 
gh#python/cpython#13236
-Patch40:        sphnix-update-removed-function.patch
+Patch40:        sphinx-update-removed-function.patch
 # PATCH-FIX-UPSTREAM CVE-2020-27619-no-eval-http-content.patch bsc#1178009 
[email protected]
 # No longer call eval() on content received via HTTP in the CJK codec tests 
 Patch41:        CVE-2020-27619-no-eval-http-content.patch





++++++ sphinx-update-removed-function.patch ++++++
From 960bb883769e5c64a63b014590d75654db87ffb0 Mon Sep 17 00:00:00 2001
From: Pablo Galindo <[email protected]>
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
@@ -231,10 +231,14 @@ class DeprecatedRemoved(Directive):
                                    translatable=False)
             node.append(para)
         env = self.state.document.settings.env
-        env.note_versionchange('deprecated', version[0], node, self.lineno)
+        # 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
 
-
 # Support for including Misc/NEWS
 
 issue_re = re.compile('(?:[Ii]ssue #|bpo-)([0-9]+)')
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/[email protected]

Reply via email to