This is an automated email from the ASF dual-hosted git repository.

willayd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-nanoarrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 96816937 ci: Replace symlinks with files when packaging source (#794)
96816937 is described below

commit 96816937aa593ba2e1035bcf4e8c662ad9177091
Author: William Ayd <[email protected]>
AuthorDate: Fri Jun 27 16:23:44 2025 -0400

    ci: Replace symlinks with files when packaging source (#794)
---
 .github/workflows/packaging.yaml  | 3 +++
 dev/release/rat_exclude_files.txt | 2 +-
 dev/release/source_build.sh       | 2 ++
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/packaging.yaml b/.github/workflows/packaging.yaml
index 8b519b5f..c5f99f01 100644
--- a/.github/workflows/packaging.yaml
+++ b/.github/workflows/packaging.yaml
@@ -41,6 +41,9 @@ jobs:
       - uses: actions/checkout@v4
         with:
           fetch-depth: 0
+      - uses: actions/setup-python@v5
+        with:
+          python-version: "3.x"
 
       - name: Prepare version
         shell: bash
diff --git a/dev/release/rat_exclude_files.txt 
b/dev/release/rat_exclude_files.txt
index 81986664..53a11f20 100644
--- a/dev/release/rat_exclude_files.txt
+++ b/dev/release/rat_exclude_files.txt
@@ -15,4 +15,4 @@ dist/flatcc.c
 src/nanoarrow/ipc/flatcc_generated.h
 thirdparty/*
 python/src/nanoarrow/dlpack_abi.h
-python/subprojects/arrow-nanoarrow
+python/subprojects/arrow-nanoarrow/*
diff --git a/dev/release/source_build.sh b/dev/release/source_build.sh
index 92d182a5..4a2478fe 100755
--- a/dev/release/source_build.sh
+++ b/dev/release/source_build.sh
@@ -45,6 +45,8 @@ main() {
     mv "${base_name}/" "${base_name}.tmp/"
     cp -R -d "${base_name}.tmp" "${base_name}"
     rm -rf "${base_name}.tmp/"
+    MESON_SOURCE_ROOT="${base_name}/python" 
MESON_DIST_ROOT="${base_name}/python" \
+                     python "${base_name}/python/generate_dist.py"
 
     # Create new tarball
     tar czf "${tar_ball}" "${base_name}/"

Reply via email to