mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-30 04:23:58 +00:00
python3-propcache: Fix build with cython 3.1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
8803832e70
commit
3b05ba3794
@ -0,0 +1,34 @@
|
|||||||
|
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 <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
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
|
||||||
@ -3,6 +3,7 @@ HOMEPAGE = "https://github.com/aio-libs/propcache"
|
|||||||
LICENSE = "Apache-2.0"
|
LICENSE = "Apache-2.0"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||||
|
|
||||||
|
SRC_URI += "file://0001-Fix-build-with-cython-3.1.x.patch"
|
||||||
SRC_URI[sha256sum] = "40d980c33765359098837527e18eddefc9a24cea5b45e078a7f3bb5b032c6ecf"
|
SRC_URI[sha256sum] = "40d980c33765359098837527e18eddefc9a24cea5b45e078a7f3bb5b032c6ecf"
|
||||||
|
|
||||||
inherit pypi python_setuptools_build_meta ptest-python-pytest cython
|
inherit pypi python_setuptools_build_meta ptest-python-pytest cython
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user