diff mbox series

[meta-python,2/2] python3-astroid: Upgrade 2.12.13 -> 2.13.2

Message ID 20230111122914.1175681-2-leon.anavi@konsulko.com
State Under Review
Headers show
Series [meta-python,1/2] python3-imageio: Upgrade 2.23.0 -> 2.24.0 | expand

Commit Message

Leon Anavi Jan. 11, 2023, 12:29 p.m. UTC
Upgrade to release 2.13.2:

- Removed version conditions on typing_extensions dependency.
- Removed typing_extensions from our tests requirements as it was
  preventing issues to appear in our continuous integration.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 ...astroid_2.12.13.bb => python3-astroid_2.13.2.bb} | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-astroid_2.12.13.bb => python3-astroid_2.13.2.bb} (71%)

Comments

Khem Raj Jan. 11, 2023, 4:33 p.m. UTC | #1
On Wed, Jan 11, 2023 at 4:29 AM Leon Anavi <leon.anavi@konsulko.com> wrote:
>
> Upgrade to release 2.13.2:
>
> - Removed version conditions on typing_extensions dependency.
> - Removed typing_extensions from our tests requirements as it was
>   preventing issues to appear in our continuous integration.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
> ---
>  ...astroid_2.12.13.bb => python3-astroid_2.13.2.bb} | 13 ++++++++++---
>  1 file changed, 10 insertions(+), 3 deletions(-)
>  rename meta-python/recipes-devtools/python/{python3-astroid_2.12.13.bb => python3-astroid_2.13.2.bb} (71%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-astroid_2.12.13.bb b/meta-python/recipes-devtools/python/python3-astroid_2.13.2.bb
> similarity index 71%
> rename from meta-python/recipes-devtools/python/python3-astroid_2.12.13.bb
> rename to meta-python/recipes-devtools/python/python3-astroid_2.13.2.bb
> index ca87ff013..fa22080d3 100644
> --- a/meta-python/recipes-devtools/python/python3-astroid_2.12.13.bb
> +++ b/meta-python/recipes-devtools/python/python3-astroid_2.13.2.bb
> @@ -4,11 +4,18 @@ SECTION = "devel/python"
>  LICENSE = "LGPL-2.1-only"
>  LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1"
>
> -SRC_URI[sha256sum] = "1493fe8bd3dfd73dc35bd53c9d5b6e49ead98497c47b2307662556a5692d29d7"
> +SRC_URI[sha256sum] = "3bc7834720e1a24ca797fd785d77efb14f7a28ee8e635ef040b6e2d80ccb3303"
>
> -inherit pypi setuptools3
> +SRC_URI += " \
> +    file://0001-pyproject.toml-Replace-with.patch \

this patch seems to be missing. Did you forget to add it ?

> +"
> +
> +inherit pypi python_setuptools_build_meta
>
> -DEPENDS += "${PYTHON_PN}-pytest-runner-native"
> +DEPENDS += "\
> +    ${PYTHON_PN}-pytest-runner-native \
> +    ${PYTHON_PN}-wheel-native \
> +"
>
>  PACKAGES =+ "${PN}-tests"
>
> --
> 2.30.2
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#100547): https://lists.openembedded.org/g/openembedded-devel/message/100547
> Mute This Topic: https://lists.openembedded.org/mt/96198645/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-astroid_2.12.13.bb b/meta-python/recipes-devtools/python/python3-astroid_2.13.2.bb
similarity index 71%
rename from meta-python/recipes-devtools/python/python3-astroid_2.12.13.bb
rename to meta-python/recipes-devtools/python/python3-astroid_2.13.2.bb
index ca87ff013..fa22080d3 100644
--- a/meta-python/recipes-devtools/python/python3-astroid_2.12.13.bb
+++ b/meta-python/recipes-devtools/python/python3-astroid_2.13.2.bb
@@ -4,11 +4,18 @@  SECTION = "devel/python"
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1"
 
-SRC_URI[sha256sum] = "1493fe8bd3dfd73dc35bd53c9d5b6e49ead98497c47b2307662556a5692d29d7"
+SRC_URI[sha256sum] = "3bc7834720e1a24ca797fd785d77efb14f7a28ee8e635ef040b6e2d80ccb3303"
 
-inherit pypi setuptools3
+SRC_URI += " \
+    file://0001-pyproject.toml-Replace-with.patch \
+"
+
+inherit pypi python_setuptools_build_meta
 
-DEPENDS += "${PYTHON_PN}-pytest-runner-native"
+DEPENDS += "\
+    ${PYTHON_PN}-pytest-runner-native \
+    ${PYTHON_PN}-wheel-native \
+"
 
 PACKAGES =+ "${PN}-tests"