You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WORKFLOW.md D3.4 Promises a PyPI Ordering Nothing Implements, and D2.2 Names a Job That Opts Out #1522
Whole-unit review of WORKFLOW.md section 4 while settling #1521 found three statements that do not hold, none introduced there.
D3.4 promises an ordering nothing implements
The develop .dev0 build must remain pip install --pre-selectable and sort above the default release (NBGV git height in the release segment keeps develop ahead).
NBGV takes the longest path when it counts height, so the promotion merge commit on main sits one above develop's tip, and a bot bump merged into main adds height develop never sees. A PEP 440 M.N.P.dev0 sorts below M.N.P, so the next develop build sorts below the release main just cut.
Constructed example: develop's tip at height 34 builds 1.2.34.dev0. Promotion puts main at 35, releasing 1.2.35. Develop's next commit is also height 35, builds 1.2.35.dev0, and sorts below 1.2.35 until develop moves ahead again.
The implementing comment in .github/actions/pypi-build-default/action.yml already says only that develop's height "normally" exceeds main's, and no test checks the ordering. Either the guarantee narrows to what the mechanism delivers, or the mechanism changes to deliver it. Section 6's pypi bullet restates the same promise and moves with it.
D3.4's Prevents clause credits the wrong rule
Prevents: ... a renamed/extra branch silently getting a plain version ...
D3.4's own output is a two-branch literal, .dev0 for develop and a plain version for everything else, so under D3.4 alone a renamed or extra branch does get a plain version. What stops that is the dispatch allowlist in D2.3.
D2.2 names a job that does opt out
github-release carries validate-release in needs: and does not opt out, so a job-level skip there would couple the release to smoke through a second path on top of the if: it already carries.
github-release's if: in .github/workflows/build-release-task.yml carries !failure() && !cancelled(), which D4.5 in the same section also states, so a skipped validate-release does not skip it. The jobs that do not opt out are dotnet-publish, build-nuget, and build-pypi, whose if: carries no status check, so a job-level skip would silently skip every smoke build. That is the real reason the check exits inside the step.
Two of this issue's three items are settled by #1528, merged into develop as 765633d. The ordering promise is dropped from D3.4, the section 6 pypi walkthrough, and the pypi-build-default comment, the maintainer having chosen to drop it rather than change the mechanism, along with the --pre-selectable sentence that without the ordering read as a promise pip install --pre installs the develop build. D3.4's Prevents clause no longer credits D3.4 with the renamed-branch protection D2.3's dispatch allowlist provides. D2.2's job-name item stays open here.
Activity
Build the PyPI Version From the Release Tag, and Hand the build-pypi …
Stop Crediting D3.4 With the Renamed-Branch Protection D2.3 Provides
Drop the Promise That the develop .dev0 Build Sorts Above the Default…
ptr727 commentedon Sep 11, 2026
Two of this issue's three items are settled by #1528, merged into develop as 765633d. The ordering promise is dropped from D3.4, the section 6
pypiwalkthrough, and thepypi-build-defaultcomment, the maintainer having chosen to drop it rather than change the mechanism, along with the--pre-selectable sentence that without the ordering read as a promisepip install --preinstalls the develop build. D3.4's Prevents clause no longer credits D3.4 with the renamed-branch protection D2.3's dispatch allowlist provides. D2.2's job-name item stays open here.Build the PyPI Version From the Release Tag, and Hand the build-pypi …
Name the Build Jobs That Do Not Opt Out of the Smoke Skip in D2.2 (#1533