diff options
author | Wang Mingyu <wangmy@fujitsu.com> | 2023-08-01 15:41:53 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-08-01 08:46:48 -0700 |
commit | be496d5b03930e4a79eb82ba671b6cdc861df300 (patch) | |
tree | 620821ecd57cae81fe558b6f9ea3c3542b4e7de2 /meta-python/recipes-devtools/python/python3-typeguard_4.0.0.bb | |
parent | a8eb40a15083588420e533cf45fddc3f017af972 (diff) | |
download | meta-openembedded-be496d5b03930e4a79eb82ba671b6cdc861df300.tar.gz |
python3-typeguard: upgrade 4.0.0 -> 4.1.0
Changelog:
==========
- Added support for passing a tuple as expected_type to check_type(), making it
more of a drop-in replacement for isinstance()
- Fixed regression where Literal inside a Union had quotes stripped from its
contents, thus typically causing NameError to be raised when run
- Fixed handling of typing_extensions.Literal on Python 3.8 and 3.9 when
typing_extensions>=4.6.0 is installed
- Fixed NameError when generated type checking code references an imported
name from a method
- Fixed docstrings disappearing from instrumented functions
- Fixed @typechecked failing to instrument functions when there are more than
one function within the same scope
- Fixed frozenset not being checked
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-typeguard_4.0.0.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-typeguard_4.0.0.bb | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/meta-python/recipes-devtools/python/python3-typeguard_4.0.0.bb b/meta-python/recipes-devtools/python/python3-typeguard_4.0.0.bb deleted file mode 100644 index ca17e2b13..000000000 --- a/meta-python/recipes-devtools/python/python3-typeguard_4.0.0.bb +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | SUMMARY = "Run-time type checker for Python" | ||
2 | HOMEPAGE = "https://pypi.org/project/typeguard/" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f0e423eea5c91e7aa21bdb70184b3e53" | ||
5 | |||
6 | SRC_URI[sha256sum] = "194fb3dbcb06ea9caf7088f3befee014de57961689f9c859ac5239b1ef61d987" | ||
7 | |||
8 | inherit pypi python_setuptools_build_meta ptest | ||
9 | |||
10 | SRC_URI += " \ | ||
11 | file://run-ptest \ | ||
12 | " | ||
13 | |||
14 | RDEPENDS:${PN} += " \ | ||
15 | python3-compression \ | ||
16 | python3-unittest \ | ||
17 | " | ||
18 | |||
19 | RDEPENDS:${PN}-ptest += " \ | ||
20 | ${PYTHON_PN}-pytest \ | ||
21 | ${PYTHON_PN}-typing-extensions \ | ||
22 | ${PYTHON_PN}-unixadmin \ | ||
23 | " | ||
24 | |||
25 | do_install_ptest() { | ||
26 | install -d ${D}${PTEST_PATH}/tests | ||
27 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
28 | } | ||
29 | |||
30 | DEPENDS += "\ | ||
31 | python3-distutils-extra-native \ | ||
32 | python3-setuptools-scm-native \ | ||
33 | " | ||
34 | |||
35 | BBCLASSEXTEND = "native nativesdk" | ||