From f016277f68d46b87dd17a3cfb5d3cab802737a46 Mon Sep 17 00:00:00 2001 From: Florian Angerer Date: Tue, 26 May 2026 17:10:08 +0200 Subject: [PATCH] Fix PYARROW_VERSION regex --- graalpython/lib-graalpython/patches/pyarrow-22.0.0.patch | 4 ++-- graalpython/lib-graalpython/patches/pyarrow-24.0.0.patch | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/graalpython/lib-graalpython/patches/pyarrow-22.0.0.patch b/graalpython/lib-graalpython/patches/pyarrow-22.0.0.patch index b6003399e2..3174c03276 100644 --- a/graalpython/lib-graalpython/patches/pyarrow-22.0.0.patch +++ b/graalpython/lib-graalpython/patches/pyarrow-22.0.0.patch @@ -42,7 +42,7 @@ index a526f0f..defb8f7 100644 """ diff --git a/pyarrow_build_backend.py b/pyarrow_build_backend.py new file mode 100644 -index 0000000..cb98041 +index 0000000..fd43d65 --- /dev/null +++ b/pyarrow_build_backend.py @@ -0,0 +1,93 @@ @@ -57,7 +57,7 @@ index 0000000..cb98041 +import urllib.request +from pathlib import Path + -+VERSION = re.search(r'set\\(PYARROW_VERSION "([^"]+)"\\)', Path("CMakeLists.txt").read_text()).group(1) ++VERSION = re.search(r'set\(PYARROW_VERSION "([^"]+)"\)', Path("CMakeLists.txt").read_text()).group(1) + + +def build_sdist(sdist_directory, config_settings=None): diff --git a/graalpython/lib-graalpython/patches/pyarrow-24.0.0.patch b/graalpython/lib-graalpython/patches/pyarrow-24.0.0.patch index bee49c8ad0..6f4ffbf10b 100644 --- a/graalpython/lib-graalpython/patches/pyarrow-24.0.0.patch +++ b/graalpython/lib-graalpython/patches/pyarrow-24.0.0.patch @@ -42,7 +42,7 @@ index a526f0f..defb8f7 100644 """ diff --git a/pyarrow_build_backend.py b/pyarrow_build_backend.py new file mode 100644 -index 0000000..cb98041 +index 0000000..fd43d65 --- /dev/null +++ b/pyarrow_build_backend.py @@ -0,0 +1,93 @@ @@ -57,7 +57,7 @@ index 0000000..cb98041 +import urllib.request +from pathlib import Path + -+VERSION = re.search(r'set\\(PYARROW_VERSION "([^"]+)"\\)', Path("CMakeLists.txt").read_text()).group(1) ++VERSION = re.search(r'set\(PYARROW_VERSION "([^"]+)"\)', Path("CMakeLists.txt").read_text()).group(1) + + +def build_sdist(sdist_directory, config_settings=None):