Skip to content

Commit

Permalink
Update pixi to 0.34 and add new script to check pixi / rust versions (r…
Browse files Browse the repository at this point in the history
…erun-io#7893)

### What
- These things are managed outside of pixi itself. It's nice to have an
easy way to sanity check them.

### Checklist
* [x] I have read and agree to [Contributor
Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and
the [Code of
Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md)
* [x] I've included a screenshot or gif (if applicable)
* [x] I have tested the web demo (if applicable):
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/7893?manifest_url=https://app.rerun.io/version/main/examples_manifest.json)
* Using full set of examples from `nightly` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/7893?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json)
* [x] The PR title and labels are set such as to maximize their
usefulness for the next release's CHANGELOG
* [x] If applicable, add a new check to the [release
checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)!
* [x] If have noted any breaking changes to the log API in
`CHANGELOG.md` and the migration guide

- [PR Build Summary](https://build.rerun.io/pr/7893)
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)

To run all checks from `main`, comment on the PR with `@rerun-bot
full-check`.
  • Loading branch information
jleibs authored Oct 24, 2024
1 parent 5770d58 commit 2542255
Show file tree
Hide file tree
Showing 31 changed files with 126 additions and 48 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto_approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Wait a few seconds
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/checkboxes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Check PR checkboxes
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/contrib_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Python format check
run: pixi run py-fmt-check
Expand All @@ -63,7 +63,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0
environments: py-docs

- name: Build via mkdocs
Expand All @@ -82,7 +82,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Codegen check
run: pixi run codegen --force --check
Expand All @@ -95,7 +95,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Rust checks & tests
run: pixi run rs-check --skip individual_crates docs_slow
Expand All @@ -108,7 +108,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Rerun lints
run: pixi run lint-rerun
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0
environments: cpp

# TODO(emilk): make this work somehow. Right now this just results in
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/contrib_rerun_py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0
environments: wheel-test-min

- name: Build rerun-cli
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on_pull_request_target_contrib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Update PR description
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/on_push_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Get version
id: versioning
Expand All @@ -58,7 +58,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0
environments: py-docs

- name: Install rerun-sdk
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Update crate versions
id: versioning
Expand Down Expand Up @@ -398,7 +398,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: git config
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable_bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0
# Only has the deps for round-trips. Not all examples.
environments: wheel-test-min

Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Render benchmark result
if: github.ref == 'refs/heads/main'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_build_and_upload_rerun_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Build web-viewer (release)
run: pixi run rerun-build-web-release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_build_and_upload_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Get sha
id: get-sha
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_build_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0
environments: wheel-test

- name: Download Wheel
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_build_js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Install yarn dependencies
run: pixi run yarn --cwd rerun_js install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_build_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Build web-viewer (release)
run: |
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/reusable_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Codegen check
run: pixi run codegen --force --check
Expand All @@ -79,7 +79,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Set up Python
uses: actions/setup-python@v5
Expand Down Expand Up @@ -118,15 +118,15 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Run linter
run: |
# double quoting because pixi does its own glob expansion
pixi run mdlint --glob "'docs/content/**/*.md'"
pixi run mdlint --glob "'examples/python/*/README.md'"
pixi run mdlint --glob "'examples/cpp/*/README.md'"
pixi run mdlint --glob "'examples/rust/*/README.md'"
# Single quoted because pixi does its own glob expansion
pixi run mdlint --glob 'docs/content/**/*.md'
pixi run mdlint --glob 'examples/python/*/README.md'
pixi run mdlint --glob 'examples/cpp/*/README.md'
pixi run mdlint --glob 'examples/rust/*/README.md'
# ---------------------------------------------------------------------------

Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: prettier --check
run: pixi run misc-fmt-check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_checks_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0
environments: cpp

- name: Set up Rust
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable_checks_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Python format check
run: pixi run py-fmt-check
Expand All @@ -55,7 +55,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0
environments: py-docs

- name: Build via mkdocs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable_checks_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Rust checks & tests
if: ${{ inputs.CHANNEL == 'pr' }}
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
# Building with `--all-features` requires extra build tools like `nasm`.
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Download test assets
run: pixi run python ./tests/assets/download_test_assets.py
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/reusable_deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0
environments: py-docs

- name: Set up git author
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Delete existing /target/doc
run: rm -rf ./target/doc
Expand Down Expand Up @@ -199,7 +199,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Doxygen C++ docs
run: pixi run -e cpp cpp-docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_pr_summary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- id: "auth"
uses: google-github-actions/auth@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_publish_js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Publish packages
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_publish_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0
environments: wheel-test

# built by `reusable_build_and_publish_wheels`
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_publish_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- id: "auth"
uses: google-github-actions/auth@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_release_crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Build web-viewer (release)
run: pixi run rerun-build-web-release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_run_notebook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0
environments: wheel-test

- name: Download Wheel
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_sync_release_assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- id: "auth"
uses: google-github-actions/auth@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_test_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0
# Only has the deps for round-trips. Not all examples.
environments: wheel-test-min

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_track_size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Render benchmark result
if: github.ref == 'refs/heads/main'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_update_pr_body.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.25.0
pixi-version: v0.34.0

- name: Update PR description
run: |
Expand Down
Loading

0 comments on commit 2542255

Please sign in to comment.