summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-propcache/0001-Fix-build-with-cython-3.1.x.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-propcache/0001-Fix-build-with-cython-3.1.x.patch')
-rw-r--r--meta-python/recipes-devtools/python/python3-propcache/0001-Fix-build-with-cython-3.1.x.patch34
1 files changed, 34 insertions, 0 deletions
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
new file mode 100644
index 0000000000..3b86b23c00
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-propcache/0001-Fix-build-with-cython-3.1.x.patch
@@ -0,0 +1,34 @@
1From 8d44d867f7cd86da4edf328e06b13778577ea4b7 Mon Sep 17 00:00:00 2001
2From: WXbet <57314510+WXbet@users.noreply.github.com>
3Date: Thu, 15 May 2025 21:54:48 +0200
4Subject: [PATCH] Fix build with cython 3.1.x
5
6closes #113
7
8Upstream-Status: Submitted [https://github.com/aio-libs/propcache/pull/114]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 packaging/pep517_backend/_backend.py | 2 +-
12 requirements/cython.txt | 2 +-
13 2 files changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/packaging/pep517_backend/_backend.py b/packaging/pep517_backend/_backend.py
16index 7588db3..f75b83a 100644
17--- a/packaging/pep517_backend/_backend.py
18+++ b/packaging/pep517_backend/_backend.py
19@@ -379,7 +379,7 @@ def get_requires_for_build_wheel(
20 elif sysconfig.get_config_var('Py_GIL_DISABLED'):
21 c_ext_build_deps = ['Cython ~= 3.1.0a1']
22 else:
23- c_ext_build_deps = ['Cython ~= 3.0.12']
24+ c_ext_build_deps = ['Cython ~= 3.1']
25
26 return _setuptools_get_requires_for_build_wheel(
27 config_settings=config_settings,
28diff --git a/requirements/cython.txt b/requirements/cython.txt
29index 69a1d6f..5b356ed 100644
30--- a/requirements/cython.txt
31+++ b/requirements/cython.txt
32@@ -1 +1 @@
33-cython==3.0.12
34+cython~=3.1