Hello community,

here is the log from the commit of package python-Sphinx for openSUSE:Factory 
checked in at 2020-12-12 20:28:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Sphinx (Old)
 and      /work/SRC/openSUSE:Factory/.python-Sphinx.new.2328 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Sphinx"

Sat Dec 12 20:28:38 2020 rev:70 rq:853306 version:3.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Sphinx/python-Sphinx.changes      
2020-11-06 23:43:22.947461624 +0100
+++ /work/SRC/openSUSE:Factory/.python-Sphinx.new.2328/python-Sphinx.changes    
2020-12-12 20:31:06.321773225 +0100
@@ -1,0 +2,41 @@
+Fri Dec  4 17:19:43 UTC 2020 - Benjamin Greiner <c...@bnavigator.de>
+
+- Remove unused mypy from BuildRequires in :test
+- Fix the intersphinx inventory bundle for multiple python flavors
+  gh#openSUSE/python-rpm-macros#66
+- Fix failing graphviz dot calls by including packages for png
+  and pdf formats. The png fail was masked by an incorrect use of
+  a shell command chain. Fails for pdf format were in the tests.
+- Add sphinx-pr8520-fix-AliasNode-copy.patch to fix failing 
+  manpages build -- gh#sphinx-doc/sphinx#8520
+ 
+-------------------------------------------------------------------
+Thu Nov 26 09:18:00 UTC 2020 - Dirk Mueller <dmuel...@suse.com>
+
+- update to 3.3.1:
+  * #8372: autodoc: autoclass directive became slower than Sphinx-3.2
+  * #7727: autosummary: raise PycodeError when documenting python package
+  * #8350: autosummary: autosummary_mock_imports causes slow down builds
+  * #8364: C, properly initialize attributes in empty symbols.
+  * #8399: i18n: Put system locale path after the paths specified by 
configuration
+  * #8100: html: Show a better error message for failures on copying
+  html_static_files
+  * #8141: C: added a ``maxdepth`` option to :rst:dir:`c:alias` to insert
+  nested declarations.
+  * #8081: LaTeX: Allow to add LaTeX package via ``app.add_latex_package()`` 
until
+  just before writing .tex file
+  * #7996: manpage: Add :confval:`man_make_section_directory` to make a section
+  directory on build man page
+  * #8289: epub: Allow to suppress "duplicated ToC entry found" warnings from 
epub
+  builder using :confval:`suppress_warnings`.
+  * #8298: sphinx-quickstart: Add :option:`sphinx-quickstart --no-sep` option
+  * #8304: sphinx.testing: Register public markers in sphinx.testing.fixtures
+  * #8051: napoleon: use the obj role for all See Also items
+  * #8050: napoleon: Apply :confval:`napoleon_preprocess_types` to every field
+  * C and C++, show line numbers for previous declarations when duplicates are
+  detected.
+  * #8183: Remove substitution_reference nodes from doctree only on LaTeX 
builds
+  * bugfixes
+  - remove sphinx-pygments-compat.patch (obsolete)
+
+-------------------------------------------------------------------

Old:
----
  Sphinx-3.2.1.tar.gz
  Sphinx-3.2.1.tar.gz.asc
  sphinx-pygments-compat.patch

New:
----
  Sphinx-3.3.1.tar.gz
  Sphinx-3.3.1.tar.gz.asc
  sphinx-pr8520-fix-AliasNode-copy.patch

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

Other differences:
------------------
++++++ python-Sphinx.spec ++++++
--- /var/tmp/diff_new_pack.UE02OQ/_old  2020-12-12 20:31:07.189774131 +0100
+++ /var/tmp/diff_new_pack.UE02OQ/_new  2020-12-12 20:31:07.193774135 +0100
@@ -28,7 +28,7 @@
 %endif
 %define skip_python2 1
 Name:           python-Sphinx%{psuffix}
-Version:        3.2.1
+Version:        3.3.1
 Release:        0
 Summary:        Python documentation generator
 License:        BSD-2-Clause
@@ -36,10 +36,11 @@
 URL:            http://sphinx-doc.org
 Source:         
https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
 Source1:        
https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz.asc
-Source2:        python3.inv
+# Provide intersphinx inventory offline
+Source2:        https://docs.python.org/3/objects.inv#/python3.inv
 Source99:       python-Sphinx-rpmlintrc
-# PATCH-FIX-UPSTREAM: 
https://patch-diff.githubusercontent.com/raw/sphinx-doc/sphinx/pull/8205.patch
-Patch0:         sphinx-pygments-compat.patch
+# PATCH-FIX-UPSTREAM gh#sphinx-doc/sphinx#8520
+Patch0:         
https://github.com/sphinx-doc/sphinx/pull/8520.patch#/sphinx-pr8520-fix-AliasNode-copy.patch
 BuildRequires:  %{python_module base}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -74,12 +75,16 @@
 BuildRequires:  %{python_module Sphinx = %{version}}
 BuildRequires:  %{python_module Sphinx-latex = %{version}}
 BuildRequires:  %{python_module html5lib}
