Commit Graph

54 Commits

Author SHA256 Message Date
Ana Guerrero
3a0d278096 Accepting request 1202593 from devel:languages:python
- update to 2.4.4:
  * Fix placement of return type when there is a doctest
  * README and CI fixes

OBS-URL: https://build.opensuse.org/request/show/1202593
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=19
2024-09-24 15:31:45 +00:00
1feadc49d7 - update to 2.4.4:
* Fix placement of return type when there is a doctest
  * README and CI fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=51
2024-09-23 09:27:32 +00:00
Ana Guerrero
a0eba4f83e Accepting request 1199458 from devel:languages:python
- update to 2.4.0:
  * Drop 3.9 support
  * Add 3.13 support
- update to 2.3.0:
  * Add module name rewrite configuration option
- update to 2.2.3:
  * Fix mypy errors due to unneeded type ignores
  * Fix rendering when docstring starst with a directive

OBS-URL: https://build.opensuse.org/request/show/1199458
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=18
2024-09-09 12:44:34 +00:00
66a6ca619d - update to 2.4.0:
* Drop 3.9 support
  * Add 3.13 support
- update to 2.3.0:
  * Add module name rewrite configuration option
- update to 2.2.3:
  * Fix mypy errors due to unneeded type ignores
  * Fix rendering when docstring starst with a directive

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=49
2024-09-08 13:21:35 +00:00
Ana Guerrero
2b7689169f Accepting request 1183919 from devel:languages:python
- update to 2.2.2:
  * Fix for Issue #384: typehints_defaults = "braces-after" fails
    for a multiline `:param:` entry
  * Support autodoc_type_aliases configuration
  * Support Sphinx 7.3 and drop 3.8 support
  * Return injection fix
  * Add option to force unions (and options) to be rendered with
    bars

OBS-URL: https://build.opensuse.org/request/show/1183919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=17
2024-07-03 18:30:02 +00:00
c0de5a2303 - update to 2.2.2:
* Fix for Issue #384: typehints_defaults = "braces-after" fails
    for a multiline `:param:` entry
  * Support autodoc_type_aliases configuration
  * Support Sphinx 7.3 and drop 3.8 support
  * Return injection fix
  * Add option to force unions (and options) to be rendered with
    bars

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=47
2024-06-29 05:38:25 +00:00
Ana Guerrero
b0677940fb Accepting request 1143500 from devel:languages:python
- update to 1.25.3:
  * dependency bumps

OBS-URL: https://build.opensuse.org/request/show/1143500
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=16
2024-02-02 14:47:06 +00:00
2ffa7078c7 - update to 1.25.3:
* dependency bumps

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=45
2024-02-01 20:56:11 +00:00
Ana Guerrero
c802b7a700 Accepting request 1140272 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1140272
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=15
2024-01-21 22:09:57 +00:00
11e9016533 - 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
- Update to version 1.19.2
  python-sphinx-autodoc-typehints-system-object.inv.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=43
2024-01-14 10:22:38 +00:00
Ana Guerrero
1a76b25efa Accepting request 1099932 from devel:languages:python
- add sle15_python_module_pythons, remove skip_python2

OBS-URL: https://build.opensuse.org/request/show/1099932
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=14
2023-07-24 16:26:11 +00:00
11b7716f72 Accepting request 1099902 from home:ojkastl_buildservice:Branch_devel_languages_python
add sle15_python_module_pythons, remove skip_python2

OBS-URL: https://build.opensuse.org/request/show/1099902
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=41
2023-07-21 16:10:02 +00:00
Richard Brown
932d03e072 Accepting request 1008878 from devel:languages:python
- Update to version 1.19.2 
  * Fix incorrect domain used for collections.abc.Callable.
  * Support for CPython 3.11, no longer adds Optional when the argument is default

OBS-URL: https://build.opensuse.org/request/show/1008878
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=13
2022-10-07 23:26:16 +00:00
2512fecbbf changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=39
2022-10-07 19:16:01 +00:00
6ebbf9d64b Accepting request 1008848 from home:yarunachalam:branches:devel:languages:python
- Update to version 1.19.2 
  * Fix incorrect domain used for collections.abc.Callable.

