Skip to content

Commit

Permalink
py-typing-extensions: updated to 4.7.1
Browse files Browse the repository at this point in the history
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
  python/cpython#105976).
  • Loading branch information
adam committed Jul 25, 2023
1 parent 3065090 commit 09b7238
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
14 changes: 5 additions & 9 deletions devel/py-typing-extensions/Makefile
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
# $NetBSD: Makefile,v 1.16 2023/02/15 07:43:41 adam Exp $
# $NetBSD: Makefile,v 1.17 2023/07/25 07:17:20 adam Exp $

DISTNAME= typing_extensions-4.5.0
DISTNAME= typing_extensions-4.7.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_WHEEL:=typing-extensions/}
MASTER_SITES= ${MASTER_SITE_PYPI:=t/typing-extensions/}

MAINTAINER= [email protected]
HOMEPAGE= https://github.com/python/typing
COMMENT= Backported and Experimental Type Hints for Python
LICENSE= python-software-foundation

PYTHON_VERSIONS_INCOMPATIBLE= 27
TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.4:../../devel/py-flit_core

USE_LANGUAGES= # none

# XXX: Avoid building and dependency to py-flit_core to avoid possible
# XXX: recursive dependency in py-build on Python 3.7:
# XXX: py-build -> py-importlib-metadata -> py-typing-extenisons -> py-build
NO_BUILD= yes
#TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core-[0-9]*:../../devel/py-flit_core
PYTHON_VERSIONS_INCOMPATIBLE= 27

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
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.15 2023/02/15 07:43:41 adam Exp $
$NetBSD: distinfo,v 1.16 2023/07/25 07:17:20 adam Exp $

BLAKE2s (typing_extensions-4.5.0-py3-none-any.whl) = ee0fc274f2b3fe7037f2dad98e97738dedff8b3793a38f914dcfdad8b4571d4c
SHA512 (typing_extensions-4.5.0-py3-none-any.whl) = ec14fe7ff4998bd9ed4c57a491062d0d0d3797aa326c71898c879455f0a2dbcc639ac9b51f68c03a8635459de7612b31aa2b71f364ac6d2dd6b696cfd80df555
Size (typing_extensions-4.5.0-py3-none-any.whl) = 27736 bytes
BLAKE2s (typing_extensions-4.7.1.tar.gz) = a14ef3410ca4bc96cfc57bab6cc2883f18f6e9bc7f2632fa0d8abe2254cf3138
SHA512 (typing_extensions-4.7.1.tar.gz) = d8ad80a784e95c775baa1ca823dce3b0e4e72a7c728a22fa4b23e82323c406098d2afd179abf8851d65c4eaadcbdb4c233bc9c38b0f83cc99b0cd39cfa953bc2
Size (typing_extensions-4.7.1.tar.gz) = 72876 bytes

0 comments on commit 09b7238

Please sign in to comment.