1
0
Commit Graph

13 Commits

Author SHA256 Message Date
Dominique Leuenberger
f12d1eaa03 Accepting request 782837 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/782837
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=5
2020-03-10 13:05:52 +00:00
Tomáš Chvátal
1b523451b8 Accepting request 782143 from home:pgajdos:python
- version update to 1.10.3
  * Fixed ``TypeError`` (or wrong rendered class name) when an annotation is a generic class that has
    a ``name`` property
  * Fixed inner classes missing their parent class name(s) when rendered
  * Fixed ``KeyError`` when encountering mocked annotations (``autodoc_mock_imports``)
  * Rewrote the annotation formatting logic (fixes Python 3.5.2 compatibility regressions and an
    ``AttributeError`` regression introduced in v1.9.0)
  * Fixed decorator classes not being processed as classes
  * Added support for typing_extensions_
  * Added the ``typehints_document_rtype`` option (PR by Simon-Martin Schröder)
  * Fixed metaclasses as annotations causing ``TypeError``
  * Fixed rendering of ``typing.Literal``
  * Fixed OSError when generating docs for SQLAlchemy mapped classes
  * Fixed unparametrized generic classes being rendered with their type parameters
    (e.g. ``Dict[~KT, ~VT]``)
- added patches
  fix use object.inv which comes with python-doc
  + python-sphinx-autodoc-typehints-system-object.inv.patch

OBS-URL: https://build.opensuse.org/request/show/782143
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=12
2020-03-09 08:51:39 +00:00
Yuchen Lin
0c987f4f15 Accepting request 731298 from devel:languages:python
- 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+

OBS-URL: https://build.opensuse.org/request/show/731298
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=4
2019-09-17 11:39:12 +00:00
Tomáš Chvátal
657748ea33 - 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+

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=10
2019-09-16 13:39:29 +00:00
Dominique Leuenberger
48d2b3f60e Accepting request 729759 from devel:languages:python
- Update to 1.7.0:
  * Fixed unwrapped local functions causing errors (PR by Kimiyuki Onaka)
  * Fixed AttributeError when documenting the __init__() method of a data class
  * Added support for type hint comments (PR by Markus Unterwaditzer)
  * Added flag for rendering classes with their fully qualified names (PR by Holly Becker)
- Remove merged patch sphinx21.patch

OBS-URL: https://build.opensuse.org/request/show/729759
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=3
2019-09-11 08:35:14 +00:00
Tomáš Chvátal
052fcc22a2 - Update to 1.7.0:
* Fixed unwrapped local functions causing errors (PR by Kimiyuki Onaka)
  * Fixed AttributeError when documenting the __init__() method of a data class
  * Added support for type hint comments (PR by Markus Unterwaditzer)
  * Added flag for rendering classes with their fully qualified names (PR by Holly Becker)
- Remove merged patch sphinx21.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=8
2019-09-10 10:06:41 +00:00
Dominique Leuenberger
c5758390b2 Accepting request 713192 from devel:languages:python
- Add patch to fix build with new sphinx:
  * sphinx21.patch

- Drop not really needed devel dependency

OBS-URL: https://build.opensuse.org/request/show/713192
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=2
2019-07-04 13:43:28 +00:00
Tomáš Chvátal
7f7d27d3b7 - Add patch to fix build with new sphinx:
* sphinx21.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=6
2019-07-03 09:20:15 +00:00
Tomáš Chvátal
88d4a5acf0 - Add patch to fix build with new sphinx
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=5
2019-07-03 09:14:31 +00:00
Tomáš Chvátal
a093b1d73a - Drop not really needed devel dependency
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=4
2019-06-06 13:41:15 +00:00
Dominique Leuenberger
4f6cc02cb7 Accepting request 687908 from devel:languages:python
- Remove patch setup-tests.patch, we are using pytest now.
- initial package for version 1.6.0

OBS-URL: https://build.opensuse.org/request/show/687908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=1
2019-03-24 14:01:35 +00:00
Tomáš Chvátal
56ff328a60 Accepting request 687903 from home:sebix:branches:devel:languages:python
please forward to Factory
- Remove patch setup-tests.patch, we are using pytest now.

OBS-URL: https://build.opensuse.org/request/show/687903
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=2
2019-03-23 15:56:31 +00:00
Thomas Bechtold
5ee444f032 Accepting request 687459 from home:sebix
initial package
can also maintain if you wish

OBS-URL: https://build.opensuse.org/request/show/687459
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=1
2019-03-22 10:14:22 +00:00