Commit 2b49dac
authored
Updates wheel versioning (#5467)
# Description
Adds wheel versioning so QA can identify which build is newer and
reproduce any wheel from its commit. The wheel follows PEP 440
local-version `<VERSION>+build<N>.<sha7>`.
Downloading in QA env:
```
# Latest from develop
RUN_ID=$(gh run list --workflow=wheel.yml --branch=develop -L 1 --json databaseId -q '.[0].databaseId')
rm -rf ./out && gh run download "$RUN_ID" --pattern 'isaaclab-*' -D ./out
# Latest from a specific PR branch
RUN_ID=$(gh run list --workflow=wheel.yml --branch=<branch-name> -L 1 --json databaseId -q '.[0].databaseId')
rm -rf ./out && gh run download "$RUN_ID" --pattern 'isaaclab-*' -D ./out
# Specific run
rm -rf ./out && gh run download <run-id> --pattern 'isaaclab-*' -D ./out
# Find newly downloaded wheel file
WHEEL_FILE=$(ls -1t ./out/isaaclab-*/*.whl | head -1)
# Install it
pip install --force-reinstall $WHEEL_FILE
```
## Type of change
- New feature (non-breaking change which adds functionality)
## Checklist
- [x] I have read and understood the contribution guidelines
- [x] I have run the pre-commit checks with `./isaaclab.sh --format`
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there1 parent 6dfa5fa commit 2b49dac
2 files changed
Lines changed: 32 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
49 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
50 | 65 | | |
51 | 66 | | |
52 | 67 | | |
53 | 68 | | |
54 | 69 | | |
55 | | - | |
| 70 | + | |
56 | 71 | | |
57 | 72 | | |
58 | 73 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
11 | 26 | | |
12 | 27 | | |
13 | 28 | | |
| |||
65 | 80 | | |
66 | 81 | | |
67 | 82 | | |
68 | | - | |
| 83 | + | |
69 | 84 | | |
70 | 85 | | |
71 | 86 | | |
| |||
0 commit comments