This is an automated email from the ASF dual-hosted git repository.
agrove pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion-python.git
The following commit(s) were added to refs/heads/main by this push:
new bb004ee Run `maturin develop` instead of `cargo build` in
verification script (#200)
bb004ee is described below
commit bb004eef998771a5ac0d650afcfd0a95e747199a
Author: Andy Grove <[email protected]>
AuthorDate: Tue Feb 21 09:49:04 2023 -0700
Run `maturin develop` instead of `cargo build` in verification script (#200)
---
dev/release/verify-release-candidate.sh | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/dev/release/verify-release-candidate.sh
b/dev/release/verify-release-candidate.sh
index fee276c..be86f69 100755
--- a/dev/release/verify-release-candidate.sh
+++ b/dev/release/verify-release-candidate.sh
@@ -125,15 +125,19 @@ test_source_distribution() {
git clone https://github.com/apache/arrow-testing.git testing
git clone https://github.com/apache/parquet-testing.git parquet-testing
- cargo build
- cargo test --all
+ python3 -m venv venv
+ source venv/bin/activate
+ python3 -m pip install -U pip
+ python3 -m pip install -r requirements-310.txt
+ maturin develop
+
+ #TODO: we should really run tests here as well
+ #python3 -m pytest
if ( find -iname 'Cargo.toml' | xargs grep SNAPSHOT ); then
echo "Cargo.toml version should not contain SNAPSHOT for releases"
exit 1
fi
-
- cargo publish --dry-run
}
TEST_SUCCESS=no