Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-sphinx-autodoc-typehints for
openSUSE:Factory checked in at 2024-01-21 23:09:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinx-autodoc-typehints (Old)
and /work/SRC/openSUSE:Factory/.python-sphinx-autodoc-typehints.new.16006
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinx-autodoc-typehints"
Sun Jan 21 23:09:57 2024 rev:15 rq:1140272 version:1.25.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-sphinx-autodoc-typehints/python-sphinx-autodoc-typehints.changes
2023-07-24 18:26:38.834390070 +0200
+++
/work/SRC/openSUSE:Factory/.python-sphinx-autodoc-typehints.new.16006/python-sphinx-autodoc-typehints.changes
2024-01-21 23:10:22.217910297 +0100
@@ -1,0 +2,30 @@
+Sun Jan 14 10:21:24 UTC 2024 - Dirk Müller <[email protected]>
+
+- update to 1.25.2:
+ * Allow Sphinx explicitly to write in parallel.
+ * Fixed crash when documenting ParamSpecArgs
+ * Fixed a bug where if a class has an attribute and a constructor
+ argument with the same name, the constructor argument
+ type would be rendered incorrectly (issue 308)
+ * Fixed napoleon handling of numpy docstrings with no specified
+ return type.
+ * Fix a `Field list ends without a blank line` warning (issue 305).
+ * More robust determination of rtype location / fix issue 302
+ * Improvements to the location of the return type
+ * Use format_annotation to render class attribute type annotations
+ * Fix overloads support
+ * Fix spacing between `:rtype:` and directives
+ * Handle types from types module
+ * If module is \_io, use io instead
+ * Put rtype before examples or usage section
+ * Remove redundant return type for attributes
+ * Handle collections.abc.Callable as well as typing.Callable
+ * Put Literal args in code blocks
+ * Fix Optional role to be data.
+ * Fixed default options not displaying for parameters without
+ type hints.
+ * Use hatchling instead of setuptools
+ * Add support for typing.ParamSpec
+ * Allow star prefixes for parameter names in docstring
+
+-------------------------------------------------------------------
Old:
----
sphinx_autodoc_typehints-1.19.2.tar.gz
New:
----
sphinx_autodoc_typehints-1.25.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sphinx-autodoc-typehints.spec ++++++
--- /var/tmp/diff_new_pack.n5sxXq/_old 2024-01-21 23:10:23.761966580 +0100
+++ /var/tmp/diff_new_pack.n5sxXq/_new 2024-01-21 23:10:23.765966726 +0100
@@ -1,7 +1,7 @@
#
# spec file
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# 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: 1.19.2
+Version: 1.25.2
Release: 0
Summary: Type hints (PEP 484) support for the Sphinx autodoc extension
License: MIT
@@ -38,9 +38,8 @@
# PATCH-FIX-OPENSUSE python-sphinx-autodoc-typehints-system-object.inv.patch
gh#agronholm/sphinx-autodoc-typehints#174 [email protected]
# Don't download inventory from the Internet, but use the local one.
Patch0: python-sphinx-autodoc-typehints-system-object.inv.patch
+BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module pip}
-BuildRequires: %{python_module setuptools >= 36.2.7}
-BuildRequires: %{python_module setuptools_scm >= 1.7.0}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
++++++ python-sphinx-autodoc-typehints-system-object.inv.patch ++++++
--- /var/tmp/diff_new_pack.n5sxXq/_old 2024-01-21 23:10:23.793967747 +0100
+++ /var/tmp/diff_new_pack.n5sxXq/_new 2024-01-21 23:10:23.793967747 +0100
@@ -2,9 +2,11 @@
tests/conftest.py | 13 ++-----------
1 file changed, 2 insertions(+), 11 deletions(-)
---- a/tests/conftest.py
-+++ b/tests/conftest.py
-@@ -18,17 +18,8 @@ collect_ignore = ["roots"]
+Index: sphinx_autodoc_typehints-1.25.2/tests/conftest.py
+===================================================================
+--- sphinx_autodoc_typehints-1.25.2.orig/tests/conftest.py
++++ sphinx_autodoc_typehints-1.25.2/tests/conftest.py
+@@ -19,16 +19,8 @@ collect_ignore = ["roots"]
@pytest.fixture(scope="session")
def inv(pytestconfig: Config) -> Inventory:
@@ -14,8 +16,7 @@
- if inv_dict is not None:
- return Inventory(inv_dict)
-
-- print("Downloading objects.inv")
-- url =
"https://docs.python.org/{v.major}.{v.minor}/objects.inv".format(v=sys.version_info)
+- url =
f"https://docs.python.org/{sys.version_info.major}.{sys.version_info.minor}/objects.inv"
- inv = Inventory(url=url)
- pytestconfig.cache.set(cache_path, inv.json_dict())
- return inv
++++++ sphinx_autodoc_typehints-1.19.2.tar.gz ->
sphinx_autodoc_typehints-1.25.2.tar.gz ++++++
++++ 5723 lines of diff (skipped)