From 657748ea33db607889456bcdfd257082ebd27149f05f4d11602cc2a055fdcfc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 16 Sep 2019 13:39:29 +0000 Subject: [PATCH] =?UTF-8?q?-=20Update=20to=201.8.0:=20=20=20*=20Fixed=20re?= =?UTF-8?q?gression=20which=20caused=20TypeError=20or=20OSError=20when=20t?= =?UTF-8?q?rying=20to=20set=20annotations=20due=20to=20PR=20#87=20=20=20*?= =?UTF-8?q?=20Fixed=20unintentional=20mangling=20of=20annotation=20type=20?= =?UTF-8?q?names=20=20=20*=20Added=20proper=20:py:data=20targets=20for=20N?= =?UTF-8?q?oReturn,=20ClassVar=20and=20Tuple=20=20=20*=20Added=20support?= =?UTF-8?q?=20for=20inline=20type=20comments=20(like=20(int,=20str)=20->?= =?UTF-8?q?=20None)=20(PR=20by=20Bern=C3=A1t=20G=C3=A1bor)=20=20=20*=20Use?= =?UTF-8?q?=20the=20native=20AST=20parser=20for=20type=20comment=20support?= =?UTF-8?q?=20on=20Python=203.8+?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=10 --- python-sphinx-autodoc-typehints.changes | 10 ++++++++++ python-sphinx-autodoc-typehints.spec | 2 +- sphinx-autodoc-typehints-1.7.0.tar.gz | 3 --- sphinx-autodoc-typehints-1.8.0.tar.gz | 3 +++ 4 files changed, 14 insertions(+), 4 deletions(-) delete mode 100644 sphinx-autodoc-typehints-1.7.0.tar.gz create mode 100644 sphinx-autodoc-typehints-1.8.0.tar.gz diff --git a/python-sphinx-autodoc-typehints.changes b/python-sphinx-autodoc-typehints.changes index 8007634..3d5c6d4 100644 --- a/python-sphinx-autodoc-typehints.changes +++ b/python-sphinx-autodoc-typehints.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Sep 16 13:38:42 UTC 2019 - Tomáš Chvátal + +- Update to 1.8.0: + * Fixed regression which caused TypeError or OSError when trying to set annotations due to PR #87 + * Fixed unintentional mangling of annotation type names + * Added proper :py:data targets for NoReturn, ClassVar and Tuple + * Added support for inline type comments (like (int, str) -> None) (PR by Bernát Gábor) + * Use the native AST parser for type comment support on Python 3.8+ + ------------------------------------------------------------------- Tue Sep 10 10:03:02 UTC 2019 - Tomáš Chvátal diff --git a/python-sphinx-autodoc-typehints.spec b/python-sphinx-autodoc-typehints.spec index 6ffde03..8750afa 100644 --- a/python-sphinx-autodoc-typehints.spec +++ b/python-sphinx-autodoc-typehints.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-sphinx-autodoc-typehints -Version: 1.7.0 +Version: 1.8.0 Release: 0 Summary: Type hints (PEP 484) support for the Sphinx autodoc extension License: MIT diff --git a/sphinx-autodoc-typehints-1.7.0.tar.gz b/sphinx-autodoc-typehints-1.7.0.tar.gz deleted file mode 100644 index 742a752..0000000 --- a/sphinx-autodoc-typehints-1.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8eb1e2bc248d316a9faeca086c6133623f6d45770e342738158249356989b95c -size 13078 diff --git a/sphinx-autodoc-typehints-1.8.0.tar.gz b/sphinx-autodoc-typehints-1.8.0.tar.gz new file mode 100644 index 0000000..b7dea4d --- /dev/null +++ b/sphinx-autodoc-typehints-1.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d968ec3ee4f7fe7695ab6facf5cd2d74d3cea67584277458ad9b2788ebbcc3b +size 14730