Skip to content

Commit

Permalink
another strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Aug 12, 2024
1 parent e19a0b4 commit db6b59f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ env:
SCCACHE_GHA_ENABLED: 'true'
RUSTC_WRAPPER: sccache
RUST_BACKTRACE: 1
UV_INDEX_STRATEGY: unsafe-best-match

jobs:
main:
Expand All @@ -49,7 +48,10 @@ jobs:
- name: Install Python dependencies
working-directory: py-polars
run: uv pip install --compile-bytecode -r requirements-dev.txt -r requirements-ci.txt --verbose
run: |
uv pip install --compile-bytecode -r requirements-dev.txt
uv pip install --compile-bytecode -r requirements-ci.txt --verbose --index-strategy unsafe-best-match
- name: Set up Rust
run: rustup show
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ env:
CARGO_LLVM_COV: 1
CARGO_LLVM_COV_SHOW_ENV: 1
CARGO_LLVM_COV_TARGET_DIR: ${{ github.workspace }}/target
UV_INDEX_STRATEGY: unsafe-best-match

jobs:
coverage-rust:
Expand Down Expand Up @@ -104,7 +103,9 @@ jobs:
- name: Install Python dependencies
working-directory: py-polars
run: uv pip install --compile-bytecode -r requirements-dev.txt -r requirements-ci.txt --verbose
run: |
uv pip install --compile-bytecode -r requirements-dev.txt
uv pip install --compile-bytecode -r requirements-ci.txt --verbose --index-strategy unsafe-best-match
- name: Set up Rust
run: rustup component add llvm-tools-preview
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ env:
RUSTFLAGS: -C debuginfo=0 # Do not produce debug symbols to keep memory usage down
RUST_BACKTRACE: 1
PYTHONUTF8: 1
UV_INDEX_STRATEGY: unsafe-best-match

defaults:
run:
Expand Down Expand Up @@ -67,7 +66,8 @@ jobs:
- name: Install Python dependencies
run: |
pip install uv
uv pip install --compile-bytecode -r requirements-dev.txt -r requirements-ci.txt --verbose
uv pip install --compile-bytecode -r requirements-dev.txt
uv pip install --compile-bytecode -r requirements-ci.txt --verbose --index-strategy unsafe-best-match
- name: Set up Rust
run: rustup show
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ concurrency:
env:
RUSTFLAGS: -C debuginfo=0 # Do not produce debug symbols to keep memory usage down
RUST_BACKTRACE: 1
UV_INDEX_STRATEGY: unsafe-best-match

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ requirements: .venv ## Install/refresh Python project requirements
.PHONY: requirements-all
requirements-all: .venv ## Install/refresh all Python requirements (including those needed for CI tests)
$(MAKE) requirements
$(VENV_BIN)/uv pip install --upgrade --compile-bytecode -r py-polars/requirements-ci.txt
$(VENV_BIN)/uv pip install --upgrade --compile-bytecode -r py-polars/requirements-ci.txt --index-strategy unsafe-best-match

.PHONY: build
build: .venv ## Compile and install Python Polars for development
Expand Down

0 comments on commit db6b59f

Please sign in to comment.