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 2022-06-08 14:24:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-sphinx-autodoc-typehints (Old) and /work/SRC/openSUSE:Factory/.python-sphinx-autodoc-typehints.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinx-autodoc-typehints" Wed Jun 8 14:24:05 2022 rev:11 rq:981057 version:1.18.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-sphinx-autodoc-typehints/python-sphinx-autodoc-typehints.changes 2022-05-12 22:58:32.256649966 +0200 +++ /work/SRC/openSUSE:Factory/.python-sphinx-autodoc-typehints.new.1548/python-sphinx-autodoc-typehints.changes 2022-06-08 14:24:18.788457168 +0200 @@ -1,0 +2,7 @@ +Mon Jun 6 23:01:55 UTC 2022 - Matej Cepl <mc...@suse.com> + +- Update to 1.18.2: + - [pre-commit.ci] pre-commit autoupdate + - Support and require nptyping 2.1.1 + +------------------------------------------------------------------- Old: ---- sphinx_autodoc_typehints-1.18.1.tar.gz New: ---- sphinx_autodoc_typehints-1.18.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sphinx-autodoc-typehints.spec ++++++ --- /var/tmp/diff_new_pack.2ZiTjx/_old 2022-06-08 14:24:19.288457788 +0200 +++ /var/tmp/diff_new_pack.2ZiTjx/_new 2022-06-08 14:24:19.292457793 +0200 @@ -18,6 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 +%define skip_python36 1 %define modname sphinx_autodoc_typehints %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" @@ -28,18 +29,20 @@ %bcond_with test %endif Name: python-sphinx-autodoc-typehints%{psuffix} -Version: 1.18.1 +Version: 1.18.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 -Source: https://files.pythonhosted.org/packages/source/s/sphinx-autodoc-typehints/sphinx_autodoc_typehints-%{version}.tar.gz +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 mc...@suse.com # Don't download inventory from the Internet, but use the local one. Patch0: python-sphinx-autodoc-typehints-system-object.inv.patch +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 Requires: python-Sphinx >= 1.7 @@ -65,12 +68,12 @@ %autosetup -p1 -n sphinx_autodoc_typehints-%{version} %build -%python_build +%pyproject_wheel %python_expand sed -i -e 's/@PYTHON_VERSION@/%{$python_version}/' tests/conftest.py %install %if %{without test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif ++++++ sphinx_autodoc_typehints-1.18.1.tar.gz -> sphinx_autodoc_typehints-1.18.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinx_autodoc_typehints-1.18.1/.pre-commit-config.yaml new/sphinx_autodoc_typehints-1.18.2/.pre-commit-config.yaml --- old/sphinx_autodoc_typehints-1.18.1/.pre-commit-config.yaml 2022-04-13 09:34:30.000000000 +0200 +++ new/sphinx_autodoc_typehints-1.18.2/.pre-commit-config.yaml 2022-06-03 11:43:34.000000000 +0200 @@ -12,7 +12,7 @@ - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/asottile/pyupgrade - rev: v2.32.0 + rev: v2.32.1 hooks: - id: pyupgrade args: [ "--py37-plus" ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinx_autodoc_typehints-1.18.1/CHANGELOG.md new/sphinx_autodoc_typehints-1.18.2/CHANGELOG.md --- old/sphinx_autodoc_typehints-1.18.1/CHANGELOG.md 2022-04-13 09:34:30.000000000 +0200 +++ new/sphinx_autodoc_typehints-1.18.2/CHANGELOG.md 2022-06-03 11:43:34.000000000 +0200 @@ -1,5 +1,9 @@ # Changelog +## 1.18.2 + +- Support and require `nptyping>=2.1.1` + ## 1.18.1 - Fix mocked module import not working when used as guarded import diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinx_autodoc_typehints-1.18.1/PKG-INFO new/sphinx_autodoc_typehints-1.18.2/PKG-INFO --- old/sphinx_autodoc_typehints-1.18.1/PKG-INFO 2022-04-13 09:34:40.982365600 +0200 +++ new/sphinx_autodoc_typehints-1.18.2/PKG-INFO 2022-06-03 11:43:43.826064600 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: sphinx_autodoc_typehints -Version: 1.18.1 +Version: 1.18.2 Summary: Type hints (PEP 484) support for the Sphinx autodoc extension Home-page: https://github.com/tox-dev/sphinx-autodoc-typehints Download-URL: https://github.com/tox-dev/sphinx-autodoc-typehints/archive/main.zip @@ -10,7 +10,6 @@ Project-URL: Changelog, https://github.com/tox-dev/sphinx-autodoc-typehints/blob/main/CHANGELOG.md Project-URL: Source, https://github.com/tox-dev/sphinx-autodoc-typehints Project-URL: Tracker, https://github.com/tox-dev/sphinx-autodoc-typehints/issues -Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Framework :: Sphinx :: Extension Classifier: Intended Audience :: Developers @@ -159,5 +158,3 @@ # type: (...) -> int return 42 ``` - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinx_autodoc_typehints-1.18.1/setup.cfg new/sphinx_autodoc_typehints-1.18.2/setup.cfg --- old/sphinx_autodoc_typehints-1.18.1/setup.cfg 2022-04-13 09:34:40.982365600 +0200 +++ new/sphinx_autodoc_typehints-1.18.2/setup.cfg 2022-06-03 11:43:43.830064500 +0200 @@ -43,7 +43,7 @@ covdefaults>=2.2 coverage>=6.3 diff-cover>=6.4 - nptyping>=2 + nptyping>=2.1.1 pytest>=7.1 pytest-cov>=3 sphobjinv>=2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinx_autodoc_typehints-1.18.1/src/sphinx_autodoc_typehints/version.py new/sphinx_autodoc_typehints-1.18.2/src/sphinx_autodoc_typehints/version.py --- old/sphinx_autodoc_typehints-1.18.1/src/sphinx_autodoc_typehints/version.py 2022-04-13 09:34:39.000000000 +0200 +++ new/sphinx_autodoc_typehints-1.18.2/src/sphinx_autodoc_typehints/version.py 2022-06-03 11:43:42.000000000 +0200 @@ -1,5 +1,5 @@ # coding: utf-8 # file generated by setuptools_scm # don't change, don't track in version control -version = '1.18.1' -version_tuple = (1, 18, 1) +version = '1.18.2' +version_tuple = (1, 18, 2) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinx_autodoc_typehints-1.18.1/src/sphinx_autodoc_typehints.egg-info/PKG-INFO new/sphinx_autodoc_typehints-1.18.2/src/sphinx_autodoc_typehints.egg-info/PKG-INFO --- old/sphinx_autodoc_typehints-1.18.1/src/sphinx_autodoc_typehints.egg-info/PKG-INFO 2022-04-13 09:34:40.000000000 +0200 +++ new/sphinx_autodoc_typehints-1.18.2/src/sphinx_autodoc_typehints.egg-info/PKG-INFO 2022-06-03 11:43:43.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: sphinx-autodoc-typehints -Version: 1.18.1 +Version: 1.18.2 Summary: Type hints (PEP 484) support for the Sphinx autodoc extension Home-page: https://github.com/tox-dev/sphinx-autodoc-typehints Download-URL: https://github.com/tox-dev/sphinx-autodoc-typehints/archive/main.zip @@ -10,7 +10,6 @@ Project-URL: Changelog, https://github.com/tox-dev/sphinx-autodoc-typehints/blob/main/CHANGELOG.md Project-URL: Source, https://github.com/tox-dev/sphinx-autodoc-typehints Project-URL: Tracker, https://github.com/tox-dev/sphinx-autodoc-typehints/issues -Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Framework :: Sphinx :: Extension Classifier: Intended Audience :: Developers @@ -159,5 +158,3 @@ # type: (...) -> int return 42 ``` - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinx_autodoc_typehints-1.18.1/src/sphinx_autodoc_typehints.egg-info/requires.txt new/sphinx_autodoc_typehints-1.18.2/src/sphinx_autodoc_typehints.egg-info/requires.txt --- old/sphinx_autodoc_typehints-1.18.1/src/sphinx_autodoc_typehints.egg-info/requires.txt 2022-04-13 09:34:40.000000000 +0200 +++ new/sphinx_autodoc_typehints-1.18.2/src/sphinx_autodoc_typehints.egg-info/requires.txt 2022-06-03 11:43:43.000000000 +0200 @@ -4,7 +4,7 @@ covdefaults>=2.2 coverage>=6.3 diff-cover>=6.4 -nptyping>=2 +nptyping>=2.1.1 pytest>=7.1 pytest-cov>=3 sphobjinv>=2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinx_autodoc_typehints-1.18.1/tests/test_sphinx_autodoc_typehints.py new/sphinx_autodoc_typehints-1.18.2/tests/test_sphinx_autodoc_typehints.py --- old/sphinx_autodoc_typehints-1.18.1/tests/test_sphinx_autodoc_typehints.py 2022-04-13 09:34:30.000000000 +0200 +++ new/sphinx_autodoc_typehints-1.18.2/tests/test_sphinx_autodoc_typehints.py 2022-06-03 11:43:34.000000000 +0200 @@ -241,42 +241,42 @@ # Internal tuple with following additional type cannot be flattened (specific to nptyping?) # These cases will fail if nptyping restructures its internal module hierarchy ( - nptyping.NDArray[nptyping.Shape["*"], nptyping.Float], + nptyping.NDArray[nptyping.Shape["*"], nptyping.Float], # type: ignore # nptyping/issues/77 ( - ":py:class:`~nptyping.ndarray.NDArray`\\[:py:data:`~typing.Literal`\\['*'], " + ":py:class:`~nptyping.base_meta_classes.NDArray`\\[:py:class:`~nptyping.base_meta_classes.Shape`\\[*], " ":py:class:`~numpy.float64`]" ), ), ( - nptyping.NDArray[nptyping.Shape["64"], nptyping.Float], + nptyping.NDArray[nptyping.Shape["64"], nptyping.Float], # type: ignore # nptyping/issues/77 ( - ":py:class:`~nptyping.ndarray.NDArray`\\[:py:data:`~typing.Literal`\\['64'], " - ":py:class:`~numpy.float64`]" + ":py:class:`~nptyping.base_meta_classes.NDArray`\\[:py:class:`~nptyping.base_meta_classes.Shape`\\[64]," + " :py:class:`~numpy.float64`]" ), ), ( - nptyping.NDArray[nptyping.Shape["*, *"], nptyping.Float], + nptyping.NDArray[nptyping.Shape["*, *"], nptyping.Float], # type: ignore # nptyping/issues/77 ( - ":py:class:`~nptyping.ndarray.NDArray`\\[:py:data:`~typing.Literal`\\['*, " - "*'], :py:class:`~numpy.float64`]" + ":py:class:`~nptyping.base_meta_classes.NDArray`\\[:py:class:`~nptyping.base_meta_classes.Shape`\\[*, " + "*], :py:class:`~numpy.float64`]" ), ), ( - nptyping.NDArray[nptyping.Shape["*, ..."], nptyping.Float], - (":py:class:`~nptyping.ndarray.NDArray`\\[:py:data:`~typing.Any`, :py:class:`~numpy.float64`]"), + nptyping.NDArray[nptyping.Shape["*, ..."], nptyping.Float], # type: ignore # nptyping/issues/77 + (":py:class:`~nptyping.base_meta_classes.NDArray`\\[:py:data:`~typing.Any`, :py:class:`~numpy.float64`]"), ), ( - nptyping.NDArray[nptyping.Shape["*, 3"], nptyping.Float], + nptyping.NDArray[nptyping.Shape["*, 3"], nptyping.Float], # type: ignore # nptyping/issues/77 ( - ":py:class:`~nptyping.ndarray.NDArray`\\[:py:data:`~typing.Literal`\\['*, 3'], " - ":py:class:`~numpy.float64`]" + ":py:class:`~nptyping.base_meta_classes.NDArray`\\[:py:class:`~nptyping.base_meta_classes.Shape`\\[*, 3" + "], :py:class:`~numpy.float64`]" ), ), ( - nptyping.NDArray[nptyping.Shape["3, ..."], nptyping.Float], + nptyping.NDArray[nptyping.Shape["3, ..."], nptyping.Float], # type: ignore # nptyping/issues/77 ( - ":py:class:`~nptyping.ndarray.NDArray`\\[:py:data:`~typing.Literal`\\['3, ...'], " - ":py:class:`~numpy.float64`]" + ":py:class:`~nptyping.base_meta_classes.NDArray`\\[:py:class:`~nptyping.base_meta_classes.Shape`\\[3, " + "...], :py:class:`~numpy.float64`]" ), ), ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinx_autodoc_typehints-1.18.1/tox.ini new/sphinx_autodoc_typehints-1.18.2/tox.ini --- old/sphinx_autodoc_typehints-1.18.1/tox.ini 2022-04-13 09:34:30.000000000 +0200 +++ new/sphinx_autodoc_typehints-1.18.2/tox.ini 2022-06-03 11:43:34.000000000 +0200 @@ -45,7 +45,7 @@ setenv = {tty:MYPY_FORCE_COLOR = 1} deps = - mypy==0.942 + mypy==0.960 types-docutils commands = mypy --python-version 3.10 src