Hello community, here is the log from the commit of package python-sphinx-autodoc-typehints for openSUSE:Factory checked in at 2019-07-04 15:43:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-sphinx-autodoc-typehints (Old) and /work/SRC/openSUSE:Factory/.python-sphinx-autodoc-typehints.new.4615 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinx-autodoc-typehints" Thu Jul 4 15:43:28 2019 rev:2 rq:713192 version:1.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-sphinx-autodoc-typehints/python-sphinx-autodoc-typehints.changes 2019-03-24 15:01:41.907166242 +0100 +++ /work/SRC/openSUSE:Factory/.python-sphinx-autodoc-typehints.new.4615/python-sphinx-autodoc-typehints.changes 2019-07-04 15:43:31.990133743 +0200 @@ -1,0 +2,11 @@ +Wed Jul 3 09:13:37 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Add patch to fix build with new sphinx: + * sphinx21.patch + +------------------------------------------------------------------- +Thu Jun 6 13:41:01 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Drop not really needed devel dependency + +------------------------------------------------------------------- New: ---- sphinx21.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sphinx-autodoc-typehints.spec ++++++ --- /var/tmp/diff_new_pack.r18pRO/_old 2019-07-04 15:43:32.570134649 +0200 +++ /var/tmp/diff_new_pack.r18pRO/_new 2019-07-04 15:43:32.578134662 +0200 @@ -24,23 +24,22 @@ Summary: Type hints (PEP 484) support for the Sphinx autodoc extension License: MIT Group: Development/Languages/Python -Url: https://github.com/agronholm/sphinx-autodoc-typehints +URL: https://github.com/agronholm/sphinx-autodoc-typehints Source: https://files.pythonhosted.org/packages/source/s/sphinx-autodoc-typehints/sphinx-autodoc-typehints-%{version}.tar.gz -Requires: python-Sphinx -Requires: python-typing_extensions -BuildRequires: %{python_module devel} +Patch0: sphinx21.patch BuildRequires: %{python_module setuptools >= 36.2.7} BuildRequires: %{python_module setuptools_scm >= 1.7.0} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-Sphinx >= 1.7 +Requires: python-typing_extensions +BuildArch: noarch # SECTION tests BuildRequires: %{python_module Sphinx >= 1.7} BuildRequires: %{python_module pathlib} BuildRequires: %{python_module pytest} BuildRequires: %{python_module typing_extensions} # /SECTION -BuildArch: noarch - %python_subpackages %description @@ -49,6 +48,7 @@ %prep %setup -q -n sphinx-autodoc-typehints-%{version} +%patch0 -p1 %build %python_build ++++++ sphinx21.patch ++++++ >From 367e32cea5218af9d8df9800bde395cc285e0fad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Gr=C3=B6nholm?= <alex.gronh...@nextday.fi> Date: Mon, 3 Jun 2019 00:11:22 +0300 Subject: [PATCH] Fixed tests failing on Sphinx 2.1+ --- tests/test_sphinx_autodoc_typehints.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_sphinx_autodoc_typehints.py b/tests/test_sphinx_autodoc_typehints.py index b751176..d83f484 100644 --- a/tests/test_sphinx_autodoc_typehints.py +++ b/tests/test_sphinx_autodoc_typehints.py @@ -231,7 +231,7 @@ class InnerClass Return type: "str" - a_property + property a_property Property docstring