Skip to content

Apache DataFusion SQL Query Engine

ARROW-12172: [Python][Packaging] Pass python version as setuptools pretend version in the macOS wheel builds

Krisztián Szűcsc898cdf15e8d
diff --git a/dev/tasks/python-wheels/github.osx.yml b/dev/tasks/python-wheels/github.osx.yml
index 1df94e4c70..db67d99342 100644
--- a/dev/tasks/python-wheels/github.osx.yml
+++ b/dev/tasks/python-wheels/github.osx.yml
@@ -31,6 +31,7 @@ env:
PYARROW_BUILD_VERBOSE: 1
PYARROW_VERSION: {{ arrow.no_rc_version }}
PYTHON_VERSION: {{ python_version }}
+ SETUPTOOLS_SCM_PRETEND_VERSION: {{ arrow.no_rc_version }}
VCPKG_DEFAULT_TRIPLET: x64-osx-static-release
VCPKG_FEATURE_FLAGS: "-manifests"
VCPKG_OVERLAY_TRIPLETS: {{ "${{ github.workspace }}/arrow/ci/vcpkg" }}