-BuildRequires:  %{python_module mypy}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module sphinxcontrib-websupport}
 BuildRequires:  %{python_module testsuite}
 BuildRequires:  %{python_module typed-ast}
 BuildRequires:  ImageMagick
+BuildRequires:  graphviz
+# For PNG format
+BuildRequires:  graphviz-gd
+# For PDF format (!?)
+BuildRequires:  graphviz-gnome
 %endif
 %python_subpackages
 
@@ -229,12 +234,15 @@
 %if %{with test}
 mkdir build.doc
 
-# get its intersphinx_inventroy from python3-doc
-# instead of via network from https://docs.python.org/3/objects.inv
 cp %{SOURCE2} doc/python3.inv
-%python_expand sed -i -e "s/\(intersphinx_mapping = ..python.: 
(.https:..docs.python.org.3.., \)None\()}\)/\1'%{$python_prefix}.inv'\2/g" 
doc/conf.py
-%python_exec setup.py build_sphinx && rm build/sphinx/html/.buildinfo
-%python_exec setup.py build_sphinx -b man
+%{python_expand # Use one bundled intersphinx inventory for all flavors.
+# The python3.6 inventory fails to build even in its own flavor.
+# Use a more recent default (currently 3.9) from the source tag instead.
+sed -i -e "s/\(intersphinx_mapping = ..python.: (.https:..docs.python.org.3.., 
\)None\()\)/\1'python3.inv'\2/g" doc/conf.py
+$python setup.py build_sphinx
+rm build/sphinx/html/.buildinfo
+$python setup.py build_sphinx -b man
+}
 
 mv build/sphinx/{html,man} build.doc/
 %endif
@@ -287,6 +295,7 @@
 %check
 %if %{with test}
 export LC_ALL="C.utf8"
+# test_latex_images test downloading a remote image
 %pytest tests -k 'not (linkcheck or test_latex_images)'
 %endif
 

++++++ Sphinx-3.2.1.tar.gz -> Sphinx-3.3.1.tar.gz ++++++
++++ 6424 lines of diff (skipped)

++++++ python3.inv ++++++
Binary files /var/tmp/diff_new_pack.UE02OQ/_old and 
/var/tmp/diff_new_pack.UE02OQ/_new differ

++++++ sphinx-pr8520-fix-AliasNode-copy.patch ++++++
From 3c5b05de514289c30130ef98fa796591e1acdb29 Mon Sep 17 00:00:00 2001
From: Ben Greiner <c...@bnavigator.de>
Date: Fri, 4 Dec 2020 20:27:25 +0100
Subject: [PATCH 1/2] Fix AliasNode.copy()

---
 sphinx/domains/c.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sphinx/domains/c.py b/sphinx/domains/c.py
index d18094217a..206d049f75 100644
--- a/sphinx/domains/c.py
+++ b/sphinx/domains/c.py
@@ -3452,7 +3452,8 @@ def __init__(self, sig: str, maxdepth: int, document: 
Any, env: "BuildEnvironmen
             self.parentKey = parentKey
 
     def copy(self: T) -> T:
-        return self.__class__(self.sig, env=None, parentKey=self.parentKey)  # 
type: ignore
+        return self.__class__(self.sig, self.maxdepth, self.document,
+                              env=None, parentKey=self.parentKey)  # type: 
ignore
 
 
 class AliasTransform(SphinxTransform):

From a549d8ff2e0371531b8ec8af1d2133812d60b2bb Mon Sep 17 00:00:00 2001
From: Ben Greiner <c...@bnavigator.de>
Date: Fri, 4 Dec 2020 20:48:02 +0100
Subject: [PATCH 2/2] Fix mypy type error

---
 sphinx/domains/c.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sphinx/domains/c.py b/sphinx/domains/c.py
index 206d049f75..38b81e3fa6 100644
--- a/sphinx/domains/c.py
+++ b/sphinx/domains/c.py
@@ -3451,9 +3451,9 @@ def __init__(self, sig: str, maxdepth: int, document: 
Any, env: "BuildEnvironmen
             assert parentKey is not None
             self.parentKey = parentKey
 
-    def copy(self: T) -> T:
+    def copy(self) -> 'AliasNode':
         return self.__class__(self.sig, self.maxdepth, self.document,
-                              env=None, parentKey=self.parentKey)  # type: 
ignore
+                              env=None, parentKey=self.parentKey)
 
 
 class AliasTransform(SphinxTransform):
_______________________________________________
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