Compare commits
11 Commits
Author | SHA256 | Date | |
---|---|---|---|
e6c27d372e | |||
f7764bf4ec | |||
cdbd9942f7 | |||
3c575acc18 | |||
52038e39d6 | |||
a035405897 | |||
13ec76ff5e | |||
1fd1e1b3e1 | |||
586e47d5e2 | |||
2cdc162f41 | |||
aedacbe26f |
@@ -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>
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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
BIN
sphinx_autodoc_typehints-3.1.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Reference in New Issue
Block a user