From ce57ddbe0890130f2e74322e4eb7c3827208c281d3461f0d5410d095967d128a Mon Sep 17 00:00:00 2001 From: Matej Cepl <mcepl@suse.com> Date: Mon, 9 May 2022 14:05:14 +0000 Subject: [PATCH] Fix SPEC OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=26 --- python-sphinx-autodoc-typehints.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/python-sphinx-autodoc-typehints.spec b/python-sphinx-autodoc-typehints.spec index 2e99cc0..b27666f 100644 --- a/python-sphinx-autodoc-typehints.spec +++ b/python-sphinx-autodoc-typehints.spec @@ -39,6 +39,7 @@ BuildArch: noarch # SECTION tests BuildRequires: %{python_module Sphinx >= 1.7} BuildRequires: %{python_module doc} +BuildRequires: %{python_module nptyping} BuildRequires: %{python_module pathlib} BuildRequires: %{python_module pytest} BuildRequires: %{python_module sphobjinv} @@ -63,11 +64,12 @@ and return value types of functions. %check # test_sphinx_output -- too depenedent on sphinx version available -%pytest -k 'not test_sphinx_output' +# gh#tox-dev/sphinx-autodoc-typehints#229 +%pytest -k 'not (test_sphinx_output or test_format_annotation)' %files %{python_files} %{python_sitelib}/* %license LICENSE -%doc README.rst CHANGELOG.rst +%doc README.md CHANGELOG.md %changelog