Skip to content

Commit bb004ee

Browse files
authored
Run maturin develop instead of cargo build in verification script (#200)
1 parent ca8b055 commit bb004ee

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

dev/release/verify-release-candidate.sh

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,15 +125,19 @@ test_source_distribution() {
125125
git clone https://github.com/apache/arrow-testing.git testing
126126
git clone https://github.com/apache/parquet-testing.git parquet-testing
127127

128-
cargo build
129-
cargo test --all
128+
python3 -m venv venv
129+
source venv/bin/activate
130+
python3 -m pip install -U pip
131+
python3 -m pip install -r requirements-310.txt
132+
maturin develop
133+
134+
#TODO: we should really run tests here as well
135+
#python3 -m pytest
130136

131137
if ( find -iname 'Cargo.toml' | xargs grep SNAPSHOT ); then
132138
echo "Cargo.toml version should not contain SNAPSHOT for releases"
133139
exit 1
134140
fi
135-
136-
cargo publish --dry-run
137141
}
138142

139143
TEST_SUCCESS=no

0 commit comments

Comments
 (0)