1
0

9 Commits

Author SHA256 Message Date
19a07c508d Accepting request 1316807 from devel:languages:python
- update to 3.5.2:
  * Preserve type information from docstrings if no type
    annotation is present and parameter has default value.
- update to 3.5.1:
  * Declare 3.14 support
- update to 3.5.0:
  * Support Union type on its own
- update to 3.4.0:
  * Python 3.14 support
- update to 3.3.0:
  * Warning types and subtypes
- update to 3.2.0:
  * Fixed broken changelog link
  * Fix issue #481
  * Don't add :rtype: None
  * Place rtype after directive

  - Replace docutils private API use w/ public

OBS-URL: https://build.opensuse.org/request/show/1316807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=22
2025-11-10 18:18:35 +00:00
8068ca0350 - update to 3.5.2:
* Preserve type information from docstrings if no type
    annotation is present and parameter has default value.
- update to 3.5.1:
  * Declare 3.14 support
- update to 3.5.0:
  * Support Union type on its own
- update to 3.4.0:
  * Python 3.14 support
- update to 3.3.0:
  * Warning types and subtypes
- update to 3.2.0:
  * Fixed broken changelog link
  * Fix issue #481
  * Don't add :rtype: None
  * Place rtype after directive
  - Replace docutils private API use w/ public

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=58
2025-11-10 08:08:59 +00:00
530440d8fe 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
25562bf16f - 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
2dc2a23cff 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
f3a06afc32 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
555de69fb6 - 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
3a0d278096 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
1feadc49d7 - 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
4 changed files with 59 additions and 7 deletions

View File

@@ -1,3 +1,50 @@
-------------------------------------------------------------------
Mon Nov 10 08:08:18 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 3.5.2:
* Preserve type information from docstrings if no type
annotation is present and parameter has default value.
- update to 3.5.1:
* Declare 3.14 support
- update to 3.5.0:
* Support Union type on its own
- update to 3.4.0:
* Python 3.14 support
- update to 3.3.0:
* Warning types and subtypes
- update to 3.2.0:
* Fixed broken changelog link
* Fix issue #481
* Don't add :rtype: None
* Place rtype after directive
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-sphinx-autodoc-typehints
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,7 +28,7 @@
%{?sle15_python_module_pythons}
Name: python-sphinx-autodoc-typehints%{psuffix}
Version: 2.4.0
Version: 3.5.2
Release: 0
Summary: Type hints (PEP 484) support for the Sphinx autodoc extension
License: MIT
@@ -49,10 +49,15 @@ BuildArch: noarch
# SECTION tests
BuildRequires: %{python_module Sphinx >= 7.3.5}
BuildRequires: %{python_module doc}
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}
# 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:8f8281654ddf5709875429b7120d367f4edee39a131e13d5806e4f779a81bf0f
size 40568

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5fcd4a3eb7aa89424c1e2e32bedca66edc38367569c9169a80f4b3e934171fdb
size 37839