Skip to content

Commit 15153da

Browse files
committed
[GR-76008] Fix pyarrow patch.
PullRequest: graalpython/4571
2 parents 6399ad7 + f016277 commit 15153da

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

graalpython/lib-graalpython/patches/pyarrow-22.0.0.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ index a526f0f..defb8f7 100644
4242
"""
4343
diff --git a/pyarrow_build_backend.py b/pyarrow_build_backend.py
4444
new file mode 100644
45-
index 0000000..cb98041
45+
index 0000000..fd43d65
4646
--- /dev/null
4747
+++ b/pyarrow_build_backend.py
4848
@@ -0,0 +1,93 @@
@@ -57,7 +57,7 @@ index 0000000..cb98041
5757
+import urllib.request
5858
+from pathlib import Path
5959
+
60-
+VERSION = re.search(r'set\\(PYARROW_VERSION "([^"]+)"\\)', Path("CMakeLists.txt").read_text()).group(1)
60+
+VERSION = re.search(r'set\(PYARROW_VERSION "([^"]+)"\)', Path("CMakeLists.txt").read_text()).group(1)
6161
+
6262
+
6363
+def build_sdist(sdist_directory, config_settings=None):

graalpython/lib-graalpython/patches/pyarrow-24.0.0.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ index a526f0f..defb8f7 100644
4242
"""
4343
diff --git a/pyarrow_build_backend.py b/pyarrow_build_backend.py
4444
new file mode 100644
45-
index 0000000..cb98041
45+
index 0000000..fd43d65
4646
--- /dev/null
4747
+++ b/pyarrow_build_backend.py
4848
@@ -0,0 +1,93 @@
@@ -57,7 +57,7 @@ index 0000000..cb98041
5757
+import urllib.request
5858
+from pathlib import Path
5959
+
60-
+VERSION = re.search(r'set\\(PYARROW_VERSION "([^"]+)"\\)', Path("CMakeLists.txt").read_text()).group(1)
60+
+VERSION = re.search(r'set\(PYARROW_VERSION "([^"]+)"\)', Path("CMakeLists.txt").read_text()).group(1)
6161
+
6262
+
6363
+def build_sdist(sdist_directory, config_settings=None):

0 commit comments

Comments
 (0)