Skip to content

Commit

Permalink
ci(python): Set uv pip install to verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Jul 27, 2024
1 parent 2473807 commit ce063d8
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 11 deletions.
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

0 comments on commit ce063d8

Please sign in to comment.