Sun Feb 25 22:28:31 2024 UTC (92d)
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.


(adam)
diff -r1.20 -r1.21 pkgsrc/devel/py-typing-extensions/Makefile
diff -r1.18 -r1.19 pkgsrc/devel/py-typing-extensions/distinfo

cvs diff -r1.20 -r1.21 pkgsrc/devel/py-typing-extensions/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-typing-extensions/Makefile 2023/12/11 10:00:45 1.20
+++ pkgsrc/devel/py-typing-extensions/Makefile 2024/02/25 22:28:31 1.21
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.20 2023/12/11 10:00:45 wiz Exp $ 1# $NetBSD: Makefile,v 1.21 2024/02/25 22:28:31 adam Exp $
2 2
3DISTNAME= typing_extensions-4.9.0 3DISTNAME= typing_extensions-4.10.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=t/typing-extensions/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=t/typing-extensions/}
7 7
8MAINTAINER= minskim@NetBSD.org 8MAINTAINER= minskim@NetBSD.org
9HOMEPAGE= https://github.com/python/typing 9HOMEPAGE= https://github.com/python/typing
10COMMENT= Backported and Experimental Type Hints for Python 10COMMENT= Backported and Experimental Type Hints for Python
11LICENSE= python-software-foundation 11LICENSE= python-software-foundation
12 12
13TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.4:../../devel/py-flit_core 13TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.4:../../devel/py-flit_core
14 14
15USE_LANGUAGES= # none 15USE_LANGUAGES= # none
16 16

cvs diff -r1.18 -r1.19 pkgsrc/devel/py-typing-extensions/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-typing-extensions/distinfo 2023/12/11 10:00:45 1.18
+++ pkgsrc/devel/py-typing-extensions/distinfo 2024/02/25 22:28:31 1.19
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.18 2023/12/11 10:00:45 wiz Exp $ 1$NetBSD: distinfo,v 1.19 2024/02/25 22:28:31 adam Exp $
2 2
3BLAKE2s (typing_extensions-4.9.0.tar.gz) = 52d735d43b4cc1cb8826aacd2c0d43a29bc048e349d843b9f5b567233ceb26bb 3BLAKE2s (typing_extensions-4.10.0.tar.gz) = 2d5509fa4821f14073355c376bb0d16435ae1e7a12988d98d2f681570bb62cc0
4SHA512 (typing_extensions-4.9.0.tar.gz) = b4faea71d6d29b5d23f920c8865edc2a891887308aea984dbae0159b722da6ef0f4062e5d89bd96a0037391e91e87f213f789209dc1f8942e551979539d3ae11 4SHA512 (typing_extensions-4.10.0.tar.gz) = d3d840719ed0cf1435a959f84a65df93f55fb4bfdda926cd74a34a8bb6ab0407108ee8941f40b6cb570e2f7c440abffb0bc1d0f0414814047de6e9c3eeb24093
5Size (typing_extensions-4.9.0.tar.gz) = 74918 bytes 5Size (typing_extensions-4.10.0.tar.gz) = 77558 bytes