CI/release: dry-run fixes (empty __version__, artifact-url, MPICH arm64) - #3842
Conversation
Release dry-runs build wheels from a depth-1 checkout without creating the release tag. git describe then fails while .git still exists, so GIT_DESCRIBE stayed empty and neuron.__version__ (nrnversion(5)) was "", breaking ModelDB CI workdir creation. Fall back to PROJECT_VERSION and assert non-empty __version__ in wheel tests.
Host arm64 mpich/libmpich12 4.2.0-5.1 debs on nrn-ci-deps ci-deps-v1 and select amd64 vs arm64 in install_mpich_noble.sh so ubuntu-24.04-arm wheel jobs no longer try to dpkg amd64 packages (LP#2072338 pin).
actions/upload-artifact/merge@v4 exposes artifact-url, not artifacts-url. The empty job output made Release ModelDB V2 fall back to neuron-nightly instead of this run's wheels artifact.
|
|
✔️ 2da47ec -> artifacts URL |
|
@ramcdougal Please approve. This PR is the first phase of a plan for "post–9.0.2 release hygiene". It cherry-picks some release/9.0 changes that were needed for the 9.0.2 release. |
|
✔️ 2da47ec -> Azure artifacts URL |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3842 +/- ##
==========================================
+ Coverage 68.37% 68.39% +0.02%
==========================================
Files 700 700
Lines 112198 112198
==========================================
+ Hits 76710 76736 +26
+ Misses 35488 35462 -26 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|



Summary
Port post–9.0.2 release hygiene to master so dry-runs controlled from master behave like the successful 9.0.2 ship path:
neuron.__version__— when shallow clones makegit describefail, fall back toPROJECT_VERSIONinadd_cpp_git_information(plus wheel test assert). Cherry-picked from Fix empty neuron.__version__ when git describe fails in shallow clones #3840 /release/9.0.artifact-url(notartifacts-url) so ModelDB/build-ci get this run’s wheels, not a nightly fallback. Fromhines-grok/release-modeldb-artifact-url.install_mpich_noble.shso arm wheel tests don’t install wrong packages. Fromrelease/9.0.Test plan
masterafter merge,rel_branch=release/9.0(or tip),upload=false— confirm non-empty__version__and ModelDB V2 uses the run’s wheels artifact URLOut of scope