diff options
author | Wang Mingyu <wangmy@fujitsu.com> | 2023-03-09 17:08:35 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-03-09 21:58:44 -0800 |
commit | bbaa6a032b96a368968e0640e9c5dc898674ff5c (patch) | |
tree | 81bfe3456b69883d8a009b2753c56f9c0fd7d4f6 /meta-python | |
parent | b1d6ea6fbe82b7f87a707aefc899da62e3d76f5a (diff) | |
download | meta-openembedded-bbaa6a032b96a368968e0640e9c5dc898674ff5c.tar.gz |
python3-astroid: upgrade 2.14.2 -> 2.15.0
0001-pyproject.toml-Replace-with.patch
removed since it's included in 2.15.0
Changelog:
==========
* astroid now supports "TryStar" nodes from python 3.11 and should be fully compatible with python 3.11.
* "Formattedvalue.postinit" is now keyword only. This is to allow correct typing of the
"Formattedvalue" class.
* "Astroid" now supports custom import hooks.
* "astroid" now infers return values from match cases.
* "AstroidManager.clear_cache" now also clears the inference context cache.
* "Astroid" now retrieves the default values of keyword only arguments and sets them on
"Arguments.kw_defaults".
* "Uninferable" now has the type "UninferableBase". This is to facilitate correctly type annotating
code that uses this singleton.
* Deprecate "modutils.is_standard_module()". It will be removed in the next minor release.
Functionality has been replaced by two new functions,
"modutils.is_stdlib_module()" and "modutils.module_in_path()".
* Fix "are_exclusive" function when a walrus operator is used inside "IfExp.test" field.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-astroid/0001-pyproject.toml-Replace-with.patch | 27 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-astroid_2.15.0.bb (renamed from meta-python/recipes-devtools/python/python3-astroid_2.14.2.bb) | 6 |
2 files changed, 1 insertions, 32 deletions
diff --git a/meta-python/recipes-devtools/python/python3-astroid/0001-pyproject.toml-Replace-with.patch b/meta-python/recipes-devtools/python/python3-astroid/0001-pyproject.toml-Replace-with.patch deleted file mode 100644 index 3e1a17be92..0000000000 --- a/meta-python/recipes-devtools/python/python3-astroid/0001-pyproject.toml-Replace-with.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | From 517f361ba4a6ae430acfe3b83986d32b4f811b58 Mon Sep 17 00:00:00 2001 | ||
2 | From: Leon Anavi <leon.anavi@konsulko.com> | ||
3 | Date: Wed, 11 Jan 2023 13:56:24 +0200 | ||
4 | Subject: [PATCH] pyproject.toml: Replace ~= with >= | ||
5 | |||
6 | Replace ~= with >= to avoid errors if the version is not exactly | ||
7 | the same. | ||
8 | |||
9 | Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> | ||
10 | --- | ||
11 | pyproject.toml | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/pyproject.toml b/pyproject.toml | ||
15 | index 537bca9a..a01e0d45 100644 | ||
16 | --- a/pyproject.toml | ||
17 | +++ b/pyproject.toml | ||
18 | @@ -1,5 +1,5 @@ | ||
19 | [build-system] | ||
20 | -requires = ["setuptools~=62.6", "wheel~=0.37.1"] | ||
21 | +requires = ["setuptools>=62.6", "wheel>=0.37.1"] | ||
22 | build-backend = "setuptools.build_meta" | ||
23 | |||
24 | [project] | ||
25 | -- | ||
26 | 2.30.2 | ||
27 | |||
diff --git a/meta-python/recipes-devtools/python/python3-astroid_2.14.2.bb b/meta-python/recipes-devtools/python/python3-astroid_2.15.0.bb index e8b86071a3..a5f30b754b 100644 --- a/meta-python/recipes-devtools/python/python3-astroid_2.14.2.bb +++ b/meta-python/recipes-devtools/python/python3-astroid_2.15.0.bb | |||
@@ -4,11 +4,7 @@ SECTION = "devel/python" | |||
4 | LICENSE = "LGPL-2.1-only" | 4 | LICENSE = "LGPL-2.1-only" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "a3cf9f02c53dd259144a7e8f3ccd75d67c9a8c716ef183e0c1f291bc5d7bb3cf" | 7 | SRC_URI[sha256sum] = "525f126d5dc1b8b0b6ee398b33159105615d92dc4a17f2cd064125d57f6186fa" |
8 | |||
9 | SRC_URI += " \ | ||
10 | file://0001-pyproject.toml-Replace-with.patch \ | ||
11 | " | ||
12 | 8 | ||
13 | inherit pypi python_setuptools_build_meta | 9 | inherit pypi python_setuptools_build_meta |
14 | 10 | ||