forked from rerun-io/rerun
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### What * Fixes rerun-io#5945 * various wheel build issues * notebook issues * Fixes rerun-io#3924 ### 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/5973?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/5973?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)! - [PR Build Summary](https://build.rerun.io/pr/5973) - [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
Showing
6 changed files
with
58 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,37 +33,37 @@ jobs: | |
with: | ||
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || '' }} | ||
|
||
- name: Download Wheel Artifact | ||
- uses: prefix-dev/[email protected] | ||
with: | ||
pixi-version: v0.19.0 | ||
environments: wheel-test | ||
|
||
- name: Download Wheel | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: ${{ inputs.WHEEL_ARTIFACT_NAME }} | ||
path: wheel_artifact | ||
path: wheel | ||
|
||
- name: Install wheel dependencies | ||
# First we install the dependencies manually so we can use `--no-index` when installing the wheel. | ||
# This needs to be a separate step for some reason or the following step fails | ||
# TODO(jleibs): pull these deps from pyproject.toml | ||
- name: Get version | ||
id: get-version | ||
shell: bash | ||
run: | | ||
pip install deprecated 'numpy>=1.23,<2' pillow>=9.5.0 pyarrow>=14.0.2 pytest==7.1.2 | ||
pixi run -e wheel-test 'echo "wheel_version=$(python scripts/ci/crates.py get-version)"' >> "$GITHUB_OUTPUT" | ||
- name: Install downloaded wheel_artifact | ||
- name: Install built wheel | ||
# Now install the wheel using a specific version and --no-index to guarantee we get the version from | ||
# the pre-dist folder. Note we don't use --force-reinstall here because --no-index means it wouldn't | ||
# find the dependencies to reinstall them. | ||
shell: bash | ||
run: | | ||
pip install rerun-sdk --no-index --find-links wheel_artifact | ||
pixi run -e wheel-test pip uninstall rerun-sdk | ||
pixi run -e wheel-test pip install rerun-sdk==${{ steps.get-version.outputs.wheel_version }} --no-index --find-links wheel | ||
- name: Install Deps | ||
shell: bash | ||
run: | | ||
pip install -r examples/python/notebook/requirements.txt | ||
run: pixi run -e wheel-test pip install -r examples/python/notebook/requirements.txt | ||
|
||
- name: Create notebook | ||
shell: bash | ||
run: | | ||
jupyter nbconvert --to=html --ExecutePreprocessor.enabled=True examples/python/notebook/cube.ipynb --output /tmp/cube.html | ||
run: pixi run -e wheel-test jupyter nbconvert --to=html --ExecutePreprocessor.enabled=True examples/python/notebook/cube.ipynb --output /tmp/cube.html | ||
|
||
- id: "auth" | ||
uses: google-github-actions/auth@v2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters