From f0c9b19a3d15347a31a09a5533b08ef0a0c6fc1a Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Thu, 16 Feb 2023 15:58:31 -0800 Subject: python3-typing-extensions: upgrade 4.4.0 -> 4.5.0 https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-450-february-14-2023 Release 4.5.0 (February 14, 2023) * Runtime support for PEP 702, adding typing_extensions.deprecated. Patch by Jelle Zijlstra. * Add better default value for TypeVar default parameter, PEP 696. Enables runtime check if None was passed as default. Patch by Marc Mueller (@cdce8p). * The @typing_extensions.override decorator now sets the .__override__ attribute. Patch by Steven Troxler. * Fix get_type_hints() on cross-module inherited TypedDict in 3.9 and 3.10. Patch by Carl Meyer. * Add frozen_default parameter on dataclass_transform. Patch by Erik De Bonte. (From OE-Core rev: d3f0a9b620a930e9f48bf9f0d76f82ca6560887a) Signed-off-by: Tim Orling Signed-off-by: Richard Purdie --- .../python/python3-typing-extensions_4.4.0.bb | 24 ---------------------- .../python/python3-typing-extensions_4.5.0.bb | 24 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 24 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-typing-extensions_4.4.0.bb create mode 100644 meta/recipes-devtools/python/python3-typing-extensions_4.5.0.bb (limited to 'meta/recipes-devtools/python') diff --git a/meta/recipes-devtools/python/python3-typing-extensions_4.4.0.bb b/meta/recipes-devtools/python/python3-typing-extensions_4.4.0.bb deleted file mode 100644 index 27ec7560ea..0000000000 --- a/meta/recipes-devtools/python/python3-typing-extensions_4.4.0.bb +++ /dev/null @@ -1,24 +0,0 @@ -SUMMARY = "Backported and Experimental Type Hints for Python 3.7+" -DESCRIPTION = "The typing_extensions module serves two related purposes:\ -\ -* Enable use of new type system features on older Python versions. For \ - example, typing.TypeGuard is new in Python 3.10, but typing_extensions \ - allows users on previous Python versions to use it too.\ -* Enable experimentation with new type system PEPs before they are accepted \ - and added to the typing module." -HOMEPAGE = "https://github.com/python/typing_extensions" -BUGTRACKER = "https://github.com/python/typing_extensions/issues" -SECTIONS = "libs" -LICENSE = "PSF-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=f16b323917992e0f8a6f0071bc9913e2" - -# The name on PyPi is slightly different. -PYPI_PACKAGE = "typing_extensions" - -SRC_URI[sha256sum] = "1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa" - -inherit pypi python_flit_core - -UPSTREAM_CHECK_REGEX = "/typing-extensions/(?P(\d+[\.\-_]*)+)/" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/python/python3-typing-extensions_4.5.0.bb b/meta/recipes-devtools/python/python3-typing-extensions_4.5.0.bb new file mode 100644 index 0000000000..80f87cae84 --- /dev/null +++ b/meta/recipes-devtools/python/python3-typing-extensions_4.5.0.bb @@ -0,0 +1,24 @@ +SUMMARY = "Backported and Experimental Type Hints for Python 3.7+" +DESCRIPTION = "The typing_extensions module serves two related purposes:\ +\ +* Enable use of new type system features on older Python versions. For \ + example, typing.TypeGuard is new in Python 3.10, but typing_extensions \ + allows users on previous Python versions to use it too.\ +* Enable experimentation with new type system PEPs before they are accepted \ + and added to the typing module." +HOMEPAGE = "https://github.com/python/typing_extensions" +BUGTRACKER = "https://github.com/python/typing_extensions/issues" +SECTIONS = "libs" +LICENSE = "PSF-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=f16b323917992e0f8a6f0071bc9913e2" + +# The name on PyPi is slightly different. +PYPI_PACKAGE = "typing_extensions" + +SRC_URI[sha256sum] = "5cb5f4a79139d699607b3ef622a1dedafa84e115ab0024e0d9c044a9479ca7cb" + +inherit pypi python_flit_core + +UPSTREAM_CHECK_REGEX = "/typing-extensions/(?P(\d+[\.\-_]*)+)/" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf