Accepting request 1183919 from devel:languages:python

- 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/request/show/1183919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=17
This commit is contained in:
Ana Guerrero 2024-07-03 18:30:02 +00:00 committed by Git OBS Bridge
commit 2b7689169f
4 changed files with 22 additions and 10 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat Jun 29 05:37:49 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:70db10b391acf4e772019765991d2de0ff30ec0899b9ba137706dc0b3c4835e0
size 37709

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:128e600eeef63b722f3d8dac6403594592c8cade3ba66fd11dcb997465ee259d
size 40324