1
0
Commit Graph

15 Commits

Author SHA256 Message Date
78bb76820f - Remove no-net-tests.patch as adding the fixed
python-sphinx-autodoc-typehints-system-object.inv.patch 
  makes tests requiring network working
  (gh#agronholm/sphinx-autodoc-typehints#174).
- Add no-net-tests.patch which marks tests requiring network

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=20
2021-04-24 14:12:45 +00:00
8b8a7243f8 - Readd fixed
python-sphinx-autodoc-typehints-system-object.inv.patch which
  makes tests requiring network working

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=19
2021-04-23 16:21:14 +00:00
96d010c0f2 - Add no-net-tests.patch which marks tests requiring network
(gh#agronholm/sphinx-autodoc-typehints#174).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=17
2021-04-23 14:24:54 +00:00
278aec5722 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=16 2020-09-23 13:44:38 +00:00
619846cf17 - remove python-sphinx-autodoc-typehints-system-object.inv.patch (breaks the build)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=15
2020-09-23 13:44:30 +00:00
2e49cccc20 - update to 1.11.0:
* Dropped support for Sphinx < 3.0
  * Added support for alternative parameter names (``arg``, ``argument``, ``parameter``)
  * Fixed import path for Signature (PR by Matthew Treinish)
  * Fixed ``TypeError`` when formatting a parametrized ``typing.IO`` annotation
  * Fixed data class displaying a return type in its ``__init__()`` method

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=14
2020-09-23 13:42:57 +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
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
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
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