2022-05-05 12:40:05 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu May 5 05:35:05 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
|
|
|
|
|
|
|
- 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)
|
|
|
|
|
2021-12-29 01:37:48 +01:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Dec 27 17:20:01 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
|
|
|
|
|
|
|
- Skip python310: Not ready yet. Factory needs only the primary
|
|
|
|
python3 flavor
|
|
|
|
|
2021-04-23 16:24:54 +02:00
|
|
|
-------------------------------------------------------------------
|
2021-08-03 11:50:38 +02:00
|
|
|
Tue Aug 3 09:42:00 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
|
|
|
|
|
|
|
- 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
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
2021-04-24 16:12:45 +02:00
|
|
|
Sat Apr 24 14:11:17 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
2021-04-23 16:24:54 +02:00
|
|
|
|
2021-04-24 16:12:45 +02:00
|
|
|
- Remove no-net-tests.patch as adding the fixed
|
|
|
|
python-sphinx-autodoc-typehints-system-object.inv.patch
|
2021-04-23 18:21:14 +02:00
|
|
|
makes tests requiring network working
|
2021-04-23 16:24:54 +02:00
|
|
|
(gh#agronholm/sphinx-autodoc-typehints#174).
|
|
|
|
|
2021-04-24 16:12:45 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Apr 23 14:24:23 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
|
|
|
|
|
|
|
- Add no-net-tests.patch which marks tests requiring network
|
2021-04-24 16:13:21 +02:00
|
|
|
(gh#agronholm/sphinx-autodoc-typehints#174).
|
2021-04-24 16:12:45 +02:00
|
|
|
|
2020-09-23 15:42:57 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Sep 23 13:29:55 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
|
|
|
|
|
|
|
- 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
|
2020-09-23 15:44:30 +02:00
|
|
|
- remove python-sphinx-autodoc-typehints-system-object.inv.patch (breaks the build)
|
2020-09-23 15:42:57 +02:00
|
|
|
|
2020-03-09 09:51:39 +01:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Mar 6 14:50:12 UTC 2020 - pgajdos@suse.com
|
|
|
|
|
|
|
|
- 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
|
|
|
|
|
2019-09-16 15:39:29 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Sep 16 13:38:42 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
|
|
|
|
|
|
|
- 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+
|
|
|
|
|
2019-09-10 12:06:41 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Sep 10 10:03:02 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
|
|
|
|
|
|
|
- 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
|
|
|
|
|
2019-07-03 11:14:31 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Jul 3 09:13:37 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
|
|
|
|
2019-07-03 11:20:15 +02:00
|
|
|
- Add patch to fix build with new sphinx:
|
|
|
|
* sphinx21.patch
|
2019-07-03 11:14:31 +02:00
|
|
|
|
2019-06-06 15:41:15 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Jun 6 13:41:01 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
|
|
|
|
|
|
|
- Drop not really needed devel dependency
|
|
|
|
|
2019-03-23 16:56:31 +01:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Sat Mar 23 14:37:28 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
|
|
|
|
|
|
|
- Remove patch setup-tests.patch, we are using pytest now.
|
|
|
|
|
2019-03-22 11:14:22 +01:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Mar 20 21:12:28 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
|
|
|
|
|
|
|
- initial package for version 1.6.0
|