Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(python): Set uv pip install to verbose #17901

Merged
merged 1 commit into from
Jul 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:

- name: Install Python dependencies
working-directory: py-polars
run: uv pip install --compile-bytecode -r requirements-dev.txt -r requirements-ci.txt
run: uv pip install --compile-bytecode -r requirements-dev.txt -r requirements-ci.txt --verbose

- name: Set up Rust
run: rustup show
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/docs-global.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ jobs:
echo "VIRTUAL_ENV=$GITHUB_WORKSPACE/.venv" >> $GITHUB_ENV

- name: Install Python dependencies
run: |
uv pip install -r py-polars/requirements-dev.txt -r docs/requirements.txt
run: uv pip install -r py-polars/requirements-dev.txt -r docs/requirements.txt

- name: Set up Rust
run: rustup show
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/lint-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ jobs:

- name: Install Python dependencies
working-directory: py-polars
run: |
uv pip install -r requirements-dev.txt -r requirements-lint.txt
run: uv pip install -r requirements-dev.txt -r requirements-lint.txt

# Allow untyped calls for older Python versions
- name: Run mypy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:

- name: Install Python dependencies
working-directory: py-polars
run: uv pip install --compile-bytecode -r requirements-dev.txt -r requirements-ci.txt
run: uv pip install --compile-bytecode -r requirements-dev.txt -r requirements-ci.txt --verbose

- name: Set up Rust
run: rustup component add llvm-tools-preview
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Install Python dependencies
run: |
pip install uv
uv pip install --compile-bytecode -r requirements-dev.txt -r requirements-ci.txt
uv pip install --compile-bytecode -r requirements-dev.txt -r requirements-ci.txt --verbose

- name: Set up Rust
run: rustup show
Expand Down
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ FILTER_PIP_WARNINGS=| grep -v "don't match your environment"; test $${PIPESTATUS
requirements: .venv ## Install/refresh Python project requirements
@unset CONDA_PREFIX \
&& $(VENV_BIN)/python -m pip install --upgrade uv \
&& $(VENV_BIN)/uv pip install --upgrade --compile-bytecode -r py-polars/requirements-dev.txt \
&& $(VENV_BIN)/uv pip install --upgrade -r py-polars/requirements-lint.txt \
&& $(VENV_BIN)/uv pip install --upgrade -r py-polars/docs/requirements-docs.txt \
&& $(VENV_BIN)/uv pip install --upgrade -r docs/requirements.txt
&& $(VENV_BIN)/uv pip install --upgrade --compile-bytecode \
-r py-polars/requirements-dev.txt \
-r py-polars/requirements-lint.txt \
-r py-polars/docs/requirements-docs.txt \
-r docs/requirements.txt

.PHONY: requirements-all
requirements-all: .venv ## Install/refresh all Python requirements (including those needed for CI tests)
Expand Down
Loading