12
0

11 Commits

Author SHA256 Message Date
e6c27d372e Accepting request 1266892 from devel:languages:python
- Update to 3.1.0:
  - Support Sphinx 8.2.0 - drop 3.10 support because Sphinx does
- Update to 3.0.1:
  - Fix roles for types module
  - Update Ruff to 0.9.1
- Update to 3.0.0:
  - 🐛 Replace docutils private API use w/ public
  - Drop support for nptyping
- Update to 2.5.0:
  - Fix the type checker
  - Apply typehints_formatter to signature

OBS-URL: https://build.opensuse.org/request/show/1266892
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=21
2025-04-03 14:51:06 +00:00
f7764bf4ec - Update to 3.1.0:
- Support Sphinx 8.2.0 - drop 3.10 support because Sphinx does
- Update to 3.0.1:
  - Fix roles for types module
  - Update Ruff to 0.9.1
- Update to 3.0.0:
  - 🐛 Replace docutils private API use w/ public
  - Drop support for nptyping
- Update to 2.5.0:
  - Fix the type checker
  - Apply typehints_formatter to signature

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=56
2025-04-03 12:58:40 +00:00
cdbd9942f7 Accepting request 1218927 from devel:languages:python
- Remove python-nptyping BuildRequirement for SLFO:Main

OBS-URL: https://build.opensuse.org/request/show/1218927
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=20
2024-10-29 13:34:52 +00:00
3c575acc18 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=54 2024-10-29 06:16:14 +00:00
52038e39d6 - Remove python-nptyping BuildRequirement for SLFO:Main
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=53
2024-10-28 13:03:33 +00:00
a035405897 Accepting request 1202593 from devel:languages:python
- update to 2.4.4:
  * Fix placement of return type when there is a doctest
  * README and CI fixes

OBS-URL: https://build.opensuse.org/request/show/1202593
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=19
2024-09-24 15:31:45 +00:00
13ec76ff5e - update to 2.4.4:
* Fix placement of return type when there is a doctest
  * README and CI fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=51
2024-09-23 09:27:32 +00:00
1fd1e1b3e1 Accepting request 1199458 from devel:languages:python
- update to 2.4.0:
  * Drop 3.9 support
  * Add 3.13 support
- update to 2.3.0:
  * Add module name rewrite configuration option
- update to 2.2.3:
  * Fix mypy errors due to unneeded type ignores
  * Fix rendering when docstring starst with a directive

OBS-URL: https://build.opensuse.org/request/show/1199458
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=18
2024-09-09 12:44:34 +00:00
586e47d5e2 - update to 2.4.0:
* Drop 3.9 support
  * Add 3.13 support
- update to 2.3.0:
  * Add module name rewrite configuration option
- update to 2.2.3:
  * Fix mypy errors due to unneeded type ignores
  * Fix rendering when docstring starst with a directive

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=49
2024-09-08 13:21:35 +00:00
2cdc162f41 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
2024-07-03 18:30:02 +00:00
aedacbe26f - 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
2024-06-29 05:38:25 +00:00
4 changed files with 68 additions and 12 deletions

View File

@@ -1,3 +1,54 @@
-------------------------------------------------------------------
Thu Apr 3 12:55:29 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Update to 3.1.0:
- Support Sphinx 8.2.0 - drop 3.10 support because Sphinx does
- Update to 3.0.1:
- Fix roles for types module
- Update Ruff to 0.9.1
- Update to 3.0.0:
- 🐛 Replace docutils private API use w/ public
- Drop support for nptyping
- Update to 2.5.0:
- Fix the type checker
- Apply typehints_formatter to signature
-------------------------------------------------------------------
Mon Oct 28 13:03:06 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Remove python-nptyping BuildRequirement for SLFO:Main
-------------------------------------------------------------------
Mon Sep 23 09:25:23 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.4.4:
* Fix placement of return type when there is a doctest
* README and CI fixes
-------------------------------------------------------------------
Sun Sep 8 13:20:42 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.4.0:
* Drop 3.9 support
* Add 3.13 support
- update to 2.3.0:
* Add module name rewrite configuration option
- update to 2.2.3:
* Fix mypy errors due to unneeded type ignores
* Fix rendering when docstring starst with a directive
-------------------------------------------------------------------
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

@@ -1,7 +1,7 @@
#
# spec file for package python-sphinx-autodoc-typehints
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,12 +28,12 @@
%{?sle15_python_module_pythons}
Name: python-sphinx-autodoc-typehints%{psuffix}
Version: 1.25.3
Version: 3.1.0
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,17 @@ 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 pytest >= 8.1.1}
BuildRequires: %{python_module sphobjinv >= 2.3.1}
BuildRequires: %{python_module typing_extensions >= 4.11}
# Do not depend on nptyping for SLFO:Main
%if 0%{suse_version} > 1600
BuildRequires: %{python_module nptyping >= 2.5}
%endif
%endif
# /SECTION
%python_subpackages
@@ -85,7 +90,7 @@ export PYTHONPATH=./src
%if %{without test}
%files %{python_files}
%license LICENSE
%doc README.md CHANGELOG.md
%doc README.md
%{python_sitelib}/%{modname}-%{version}*-info
%{python_sitelib}/%{modname}
%endif

View File

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

BIN
sphinx_autodoc_typehints-3.1.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.