Skip to content

Commit 915dd87

Browse files
ci: install nightly pyarrow after provision so uv run doesn't revert it
1 parent a511f4c commit 915dd87

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,17 @@ test: ## Run all unit tests (excluding integration)
110110

111111
test-integration: test-integration-setup test-integration-exec test-integration-cleanup ## Run integration tests
112112

113-
test-integration-setup: install install-pyarrow-nightly ## Start Docker services for integration tests
113+
test-integration-setup: install ## Start Docker services for integration tests
114114
docker compose -f dev/docker-compose-integration.yml kill
115115
docker compose -f dev/docker-compose-integration.yml rm -f
116116
docker compose -f dev/docker-compose-integration.yml up -d --build --wait
117-
uv run $(PYTHON_ARG) python dev/provision.py
117+
uv run --no-sync $(PYTHON_ARG) python dev/provision.py
118+
$(MAKE) install-pyarrow-nightly
118119

119120
# Parquet Modular Encryption decryption (tests/integration/test_encryption.py) needs the
120121
# pyarrow.parquet.encryption.create_decryption_properties API from apache/arrow#49667. That
121-
# lands in pyarrow 25, which hasn't been released — pull the nightly until it is.
122+
# lands in pyarrow 25, which hasn't been released — pull the nightly until it is. Runs AFTER
123+
# provision so that the implicit `uv run` sync during provision.py doesn't revert this overlay.
122124
install-pyarrow-nightly: ## Overlay nightly pyarrow on top of the installed env (for PME)
123125
uv pip install $(PYTHON_ARG) --prerelease=allow --upgrade --force-reinstall \
124126
-i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple pyarrow

0 commit comments

Comments
 (0)