Skip to content

Commit

Permalink
py-typing-extensions: update to 4.9.0.
Browse files Browse the repository at this point in the history
# 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 python/cpython#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 python/cpython#111876.
- Improve the error message when trying to call `issubclass()` against a
  `Protocol` that has non-method members. Patch by Alex Waygood (backporting
  python/cpython#112344, by Randolph Scholz).
  • Loading branch information
wiz committed Dec 11, 2023
1 parent 4051247 commit 7bcb082
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions devel/py-typing-extensions/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.19 2023/10/28 19:57:08 wiz Exp $
# $NetBSD: Makefile,v 1.20 2023/12/11 10:00:45 wiz Exp $

DISTNAME= typing_extensions-4.8.0
DISTNAME= typing_extensions-4.9.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/typing-extensions/}

Expand Down
8 changes: 4 additions & 4 deletions devel/py-typing-extensions/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.17 2023/09/18 08:01:57 adam Exp $
$NetBSD: distinfo,v 1.18 2023/12/11 10:00:45 wiz Exp $

BLAKE2s (typing_extensions-4.8.0.tar.gz) = fffd15fa47057fa1d54bab2b4a4523848d3046d73606356edc0f8f25b321853e
SHA512 (typing_extensions-4.8.0.tar.gz) = 5fbff10e085fbf3ac2e35d08d913608d8c8bca66903435ede91cdc7776d775689a53d64f5f0615fe687c6c228ac854c8651d99eb1cb96ec61c56b7ca01fdd440
Size (typing_extensions-4.8.0.tar.gz) = 71456 bytes
BLAKE2s (typing_extensions-4.9.0.tar.gz) = 52d735d43b4cc1cb8826aacd2c0d43a29bc048e349d843b9f5b567233ceb26bb
SHA512 (typing_extensions-4.9.0.tar.gz) = b4faea71d6d29b5d23f920c8865edc2a891887308aea984dbae0159b722da6ef0f4062e5d89bd96a0037391e91e87f213f789209dc1f8942e551979539d3ae11
Size (typing_extensions-4.9.0.tar.gz) = 74918 bytes

0 comments on commit 7bcb082

Please sign in to comment.