OBS-URL: https://build.opensuse.org/request/show/1008848
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=38
2022-10-07 19:14:17 +00:00
Dominique Leuenberger
2cbd81c53e Accepting request 989341 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/989341
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=12
2022-08-08 06:44:48 +00:00
63a962a79d Accepting request 989231 from home:bnavigator:branches:devel:languages:python
- Update to 1.18.3
  * Fix for new nptyping by @gaborbernat in #235
- Remove requirement on old extra package pathlib

OBS-URL: https://build.opensuse.org/request/show/989231
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=36
2022-07-15 07:13:41 +00:00
Dominique Leuenberger
c938722f1c Accepting request 981057 from devel:languages:python
- Update to 1.18.2:
  - [pre-commit.ci] pre-commit autoupdate
  - Support and require nptyping 2.1.1

OBS-URL: https://build.opensuse.org/request/show/981057
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=11
2022-06-08 12:24:05 +00:00
42fab2d8e3 Adjust SPEC
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=34
2022-06-06 23:19:48 +00:00
43e903f39e Adjust SPEC
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=33
2022-06-06 23:11:04 +00:00
2311043ace Adjust SPEC
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=32
2022-06-06 23:04:59 +00:00
5a1ec36786 - Update to 1.18.2:
- [pre-commit.ci] pre-commit autoupdate
  - Support and require nptyping 2.1.1

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=31
2022-06-06 23:04:29 +00:00
Dominique Leuenberger
61a130ee30 Accepting request 976276 from devel:languages:python
- Switch to multibuild to break build cycles.
- Upgrade to 1.18.1:
  - Fix mocked module import not working when used as guarded
    import
  - Support and require nptyping>=2
  - Handle UnionType
  - Mark it as requiring nptyping<2
  - Add typehints_use_rtype option
  - Handles TypeError when getting source code via inspect
  - Add support for type subscriptions with multiple elements,
    where one or more elements are tuples; e.g.,
    nptyping.NDArray[(Any, ...), nptyping.Float]
  - Fix bug for arbitrary types accepting singleton
    subscriptions; e.g., nptyping.Float[64]
  - Resolve forward references
  - Expand and better handle TypeVar
  - Add intershpinx reference link for ... to Ellipsis (as is
    just an alias)
  - Prevents reaching inner blocks that contains if TYPE_CHECKING
  - Log a warning instead of crashing when a type guard import
    fails to resolve
  - When resolving type guard imports if the target module does
    not have source code (such is the case for C-extension
    modules) do nothing instead of crashing
  - Fix fully_qualified should be typehints_fully_qualified
  - Resolve type guard imports before evaluating annotations for
    objects
  - Remove set_type_checking_flag flag as this is now done by
    default
  - Fix crash when the inspect module returns an invalid python
    syntax source
  - Made formatting function configurable using the option
    typehints_formatter
  - Fixed normalize_source_lines() messing with the indentation
    of methods with decorators that have parameters starting with
    def.
  - Handle ValueError or TypeError being raised when signature of
    an object cannot be determined
  - Fix KeyError being thrown when argument is not documented
    (e.g. cls argument for class methods, and self for methods)
  - Added typehints_defaults config option allowing to
    automatically annotate parameter defaults.
  - Fixed NewType inserts a reference as first argument instead
    of a string
  - Dropped Python 3.6 support
  - Python 3.10 support
  - Normalize async functions properly
  - Allow py310 style annotations (PEP-563)

