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

Feat/use uv python management #994

Merged
merged 36 commits into from
Jan 19, 2025
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
0ed4862
Remove requirements files and add dependencies into pyproject.toml in…
timsaucer Jan 12, 2025
88aff7e
Remove old conda files since we will use uv as our primary method for…
timsaucer Jan 12, 2025
32604e3
Working through CI changes to use uv instead of pip and conda
timsaucer Jan 12, 2025
21ac4a8
Add uv lock to exclude files
timsaucer Jan 12, 2025
2857364
Revert "Remove old conda files since we will use uv as our primary me…
timsaucer Jan 12, 2025
5c33fb2
Windows workflows don't use source command
timsaucer Jan 12, 2025
892d305
Add in extra include for ignoreing rat
timsaucer Jan 13, 2025
56c7e93
Use uv commands in CI
timsaucer Jan 13, 2025
8054104
Remove conda recipes and CI stages
timsaucer Jan 13, 2025
4ee66ac
Working on CI using uv
timsaucer Jan 13, 2025
774510b
Install doc requirements
timsaucer Jan 13, 2025
f0b2234
Remove caching uv
timsaucer Jan 13, 2025
9196f59
Set uv venv
timsaucer Jan 13, 2025
5ae5d6e
Add requirements for building
timsaucer Jan 13, 2025
442d83b
Revert github action to allowed one
timsaucer Jan 13, 2025
da3a519
Call uv sync with verbose mode so users can see the build occuring in CI
timsaucer Jan 13, 2025
e2bf5d9
Test setting specific hash on action
timsaucer Jan 13, 2025
d6b8b41
Test setting rust-toolchain github action with pinned version
timsaucer Jan 14, 2025
d94d703
Testing night rust toolchain against apache rejection criteria
timsaucer Jan 14, 2025
338794f
Github action is fickle with the pattern matching
timsaucer Jan 14, 2025
4cfa108
Switch all Ci to use nightly rust toolchain until infra team whitelis…
timsaucer Jan 14, 2025
f547fe2
Speed up CI by preventing build during uv sync
timsaucer Jan 14, 2025
1f35a56
Additional uv commands missing no-project option
timsaucer Jan 14, 2025
6179d9b
Setting python versions of dependencies to match lowest supported pyt…
timsaucer Jan 14, 2025
e27831d
Update maturin and move to deps for dev
timsaucer Jan 14, 2025
d299124
CI ordering was wrong and maturin needed uv option
timsaucer Jan 14, 2025
49be265
Switch to stable toolchain
timsaucer Jan 14, 2025
5307acf
uv requires two dashes
timsaucer Jan 14, 2025
7c61b04
Submodule init
timsaucer Jan 14, 2025
a33d110
change directories for unit tests
timsaucer Jan 14, 2025
eeb88bd
Add deps for build
timsaucer Jan 14, 2025
29437b3
Maturin build doesn't take uv as parameter
timsaucer Jan 14, 2025
6491bdf
Update documentation for setting up with uv
timsaucer Jan 14, 2025
9c0c8dc
Enable cache in CI
timsaucer Jan 14, 2025
755a8f5
Update documentation to use uv
timsaucer Jan 14, 2025
48890c3
Small adjustment to CI config
timsaucer Jan 19, 2025
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
6 changes: 5 additions & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,15 @@ jobs:
- name: Install dependencies and build
uses: astral-sh/setup-uv@v5

- name: Build repo
run: |
uv venv
uv sync --dev -v
timsaucer marked this conversation as resolved.
Show resolved Hide resolved
- name: Build docs
run: |
set -x
cd docs
uv venv
uv pip install -r requirements.txt
timsaucer marked this conversation as resolved.
Show resolved Hide resolved
curl -O https://gist.githubusercontent.com/ritchie46/cac6b337ea52281aa23c049250a4ff03/raw/89a957ff3919d90e6ef2d34235e6bf22304f3366/pokemon.csv
curl -O https://d37ci6vzurychx.cloudfront.net/trip-data/yellow_tripdata_2021-01.parquet
Expand Down
Loading