From aedacbe26fa249f8ee3946edf1956c755e21a8ea0d2803771c86eb3944502636 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 29 Jun 2024 05:38:25 +0000 Subject: [PATCH] - update to 2.2.2: * Fix for Issue #384: typehints_defaults = "braces-after" fails for a multiline `:param:` entry * Support autodoc_type_aliases configuration * Support Sphinx 7.3 and drop 3.8 support * Return injection fix * Add option to force unions (and options) to be rendered with bars OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=47 --- python-sphinx-autodoc-typehints.changes | 12 ++++++++++++ python-sphinx-autodoc-typehints.spec | 14 +++++++------- sphinx_autodoc_typehints-1.25.3.tar.gz | 3 --- sphinx_autodoc_typehints-2.2.2.tar.gz | 3 +++ 4 files changed, 22 insertions(+), 10 deletions(-) delete mode 100644 sphinx_autodoc_typehints-1.25.3.tar.gz create mode 100644 sphinx_autodoc_typehints-2.2.2.tar.gz diff --git a/python-sphinx-autodoc-typehints.changes b/python-sphinx-autodoc-typehints.changes index e46d0fe..9a22d83 100644 --- a/python-sphinx-autodoc-typehints.changes +++ b/python-sphinx-autodoc-typehints.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sat Jun 29 05:37:49 UTC 2024 - Dirk Müller + +- update to 2.2.2: + * Fix for Issue #384: typehints_defaults = "braces-after" fails + for a multiline `:param:` entry + * Support autodoc_type_aliases configuration + * Support Sphinx 7.3 and drop 3.8 support + * Return injection fix + * Add option to force unions (and options) to be rendered with + bars + ------------------------------------------------------------------- Thu Feb 1 20:55:37 UTC 2024 - Dirk Müller diff --git a/python-sphinx-autodoc-typehints.spec b/python-sphinx-autodoc-typehints.spec index 4daa5eb..1872d74 100644 --- a/python-sphinx-autodoc-typehints.spec +++ b/python-sphinx-autodoc-typehints.spec @@ -28,12 +28,12 @@ %{?sle15_python_module_pythons} Name: python-sphinx-autodoc-typehints%{psuffix} -Version: 1.25.3 +Version: 2.2.2 Release: 0 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/tox-dev/sphinx-autodoc-typehints Source: https://files.pythonhosted.org/packages/source/s/sphinx_autodoc_typehints/sphinx_autodoc_typehints-%{version}.tar.gz # PATCH-FIX-OPENSUSE python-sphinx-autodoc-typehints-system-object.inv.patch gh#agronholm/sphinx-autodoc-typehints#174 mcepl@suse.com # Don't download inventory from the Internet, but use the local one. @@ -47,12 +47,12 @@ Requires: python-Sphinx >= 1.7 BuildArch: noarch %if %{with test} # SECTION tests -BuildRequires: %{python_module Sphinx >= 1.7} +BuildRequires: %{python_module Sphinx >= 7.3.5} BuildRequires: %{python_module doc} -BuildRequires: %{python_module nptyping} -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module sphobjinv} -BuildRequires: %{python_module typing_extensions} +BuildRequires: %{python_module nptyping >= 2.5} +BuildRequires: %{python_module pytest >= 8.1.1} +BuildRequires: %{python_module sphobjinv >= 2.3.1} +BuildRequires: %{python_module typing_extensions >= 4.11} %endif # /SECTION %python_subpackages diff --git a/sphinx_autodoc_typehints-1.25.3.tar.gz b/sphinx_autodoc_typehints-1.25.3.tar.gz deleted file mode 100644 index 3690351..0000000 --- a/sphinx_autodoc_typehints-1.25.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:70db10b391acf4e772019765991d2de0ff30ec0899b9ba137706dc0b3c4835e0 -size 37709 diff --git a/sphinx_autodoc_typehints-2.2.2.tar.gz b/sphinx_autodoc_typehints-2.2.2.tar.gz new file mode 100644 index 0000000..05f3c65 --- /dev/null +++ b/sphinx_autodoc_typehints-2.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:128e600eeef63b722f3d8dac6403594592c8cade3ba66fd11dcb997465ee259d +size 40324