./devel/py-typing-extensions, Backported and Experimental Type Hints for Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 4.10.0, Package name: py311-typing-extensions-4.10.0, Maintainer: minskim

The typing_extensions module contains both backports of these changes
as well as experimental types that will eventually be added to the
typing module, such as Protocol.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 75.74 KB

Version history: (Expand)


CVS history: (Expand)


   2024-02-25 23:28:31 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-typing-extensions: updated to 4.10.0

Release 4.10.0 (February 24, 2024)

This feature release adds support for PEP 728 (TypedDict with extra
items) and PEP 742 (``TypeIs``).

There are no changes since 4.10.0rc1.

Release 4.10.0rc1 (February 17, 2024)

- Add support for PEP 728, supporting the `closed` keyword argument and the
  special `__extra_items__` key for TypedDict. Patch by Zixuan James Li.
- Add support for PEP 742, adding `typing_extensions.TypeIs`. Patch
  by Jelle Zijlstra.
- Drop runtime error when a read-only `TypedDict` item overrides a mutable
  one. Type checkers should still flag this as an error. Patch by Jelle
  Zijlstra.
- Speedup `issubclass()` checks against simple runtime-checkable protocols by
  around 6% (backporting https://github.com/python/cpython/pull/112717, by Alex
  Waygood).
- Fix a regression in the implementation of protocols where `typing.Protocol`
  classes that were not marked as `@runtime_checkable` would be unnecessarily
  introspected, potentially causing exceptions to be raised if the protocol had
  problematic members. Patch by Alex Waygood, backporting
  https://github.com/python/cpython/pull/113401.
   2023-12-11 11:00:45 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-typing-extensions: update to 4.9.0.

# Release 4.9.0 (December 9, 2023)

This feature release adds `typing_extensions.ReadOnly`, as specified
by PEP 705, and makes various other improvements, especially to
`@typing_extensions.deprecated()`.

There are no changes since 4.9.0rc1.

# Release 4.9.0rc1 (November 29, 2023)

- Add support for PEP 705, adding `typing_extensions.ReadOnly`. Patch
  by Jelle Zijlstra.
- All parameters on `NewType.__call__` are now positional-only. This means that
  the signature of `typing_extensions.NewType.__call__` now exactly matches the
  signature of `typing.NewType.__call__`. Patch by Alex Waygood.
- Fix bug with using `@deprecated` on a mixin class. Inheriting from a
  deprecated class now raises a `DeprecationWarning`. Patch by Jelle Zijlstra.
- `@deprecated` now gives a better error message if you pass a non-`str`
  argument to the `msg` parameter. Patch by Alex Waygood.
- `@deprecated` is now implemented as a class for better introspectability.
  Patch by Jelle Zijlstra.
- Exclude `__match_args__` from `Protocol` members.
  Backport of https://github.com/python/cpython/pull/110683 by Nikita Sobolev.
- When creating a `typing_extensions.NamedTuple` class, ensure `__set_name__`
  is called on all objects that define `__set_name__` and exist in the values
  of the `NamedTuple` class's class dictionary. Patch by Alex Waygood,
  backporting https://github.com/python/cpython/pull/111876.
- Improve the error message when trying to call `issubclass()` against a
  `Protocol` that has non-method members. Patch by Alex Waygood (backporting
  https://github.com/python/cpython/pull/112344, by Randolph Scholz).
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
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.
   2023-09-18 10:01:57 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-typing-extensions: updated to 4.8.0

Release 4.8.0 (September 17, 2023)

No changes since 4.8.0rc1.

Release 4.8.0rc1 (September 7, 2023)

- Add `typing_extensions.Doc`, as proposed by PEP 727. Patch by
  Sebastián Ramírez.
- Drop support for Python 3.7 (including PyPy-3.7). Patch by Alex Waygood.
- Fix bug where `get_original_bases()` would return incorrect results when
  called on a concrete subclass of a generic class. Patch by Alex Waygood
  (backporting https://github.com/python/cpython/pull/107584, by James
  Hilton-Balfe).
- Fix bug where `ParamSpec(default=...)` would raise a `TypeError` on Python
  versions <3.11. Patch by James Hilton-Balfe
   2023-07-25 09:17:20 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-typing-extensions: updated to 4.7.1

Release 4.7.1 (July 2, 2023)

- Fix support for `TypedDict`, `NamedTuple` and `is_protocol` on PyPy-3.7 and
  PyPy-3.8. Patch by Alex Waygood. Note that PyPy-3.7 and PyPy-3.8 are unsupported
  by the PyPy project. The next feature release of typing-extensions will
  drop support for PyPy-3.7 and may also drop support for PyPy-3.8.

Release 4.7.0 (June 28, 2023)

- This is expected to be the last feature release supporting Python 3.7,
  which reaches its end of life on June 27, 2023. Version 4.8.0 will support
  only Python 3.8.0 and up.
- Fix bug where a `typing_extensions.Protocol` class that had one or more
  non-callable members would raise `TypeError` when `issubclass()`
  was called against it, even if it defined a custom `__subclasshook__`
  method. The correct behaviour -- which has now been restored -- is not to
  raise `TypeError` in these situations if a custom `__subclasshook__` method
  is defined. Patch by Alex Waygood (backporting
  https://github.com/python/cpython/pull/105976).
   2023-02-15 08:43:41 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-typing-extensions: updated to 4.5.0

4.5.0:
Unknown changes
   2022-10-13 18:07:52 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-typing-extensions: updated to 4.4.0

4.4.0
Unknown changes
   2022-07-26 13:19:42 by Leonardo Taccari | Files touched by this commit (2)
Log message:
py-typing-extensions: Avoid circular dependency with Python 3.7

Switch to use NO_BUILD=yes with wheel.mk (and change MASTER_SITE_WHEEL
to use pre-built platform independent packages) in order to avoid a circular
dependency with Python 3.7 in py-build.

Bump PKGREVISION.

Thanks a lot to <mef> and <nros>! (possible left-over regressions \ 
are mine)