From a10eadd95f91adbd63d006962742ce8295ea1a45 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 9 Apr 2024 15:10:16 +0800 Subject: python3-typing-extensions: upgrade 4.10.0 -> 4.11.0 Changelog: ========== -Fix tests on Python 3.13.0a5. -Fix the runtime behavior of type parameters with defaults -Fix minor discrepancy between error messages produced by typing and typing_extensions on Python 3.10. -When include_extra=False, get_type_hints() now strips ReadOnly from the annotation. Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- .../python/python3-typing-extensions_4.10.0.bb | 24 ---------------------- .../python/python3-typing-extensions_4.11.0.bb | 24 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 24 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-typing-extensions_4.10.0.bb create mode 100644 meta/recipes-devtools/python/python3-typing-extensions_4.11.0.bb diff --git a/meta/recipes-devtools/python/python3-typing-extensions_4.10.0.bb b/meta/recipes-devtools/python/python3-typing-extensions_4.10.0.bb deleted file mode 100644 index 8698a80cc5..0000000000 --- a/meta/recipes-devtools/python/python3-typing-extensions_4.10.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=fcf6b249c2641540219a727f35d8d2c2" - -# The name on PyPi is slightly different. -PYPI_PACKAGE = "typing_extensions" - -SRC_URI[sha256sum] = "b0abd7c89e8fb96f98db18d86106ff1d90ab692004eb746cf6eda2682f91b3cb" - -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.11.0.bb b/meta/recipes-devtools/python/python3-typing-extensions_4.11.0.bb new file mode 100644 index 0000000000..ad45b669ec --- /dev/null +++ b/meta/recipes-devtools/python/python3-typing-extensions_4.11.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=fcf6b249c2641540219a727f35d8d2c2" + +# The name on PyPi is slightly different. +PYPI_PACKAGE = "typing_extensions" + +SRC_URI[sha256sum] = "83f085bd5ca59c80295fc2a82ab5dac679cbe02b9f33f7d83af68e241bea51b0" + +inherit pypi python_flit_core + +UPSTREAM_CHECK_REGEX = "/typing-extensions/(?P(\d+[\.\-_]*)+)/" + +BBCLASSEXTEND = "native nativesdk" -- cgit 1.2.3-korg