This is an automated email from the ASF dual-hosted git repository.
paleolimbot 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 8053886a chore: Update example wraps such that they check the latest
commit (#789)
8053886a is described below
commit 8053886a8c40772c00c2991a945dab17f96eeb19
Author: Dewey Dunnington <[email protected]>
AuthorDate: Fri Jun 20 08:40:31 2025 -0500
chore: Update example wraps such that they check the latest commit (#789)
Fixes the failing examples workflow on main.
---
.github/workflows/examples.yaml | 3 ++-
examples/meson-minimal/subprojects/nanoarrow.wrap | 3 ++-
examples/python-package/subprojects/nanoarrow.wrap | 12 +++++-------
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/examples.yaml b/.github/workflows/examples.yaml
index 82bb54a0..ca479711 100644
--- a/.github/workflows/examples.yaml
+++ b/.github/workflows/examples.yaml
@@ -122,7 +122,7 @@ jobs:
./run.sh
- name: Meson example
- # This example doesn't seem to work on Windows
+ # These examples don't seem to work on Windows
# https://github.com/apache/arrow-nanoarrow/issues/725
if: matrix.config.label != 'windows'
shell: bash
@@ -135,6 +135,7 @@ jobs:
./builddir/example_meson_minimal_app
- name: Python example
+ if: matrix.config.label != 'windows'
shell: bash
run: |
python3 -m pip install examples/python-package
diff --git a/examples/meson-minimal/subprojects/nanoarrow.wrap
b/examples/meson-minimal/subprojects/nanoarrow.wrap
index 59eae53a..681f6b23 100644
--- a/examples/meson-minimal/subprojects/nanoarrow.wrap
+++ b/examples/meson-minimal/subprojects/nanoarrow.wrap
@@ -15,8 +15,9 @@
# specific language governing permissions and limitations
# under the License.
+# Normally you should meson wrap install nanoarrow to populate this file;
however
+# we use wrap-git to ensure this example is testing the latest version in our
CI.
[wrap-git]
-# url should point to the project root with the top-level meson.build file
url = ../../..
revision = head
diff --git a/examples/python-package/subprojects/nanoarrow.wrap
b/examples/python-package/subprojects/nanoarrow.wrap
index 0de4abaf..f393fc77 100644
--- a/examples/python-package/subprojects/nanoarrow.wrap
+++ b/examples/python-package/subprojects/nanoarrow.wrap
@@ -15,13 +15,11 @@
# specific language governing permissions and limitations
# under the License.
-[wrap-file]
-directory = arrow-nanoarrow-apache-arrow-nanoarrow-0.5.0
-source_url =
https://github.com/apache/arrow-nanoarrow/archive/refs/tags/apache-arrow-nanoarrow-0.5.0.tar.gz
-source_filename = apache-arrow-nanoarrow-0.5.0.tar.gz
-source_hash = 0ceeaa1fb005dbc89c8c7d1b39f2dba07344e40aa9d885ee25fb55b4d57e331a
-source_fallback_url =
https://github.com/mesonbuild/wrapdb/releases/download/nanoarrow_0.5.0-1/apache-arrow-nanoarrow-0.5.0.tar.gz
-wrapdb_version = 0.5.0-1
+# Normally you should meson wrap install nanoarrow to populate this file;
however
+# we use wrap-git to ensure this example is testing the latest version in our
CI.
+[wrap-git]
+url = ../../..
+revision = head
[provide]
nanoarrow = nanoarrow_dep