Skip to content

Commit 23d074c

Browse files
committed
Add patch to make scikit-build-core 0.11 more lenient
1 parent 5a8fcc9 commit 23d074c

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

graalpython/lib-graalpython/patches/metadata.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,11 @@ version = '== 0.3.3'
618618
patch = 'safetensors-0.3.3.patch'
619619
license = 'Apache-2.0'
620620

621+
[[scikit-build-core.rules]]
622+
version = '~= 0.11.0'
623+
patch = 'scikit-build-core.patch'
624+
license = 'Apache-2.0'
625+
621626
[[scikit-learn.rules]]
622627
version = '== 1.5.2'
623628
patch = 'scikit-learn-1.5.2.patch'
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- a/scikit_build_core/_vendor/pyproject_metadata/__init__.py
2+
+++ b/scikit_build_core/_vendor/pyproject_metadata/__init__.py
3+
@@ -308,7 +308,7 @@
4+
project = pyproject_table["project"]
5+
project_dir = pathlib.Path(project_dir)
6+
7+
- if not allow_extra_keys:
8+
+ if False:
9+
extra_keys = extras_project(data)
10+
if extra_keys:
11+
extra_keys_str = ", ".join(sorted(f"{k!r}" for k in extra_keys))

0 commit comments

Comments
 (0)