The NetBSD Project

CVS log for pkgsrc/textproc/py-sphinx-autodoc-typehints/Makefile

[BACK] Up to [] / pkgsrc / textproc / py-sphinx-autodoc-typehints

Request diff between arbitrary revisions

Default branch: MAIN
Current tag: pkgsrc-2020Q2-base

Revision 1.4 / (download) - annotate - [select for diffs], Mon Apr 6 08:06:30 2020 UTC (3 months, 4 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2, HEAD
Changes since 1.3: +9 -2 lines
Diff to previous 1.3 (colored)

py-sphinx-autodoc-typehints: 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]``)

.. _typing_extensions:


* 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+


* Dropped support for Python 3.4
* 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)


* Fixed ``TypeError`` when formatting annotations from a class that inherits from a concrete
  generic type (report and tests by bpeake-illuscio)
* Added support for ``typing_extensions.Protocol`` (PR by Ian Good)
* Added support for ``typing.NewType`` (PR by George Leslie-Waksman)


* Emit a warning instead of crashing when an unresolvable forward reference is encountered in type


* Fixed escape characters in parameter default values getting lost during signature processing
* Replaced use of the ``config-inited`` event (which inadvertently required Sphinx 1.8) with the
  ``builder-inited`` event


* The setting of the ``typing.TYPECHECKING`` flag is now configurable using the
  ``set_type_checking_flag`` option


* The extension now sets ``typing.TYPECHECKING`` to ``True`` during setup to include conditional
  imports which may be used in type annotations
* Fixed parameters with trailing underscores (PR by Daniel Knell)
* Fixed KeyError with private methods (PR by Benito Palacios Sánchez)
* Fixed deprecation warning about the use of formatargspec (PR by Y. Somda)
* The minimum Sphinx version is now v1.7.0


* Fixed rendering of generic types outside the typing module (thanks to Tim Poterba for the PR)

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>