From af2e6a25cf3cda8ebb0a6be9a1dff84bd07b53d8 Mon Sep 17 00:00:00 2001 From: Tom Geelen Date: Sat, 21 Jun 2025 16:17:15 +0200 Subject: python3-propcache: 0.3.1 -> 0.3.2 Drop patch which allows Cython 3.1.x as source now supports it. Signed-off-by: Khem Raj --- .../0001-Fix-build-with-cython-3.1.x.patch | 34 ---------------------- .../python/python3-propcache_0.3.1.bb | 21 ------------- .../python/python3-propcache_0.3.2.bb | 20 +++++++++++++ 3 files changed, 20 insertions(+), 55 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-propcache/0001-Fix-build-with-cython-3.1.x.patch delete mode 100644 meta-python/recipes-devtools/python/python3-propcache_0.3.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-propcache_0.3.2.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-propcache/0001-Fix-build-with-cython-3.1.x.patch b/meta-python/recipes-devtools/python/python3-propcache/0001-Fix-build-with-cython-3.1.x.patch deleted file mode 100644 index 3b86b23c00..0000000000 --- a/meta-python/recipes-devtools/python/python3-propcache/0001-Fix-build-with-cython-3.1.x.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 8d44d867f7cd86da4edf328e06b13778577ea4b7 Mon Sep 17 00:00:00 2001 -From: WXbet <57314510+WXbet@users.noreply.github.com> -Date: Thu, 15 May 2025 21:54:48 +0200 -Subject: [PATCH] Fix build with cython 3.1.x - -closes #113 - -Upstream-Status: Submitted [https://github.com/aio-libs/propcache/pull/114] -Signed-off-by: Khem Raj ---- - packaging/pep517_backend/_backend.py | 2 +- - requirements/cython.txt | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/packaging/pep517_backend/_backend.py b/packaging/pep517_backend/_backend.py -index 7588db3..f75b83a 100644 ---- a/packaging/pep517_backend/_backend.py -+++ b/packaging/pep517_backend/_backend.py -@@ -379,7 +379,7 @@ def get_requires_for_build_wheel( - elif sysconfig.get_config_var('Py_GIL_DISABLED'): - c_ext_build_deps = ['Cython ~= 3.1.0a1'] - else: -- c_ext_build_deps = ['Cython ~= 3.0.12'] -+ c_ext_build_deps = ['Cython ~= 3.1'] - - return _setuptools_get_requires_for_build_wheel( - config_settings=config_settings, -diff --git a/requirements/cython.txt b/requirements/cython.txt -index 69a1d6f..5b356ed 100644 ---- a/requirements/cython.txt -+++ b/requirements/cython.txt -@@ -1 +1 @@ --cython==3.0.12 -+cython~=3.1 diff --git a/meta-python/recipes-devtools/python/python3-propcache_0.3.1.bb b/meta-python/recipes-devtools/python/python3-propcache_0.3.1.bb deleted file mode 100644 index afa6822563..0000000000 --- a/meta-python/recipes-devtools/python/python3-propcache_0.3.1.bb +++ /dev/null @@ -1,21 +0,0 @@ -SUMMARY = "Fast property caching" -HOMEPAGE = "https://github.com/aio-libs/propcache" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" - -SRC_URI += "file://0001-Fix-build-with-cython-3.1.x.patch" -SRC_URI[sha256sum] = "40d980c33765359098837527e18eddefc9a24cea5b45e078a7f3bb5b032c6ecf" - -inherit pypi python_setuptools_build_meta ptest-python-pytest cython - -DEPENDS += " \ - python3-expandvars-native \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest-codspeed \ - python3-pytest-xdist \ - python3-rich \ - python3-statistics \ -" - diff --git a/meta-python/recipes-devtools/python/python3-propcache_0.3.2.bb b/meta-python/recipes-devtools/python/python3-propcache_0.3.2.bb new file mode 100644 index 0000000000..e78d7b3428 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-propcache_0.3.2.bb @@ -0,0 +1,20 @@ +SUMMARY = "Fast property caching" +HOMEPAGE = "https://github.com/aio-libs/propcache" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRC_URI[sha256sum] = "20d7d62e4e7ef05f221e0db2856b979540686342e7dd9973b815599c7057e168" + +inherit pypi python_setuptools_build_meta ptest-python-pytest cython + +DEPENDS += " \ + python3-expandvars-native \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest-codspeed \ + python3-pytest-xdist \ + python3-rich \ + python3-statistics \ +" + -- cgit v1.2.3-54-g00ecf