Commit 2fde17b
build: drop rc0 pre-release tag and add dynamic git versioning (NVIDIA-NeMo#1729)
* build: drop rc0 pre-release tag and add dynamic git versioning
Append +<short-sha> to __version__ at import time using only the git
binary. Falls back silently if git is unavailable or not in a repo.
Set NO_VCS_VERSION=1 to opt out (e.g. for release builds).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com>
* ci: pin build-test-publish-wheel to FW-CI-templates@7a6fd6d
Temporarily pins to the commit that sets NO_VCS_VERSION=1 in the build
step, fixing the sdist/wheel version mismatch introduced by dynamic git
versioning. Will be replaced with a version tag once FW-CI-templates
NVIDIA-NeMo/FW-CI-templates#443 is released.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com>
* style: add blank line before if block (ruff E303)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com>
* fix: suppress I001 import-sorting false positive in package_info.py
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com>
* ci: pin FW-CI-templates to v0.88.1
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com>
---------
Signed-off-by: oliver könig <okoenig@nvidia.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 07123bd commit 2fde17b
File tree
2 files changed
+20
-2
lines changed- .github/workflows
- nemo_automodel
2 files changed
+20
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
27 | 45 | | |
28 | 46 | | |
29 | 47 | | |
| |||
0 commit comments