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

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


Branch: CURRENT, Version: 4.14.0, Package name: py312-typing-extensions-4.14.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: 104.905 KB

Version history: (Expand)


CVS history: (Expand)


   2025-06-03 10:33:56 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-typing-extensions: updated to 4.14.0

Changes since 4.14.0rc1:

- Remove `__or__` and `__ror__` methods from `typing_extensions.Sentinel`
  on Python versions <3.10. PEP 604 was introduced in Python 3.10, and
  `typing_extensions` does not generally attempt to backport PEP-604 methods
  to prior versions.
- Further update `typing_extensions.evaluate_forward_ref` with changes in Python \ 
3.14.

Release 4.14.0rc1 (May 24, 2025)

- Drop support for Python 3.8 (including PyPy-3.8). Patch by [Victorien \ 
Plot](https://github.com/Viicos).
- Do not attempt to re-export names that have been removed from `typing`,
  anticipating the removal of `typing.no_type_check_decorator` in Python 3.15.
  Patch by Jelle Zijlstra.
- Update `typing_extensions.Format`, `typing_extensions.evaluate_forward_ref`, and
  `typing_extensions.TypedDict` to align
  with changes in Python 3.14. Patches by Jelle Zijlstra.
- Fix tests for Python 3.14 and 3.15. Patches by Jelle Zijlstra.

New features:

- Add support for inline typed dictionaries ([PEP \ 
764](https://peps.python.org/pep-0764/)).
  Patch by [Victorien Plot](https://github.com/Viicos).
- Add `typing_extensions.Reader` and `typing_extensions.Writer`. Patch by
  Sebastian Rittau.
- Add support for sentinels ([PEP 661](https://peps.python.org/pep-0661/)). Patch by
  [Victorien Plot](https://github.com/Viicos).
   2025-04-14 07:01:48 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-typing-extensions: updated to 4.13.2

Release 4.13.2 (April 10, 2025)

- Fix `TypeError` when taking the union of `typing_extensions.TypeAliasType` and a
  `typing.TypeAliasType` on Python 3.12 and 3.13.
- Backport from CPython PR
  to avoid having user arguments shadowed in generated `__new__` by
  `@typing_extensions.deprecated`.

Release 4.13.1 (April 3, 2025)

Bugfixes:
- Fix regression in 4.13.0 on Python 3.10.2 causing a `TypeError` when using \ 
`Concatenate`.
- Fix `TypeError` when using `evaluate_forward_ref` on Python 3.10.1-2 and 3.9.8-10.
   2025-04-01 11:59:03 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-typing-extensions: updated to 4.13.0

Release 4.13.0 (March 25, 2025)

No user-facing changes since 4.13.0rc1.

Release 4.13.0rc1 (March 18, 2025)

New features:

- Add `typing_extensions.TypeForm` from PEP 747. Patch by
  Jelle Zijlstra.
- Add `typing_extensions.get_annotations`, a backport of
  `inspect.get_annotations` that adds features specified
  by PEP 649. Patches by Jelle Zijlstra and Alex Waygood.
- Backport `evaluate_forward_ref` from CPython PR

Bugfixes and changed features:

- Update PEP 728 implementation to a newer version of the PEP. Patch by Jelle \ 
Zijlstra.
- Copy the coroutine status of functions and methods wrapped
  with `@typing_extensions.deprecated`. Patch by Sebastian Rittau.
- Fix bug where `TypeAliasType` instances could be subscripted even
  where they were not generic. Patch by [Daraan](https://github.com/Daraan).
- Fix bug where a subscripted `TypeAliasType` instance did not have all
  attributes of the original `TypeAliasType` instance on older Python versions.
  Patch by [Daraan](https://github.com/Daraan) and Alex Waygood.
- Fix bug where subscripted `TypeAliasType` instances (and some other
  subscripted objects) had wrong parameters if they were directly
  subscripted with an `Unpack` object.
  Patch by [Daraan](https://github.com/Daraan).
- Backport to Python 3.10 the ability to substitute `...` in generic `Callable`
  aliases that have a `Concatenate` special form as their argument.
  Patch by [Daraan](https://github.com/Daraan).
- Extended the `Concatenate` backport for Python 3.8-3.10 to now accept
  `Ellipsis` as an argument. Patch by [Daraan](https://github.com/Daraan).
- Fix backport of `get_type_hints` to reflect Python 3.11+ behavior which does \ 
not add
  `Union[..., NoneType]` to annotations that have a `None` default value anymore.
  This fixes wrapping of `Annotated` in an unwanted `Optional` in such cases.
  Patch by [Daraan](https://github.com/Daraan).
- Fix error in subscription of `Unpack` aliases causing nested Unpacks
  to not be resolved correctly. Patch by [Daraan](https://github.com/Daraan).
- Backport CPython fix `TypeAliasType` not raising an error on non-tuple inputs \ 
for `type_params`.
  Patch by [Daraan](https://github.com/Daraan).
- Fix that lists and `...` could not be used for parameter expressions for \ 
`TypeAliasType`
  instances before Python 3.11.
  Patch by [Daraan](https://github.com/Daraan).
- Fix error on Python 3.10 when using `typing.Concatenate` and
  `typing_extensions.Concatenate` together. Patch by \ 
[Daraan](https://github.com/Daraan).
- Backport of CPython to reflect Python 3.13+ behavior: A value assigned to \ 
`__total__` in the class body of a
  `TypedDict` will be overwritten by the `total` argument of the `TypedDict` \ 
constructor.
  Patch by [Daraan](https://github.com/Daraan), backporting a CPython PR by \ 
Jelle Zijlstra.
- `isinstance(typing_extensions.Unpack[...], TypeVar)` now evaluates to `False` \ 
on Python 3.11
  and newer, but remains `True` on versions before 3.11.
   2025-02-23 19:36:52 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-typing-extensions: require new flit_core
   2025-02-23 19:25:45 by Thomas Klausner | Files touched by this commit (2)
Log message:
py-typing-extensions: adapt for flit_core 3.11

Bump PKGREVISION.
   2024-06-07 22:31:18 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-typing-extensions: updated to 4.12.2

Release 4.12.2 (June 7, 2024)

- Fix regression in v4.12.0 where specialization of certain
  generics with an overridden `__eq__` method would raise errors.
  Patch by Jelle Zijlstra.
- Fix tests so they pass on 3.13.0b2
   2024-06-03 12:57:20 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-typing-extensions: updated to 4.12.1

Release 4.12.1 (June 1, 2024)

- Preliminary changes for compatibility with the draft implementation
  of PEP 649 in Python 3.14. Patch by Jelle Zijlstra.
- Fix regression in v4.12.0 where nested `Annotated` types would cause
  `TypeError` to be raised if the nested `Annotated` type had unhashable
  metadata. Patch by Alex Waygood.
   2024-05-24 10:55:27 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-typing-extensions: updated to 4.12.0

Release 4.12.0 (May 23, 2024)

This release is mostly the same as 4.12.0rc1 but fixes one more
longstanding bug.

- Fix incorrect behaviour of `typing_extensions.ParamSpec` on Python 3.8 and
  3.9 that meant that
  `isinstance(typing_extensions.ParamSpec("P"), typing.TypeVar)` would \ 
have a
  different result in some situations depending on whether or not a profiling
  function had been set using `sys.setprofile`. Patch by Alex Waygood.