Hello community,
here is the log from the commit of package python-numpydoc for openSUSE:Factory
checked in at 2020-01-13 22:21:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-numpydoc (Old)
and /work/SRC/openSUSE:Factory/.python-numpydoc.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-numpydoc"
Mon Jan 13 22:21:27 2020 rev:10 rq:763812 version:0.9.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-numpydoc/python-numpydoc.changes
2019-07-24 20:35:25.146574850 +0200
+++
/work/SRC/openSUSE:Factory/.python-numpydoc.new.6675/python-numpydoc.changes
2020-01-13 22:21:36.782520697 +0100
@@ -1,0 +2,9 @@
+Sat Jan 11 18:28:01 UTC 2020 - Arun Persaud <[email protected]>
+
+- specfile:
+ * update copyright year
+
+- update to version 0.9.2:
+ * Delay import of Sphinx (#248)
+
+-------------------------------------------------------------------
Old:
----
numpydoc-0.9.1.tar.gz
New:
----
numpydoc-0.9.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-numpydoc.spec ++++++
--- /var/tmp/diff_new_pack.t59WVc/_old 2020-01-13 22:21:37.362520966 +0100
+++ /var/tmp/diff_new_pack.t59WVc/_new 2020-01-13 22:21:37.362520966 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-numpydoc
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-numpydoc
-Version: 0.9.1
+Version: 0.9.2
Release: 0
Summary: Sphinx extension to support docstrings in Numpy format
License: BSD-3-Clause
@@ -30,12 +30,12 @@
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-# SECTION test requirements
-BuildRequires: %{python_module pytest}
-# /SECTION
Requires: python-Jinja2 >= 2.3
Requires: python-Sphinx >= 1.6.5
BuildArch: noarch
+# SECTION test requirements
+BuildRequires: %{python_module pytest}
+# /SECTION
%python_subpackages
%description
++++++ numpydoc-0.9.1.tar.gz -> numpydoc-0.9.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/numpydoc-0.9.1/PKG-INFO new/numpydoc-0.9.2/PKG-INFO
--- old/numpydoc-0.9.1/PKG-INFO 2019-04-23 14:19:28.000000000 +0200
+++ new/numpydoc-0.9.2/PKG-INFO 2019-12-24 11:13:33.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: numpydoc
-Version: 0.9.1
+Version: 0.9.2
Summary: Sphinx extension to support docstrings in Numpy format
Home-page: https://numpydoc.readthedocs.io
Author: Pauli Virtanen and others
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/numpydoc-0.9.1/numpydoc/__init__.py
new/numpydoc-0.9.2/numpydoc/__init__.py
--- old/numpydoc-0.9.1/numpydoc/__init__.py 2019-04-23 14:19:05.000000000
+0200
+++ new/numpydoc-0.9.2/numpydoc/__init__.py 2019-12-24 11:08:58.000000000
+0100
@@ -1,6 +1,6 @@
from __future__ import division, absolute_import, print_function
-__version__ = '0.9.1'
+__version__ = '0.9.2'
def setup(app, *args, **kwargs):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/numpydoc-0.9.1/numpydoc/docscrape.py
new/numpydoc-0.9.2/numpydoc/docscrape.py
--- old/numpydoc-0.9.1/numpydoc/docscrape.py 2019-04-21 17:39:20.000000000
+0200
+++ new/numpydoc-0.9.2/numpydoc/docscrape.py 2019-12-24 11:08:24.000000000
+0100
@@ -16,7 +16,6 @@
import copy
import sys
-from sphinx.ext.autodoc import ALL
def strip_blank_lines(l):
"Remove leading and trailing blank lines from a list of lines"
@@ -626,6 +625,11 @@
raise ValueError("Expected a class or None, but got %r" % cls)
self._cls = cls
+ if 'sphinx' in sys.modules:
+ from sphinx.ext.autodoc import ALL
+ else:
+ ALL = object()
+
self.show_inherited_members = config.get(
'show_inherited_class_members', True)