OBS-URL: https://build.opensuse.org/request/show/976276
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=10
2022-05-12 20:58:13 +00:00
a8c2cd2e2d Too much
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=29
2022-05-11 10:10:34 +00:00
fe370c2707 - Switch to multibuild to break build cycles.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=28
2022-05-11 10:08:49 +00:00
aa4b62857e Fix SPEC
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=27
2022-05-09 14:09:48 +00:00
ce57ddbe08 Fix SPEC
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=26
2022-05-09 14:05:14 +00:00
36e1105890 Accepting request 975167 from home:mcepl:branches:devel:languages:python
- Upgrade to 1.18.1:
  - Fix mocked module import not working when used as guarded
    import
  - Support and require nptyping>=2
  - Handle UnionType
  - Mark it as requiring nptyping<2
  - Add typehints_use_rtype option
  - Handles TypeError when getting source code via inspect
  - Add support for type subscriptions with multiple elements,
    where one or more elements are tuples; e.g.,
    nptyping.NDArray[(Any, ...), nptyping.Float]
  - Fix bug for arbitrary types accepting singleton
    subscriptions; e.g., nptyping.Float[64]
  - Resolve forward references
  - Expand and better handle TypeVar
  - Add intershpinx reference link for ... to Ellipsis (as is
    just an alias)
  - Prevents reaching inner blocks that contains if TYPE_CHECKING
  - Log a warning instead of crashing when a type guard import
    fails to resolve
  - When resolving type guard imports if the target module does
    not have source code (such is the case for C-extension
    modules) do nothing instead of crashing
  - Fix fully_qualified should be typehints_fully_qualified
  - Resolve type guard imports before evaluating annotations for
    objects
  - Remove set_type_checking_flag flag as this is now done by
    default
  - Fix crash when the inspect module returns an invalid python
    syntax source
  - Made formatting function configurable using the option
    typehints_formatter
  - Fixed normalize_source_lines() messing with the indentation
    of methods with decorators that have parameters starting with
    def.
  - Handle ValueError or TypeError being raised when signature of
    an object cannot be determined
  - Fix KeyError being thrown when argument is not documented
    (e.g. cls argument for class methods, and self for methods)
  - Added typehints_defaults config option allowing to
    automatically annotate parameter defaults.
  - Fixed NewType inserts a reference as first argument instead
    of a string
  - Dropped Python 3.6 support
  - Python 3.10 support
  - Normalize async functions properly
  - Allow py310 style annotations (PEP-563)

OBS-URL: https://build.opensuse.org/request/show/975167
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=25
2022-05-05 10:40:05 +00:00
Dominique Leuenberger
0819434c44 Accepting request 943000 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/943000
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=9
2021-12-30 14:55:23 +00:00
39a190e5d5 Accepting request 942819 from home:bnavigator:py310
- Skip python310: Not ready yet. Factory needs only the primary
  python3 flavor

OBS-URL: https://build.opensuse.org/request/show/942819
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=24
2021-12-29 00:37:48 +00:00
Dominique Leuenberger
81d9abbcb6 Accepting request 909938 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/909938
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=8
2021-08-03 20:48:56 +00:00
ab323f08fc Accepting request 909937 from home:mcepl:branches:devel:languages:python
- Update to 1.12.0:
  - Dropped Python 3.5 support
  - Added the simplify_optional_unions config option
  - Fixed indentation of multiline strings
  - Changed formatting of None to point to the Python stdlib docs
  - Updated special dataclass handling

OBS-URL: https://build.opensuse.org/request/show/909937
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=23
2021-08-03 09:50:38 +00:00
Dominique Leuenberger
780d0ced6a Accepting request 888210 from devel:languages:python
- 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).

OBS-URL: https://build.opensuse.org/request/show/888210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=7
2021-04-24 21:09:03 +00:00
2ba6c18315 Fix changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=21
2021-04-24 14:13:21 +00:00
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
Dominique Leuenberger
1991b5b765 Accepting request 888061 from devel:languages:python
- Add no-net-tests.patch which marks tests requiring network
  (gh#agronholm/sphinx-autodoc-typehints#174).
- 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
- remove python-sphinx-autodoc-typehints-system-object.inv.patch (breaks the build)

OBS-URL: https://build.opensuse.org/request/show/888061
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autodoc-typehints?expand=0&rev=6
2021-04-23 15:50:50 +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
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