2023-07-01 13:31:53 by Thomas Klausner | Files touched by this commit (2) | |
Log message:
py-sphinx-autodoc-typehints: update to 1.23.2.
1.23.2
What's Changed
Test against 3.12 beta 2 by @gaborbernat in #360
Remove dependency on itself from pyproject.toml by @0-wiz-0 in #361
1.23.1
What's Changed
Fix broken github link in README.md by @thisch in #346
Bump deps and tools by @gaborbernat in #348
Add trusted-publish by @gaborbernat in #350
Add 3.12 support by @gaborbernat in #352
Bump pypa/gh-action-pypi-publish from 1.8.5 to 1.8.6 by @dependabot in #354
Use ruff by @gaborbernat in #359
|
2023-07-01 10:37:47 by Thomas Klausner | Files touched by this commit (105) | |
Log message:
*: restrict py-numpy users to 3.9+ in preparation for update
|
2023-05-06 11:28:24 by Thomas Klausner | Files touched by this commit (3) |
Log message:
## 1.22
- Allow Sphinx explicitly to write in parallel.
- Fixed crash when documenting ParamSpecArgs
## 1.21.7
- 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.
## 1.21.6
- Fix a `Field list ends without a blank line` warning (issue 305).
## 1.21.5
- More robust determination of rtype location / fix issue 302
## 1.21.4
- Improvements to the location of the return type
## 1.21.3
- Use format_annotation to render class attribute type annotations
## 1.21.2
- Fix overloads support
## 1.21.1
- Fix spacing between `:rtype:` and directives
## 1.21
- 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
## 1.20.2
- Fix Optional role to be data.
## 1.20.1
- Fixed default options not displaying for parameters without type hints.
## 1.20
- Use hatchling instead of setuptools
- Add support for typing.ParamSpec
- Allow star prefixes for parameter names in docstring
## 1.19.2
- Fix incorrect domain used for collections.abc.Callable.
## 1.19.1
- Fix bug for recursive type alias.
## 1.19.0
- Support for CPython 3.11, no longer adds `Optional` when the argument is \
default per
[recommendation from \
PEP-484](https://github.com/tox-dev/sphinx-autodoc-typehints/pull/247).
## 1.18.3
- Support and require `nptyping>=2.1.2`
## 1.18.2
- Support and require `nptyping>=2.1.1`
## 1.18.1
- Fix mocked module import not working when used as guarded import
## 1.18.0
- Support and require `nptyping>=2`
- Handle `UnionType`
## 1.17.1
- Mark it as requiring `nptyping<2`
## 1.17.0
- Add `typehints_use_rtype` option
- Handles `TypeError` when getting source code via inspect
## 1.16.0
- 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)
## 1.15.3
- Prevents reaching inner blocks that contains `if TYPE_CHECKING`
## 1.15.2
- 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
## 1.15.1
- Fix `fully_qualified` should be `typehints_fully_qualified`
## 1.15.0
- 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`
## 1.14.1
- 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)
## 1.14.0
- Added `typehints_defaults` config option allowing to automatically annotate \
parameter defaults.
## 1.13.1
- Fixed `NewType` inserts a reference as first argument instead of a string
## 1.13.0
- Dropped Python 3.6 support
- Python 3.10 support
- Normalize async functions properly
- Allow py310 style annotations (PEP-563)
|
2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595) |
Log message:
*: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
|
2021-10-26 13:23:42 by Nia Alarie | Files touched by this commit (1161) |
Log message:
textproc: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
|
2021-10-07 17:02:49 by Nia Alarie | Files touched by this commit (1162) |
Log message:
textproc: Remove SHA1 hashes for distfiles
|
2021-04-16 08:05:43 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-sphinx-autodoc-typehints: updated to 1.12.0
1.12.0
- Dropped Python 3.5 support
- Added the simplify_optional_unions config option
- Fixed indentation of multiline strings
|
2021-04-07 08:48:26 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-sphinx-autodoc-typehints: updated to 1.11.1
1.11.1
======
* Changed formatting of ``None`` to point to the Python stdlib docs
* Updated special dataclass handling
1.11.0
======
* Dropped support for Sphinx < 3.0
* Added support for alternative parameter names (``arg``, ``argument``, \
``parameter``)
* Fixed import path for Signature
* Fixed ``TypeError`` when formatting a parametrized ``typing.IO`` annotat
|
2020-04-06 10:06:30 by Thomas Klausner | Files touched by this commit (3) | |
Log message:
py-sphinx-autodoc-typehints: update to 1.10.3.
1.10.3
======
* Fixed ``TypeError`` (or wrong rendered class name) when an annotation is a \
generic class that has
a ``name`` property
1.10.2
======
* Fixed inner classes missing their parent class name(s) when rendered
1.10.1
======
* Fixed ``KeyError`` when encountering mocked annotations (``autodoc_mock_imports``)
1.10.0
======
* 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
1.9.0
=====
* 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: https://pypi.org/project/typing-extensions/
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+
1.7.0
=====
* 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)
1.6.0
=====
* 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)
1.5.2
=====
* Emit a warning instead of crashing when an unresolvable forward reference is \
encountered in type
annotations
1.5.1
=====
* 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
1.5.0
=====
* The setting of the ``typing.TYPECHECKING`` flag is now configurable using the
``set_type_checking_flag`` option
1.4.0
=====
* 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
1.3.1
=====
* Fixed rendering of generic types outside the typing module (thanks to Tim \
Poterba for the PR)
|
2019-05-02 11:27:09 by Adam Ciarcinski | Files touched by this commit (5) |
Log message:
Forget about Python 3.4
|