The NetBSD Project

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

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / textproc / py-sphinx-autodoc-typehints

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Apr 28 07:50:14 2025 UTC (2 days, 6 hours ago) by adam
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
py-sphinx-autodoc-typehints: updated to 3.2.0

3.2.0

Fixed broken changelog link
Fix issue 481
Don't add :rtype: None
Place rtype after directive

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Feb 23 16:48:06 2025 UTC (2 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +7 -2 lines
py-sphinx-autodoc-typehints: update to 3.1.0.

Support Sphinx 8.2.0 - drop 3.10 support because Sphinx does

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Jan 16 22:19:26 2025 UTC (3 months, 1 week ago) by adam
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +6 -6 lines
py-sphinx-autodoc-typehints: updated to 3.0.1

3.0.1

Fix roles for types module
Update Ruff to 0.9.1

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Jan 7 12:43:47 2025 UTC (3 months, 3 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +1 -3 lines
py-sphinx-autodoc-typehints: py-nptyping not used any longer

ride update

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Jan 7 12:39:16 2025 UTC (3 months, 3 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -4 lines
py-sphinx-autodoc-typehints: update to 3.0.0.

What's Changed

    🐛 Replace docutils private API use w/ public by @webknjaz in #507
    Drop support for nptyping by @gaborbernat in #514

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Oct 19 11:26:30 2024 UTC (6 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
py-sphinx-autodoc-typehints: add bug report about test failure

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Oct 19 11:16:08 2024 UTC (6 months, 1 week ago) by wiz
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -4 lines
py-sphinx-autodoc-typehints: update to 2.5.0.

Fix the type checker by @gaborbernat in #493
Apply typehints_formatter to signature by @Priyansh121096 in #494

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Oct 14 06:46:01 2024 UTC (6 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
*: clean-up after python38 removal

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Sep 22 16:52:23 2024 UTC (7 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +5 -2 lines
py-sphinx-autodoc-typehints: update to 2.4.4.

 [pre-commit.ci] pre-commit autoupdate (#484)
 Improve the CI (#485)
 Update README.md
 Fix broken link in README
 Link to API directly

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Sep 13 16:55:52 2024 UTC (7 months, 2 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -4 lines
py-sphinx-autodoc-typehints: updated to 2.4.1

2.4.1

Fix placement of return type when there is a doctest

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Sep 11 19:29:43 2024 UTC (7 months, 2 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +8 -7 lines
py-sphinx-autodoc-typehints: updated to 2.4.0

2.4.0

Drop 3.9 support
Add 3.13 support
Bump dependencies

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Sep 7 05:25:17 2024 UTC (7 months, 3 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +5 -5 lines
py-sphinx-autodoc-typehints: updated to 2.3.0

2.3.0

Add module name rewrite configuration option

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Aug 10 08:03:50 2024 UTC (8 months, 2 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
py-sphinx-autodoc-typehints: not for Python 3.9

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Jul 21 09:30:30 2024 UTC (9 months, 1 week ago) by wiz
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -2 lines
py-sphinx-autodoc-typehints: update to 2.2.3.

Fix mypy errors due to unneeded type ignores by @hoodmane in #469
Fix rendering when docstring starst with a directive by @hoodmane in #468

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Jun 26 17:15:45 2024 UTC (10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
py-sphinx-autodoc-typehints: update to 2.2.2.

2.2.2

What's Changed

    Fix for Issue #384: typehints_defaults = "braces-after" fails for a multiline :param: entry by @tikuma-lsuhsc in #464

2.2.1

What's Changed

    Fix issue #462 and another alias processing bug by @tikuma-lsuhsc in #463

2.2.0

What's Changed

    Support autodoc_type_aliases configuration by @tikuma-lsuhsc in #459

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Jun 9 14:18:58 2024 UTC (10 months, 2 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
py-sphinx-autodoc-typehints: update to 2.1.1.

Changes: not documented.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Apr 21 15:46:23 2024 UTC (12 months, 1 week ago) by wiz
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
py-sphinx-autodoc-typehints: update to 2.1.0.

Support Sphinx 7.3 and drop 3.8 support by @gaborbernat in #448

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Apr 14 18:12:30 2024 UTC (12 months, 2 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -4 lines
py-sphinx-autodoc-typehints: updated to 2.0.1

2.0.1

Extend linter/formatter rules
Fix the CI
Add missing option to readme
Return injection fix

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Feb 13 17:53:33 2024 UTC (14 months, 2 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
py-sphinx-autodoc-typehints: update to 2.0.0.

Add option to force unions (and options) to be rendered with bars
by @hoodmane in #418 (on by default, hence major version bump)

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Jan 27 07:44:07 2024 UTC (15 months ago) by adam
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
py-sphinx-autodoc-typehints: updated to 1.25.3

1.25.3

Stop parsing from overwriting Sphinx configuration

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Nov 11 10:01:18 2023 UTC (17 months, 2 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +9 -7 lines
py-sphinx-autodoc-typehints: updated to 1.25.2

1.25.2
ENH Make types in signature respect typehints_fully_qualified

1.25.1
FIX Put a slash space between xref and type args

1.25.0
ENH Add a css wrapper to generated types

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Nov 7 22:13:29 2023 UTC (17 months, 3 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -8 lines
py-sphinx-autodoc-typehints: update to 1.24.1.

1.24.1

fix: Recursively evaluate guarded code by @Mr-Pepe in #393

1.24.0

Exclude dependabot and pre-commit ci from release notes by @gaborbernat in #369
Drop typed-ast as is no longer maintained/used by @gaborbernat in #373

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Oct 28 19:57:19 2023 UTC (18 months ago) by wiz
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -1 lines
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Aug 1 23:20:54 2023 UTC (20 months, 4 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
*: remove more references to Python 3.7

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Jul 5 22:07:40 2023 UTC (21 months, 3 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
py-sphinx-autodoc-typehints: update to 1.23.3.

What's Changed

    [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #362
    [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #364
    Fix type guard handling for classes by @gaborbernat in #365

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jul 1 11:31:53 2023 UTC (21 months, 4 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -2 lines
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

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Jul 1 08:37:43 2023 UTC (22 months ago) by wiz
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
*: restrict py-numpy users to 3.9+ in preparation for update

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat May 6 09:28:24 2023 UTC (23 months, 3 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +12 -11 lines
## 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)

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Jan 4 20:55:05 2022 UTC (3 years, 3 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1 lines
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Apr 16 06:05:43 2021 UTC (4 years ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
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

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Apr 7 06:48:26 2021 UTC (4 years ago) by adam
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -8 lines
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

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Apr 6 08:06:30 2020 UTC (5 years ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +9 -2 lines
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)

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu May 2 09:27:09 2019 UTC (6 years ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -6 lines
Forget about Python 3.4

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Sep 27 22:38:59 2018 UTC (6 years, 7 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
py-sphinx-autodoc-typehints: BUILD_DEPENDS on py-setuptools_scm

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun May 27 01:59:35 2018 UTC (6 years, 11 months ago) by minskim
Branches: MAIN
CVS tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2
textproc/py-sphinx-autodoc-typehints: Import version 1.3.0

This extension allows you to use Python 3 annotations for documenting
acceptable argument types and return value types of functions. This
allows you to use type hints in a very natural fashion.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>