Skip to content

Commit 7511409

Browse files
committed
Pin cython in scikit-learn patch
1 parent 1249dc3 commit 7511409

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

graalpython/lib-graalpython/patches/scikit-learn/scikit-learn-1.1.3.patch

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
diff --git a/pyproject.toml b/pyproject.toml
2+
index 9ad9298..b0ce0fa 100644
3+
--- a/pyproject.toml
4+
+++ b/pyproject.toml
5+
@@ -1,9 +1,9 @@
6+
[build-system]
7+
# Minimum requirements for the build system to execute.
8+
requires = [
9+
- "setuptools<60.0",
10+
+ "setuptools",
11+
"wheel",
12+
- "Cython>=0.28.5",
13+
+ "Cython>=0.28.5,<3",
14+
15+
# use oldest-supported-numpy which provides the oldest numpy version with
16+
# wheels on PyPI
117
diff --git a/sklearn/_build_utils/__init__.py b/sklearn/_build_utils/__init__.py
218
index d8206a3..e7b7bf4 100644
319
--- a/sklearn/_build_utils/__init__.py

0 commit comments

Comments
 (0)