Repository navigation
build(deps): take @mnci/nx-python-pip 0.2.11, which stops publishing a stale wheel - #75
Merged
Merged
Conversation
…a stale wheel The other half of the release fix. 0.2.10 stopped projects a release never versioned from publishing at all; 0.2.11 stops the ones it DID version from publishing their predecessor alongside the real thing. `python -m build --outdir` adds to `dist/` rather than replacing it, and the publish step uploads `dist/*`. A release builds each package twice - once in `preVersionCommand`, at the on-disk version, and again after the bump - so both wheels sat there and twine sent both. The previous release proved it: it built `scanmate_ocr-0.24.3` correctly and uploaded `scanmate_ocr-0.0.1`. `npm install` dropped the four nested `@emnapi` entries under the wasm32-wasi resolver bindings again; restored, and `npm ci` re-verified. Co-Authored-By: Claude Opus 5 <[email protected]>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The other half of the release fix.
0.2.10(already on main) stopped projects a releasenever versioned from publishing at all.
0.2.11stops the ones it did version frompublishing their predecessor alongside the real thing.
python -m build --outdiradds todist/rather than replacing it, and the publish stepuploads
dist/*. A release builds each package twice — once inpreVersionCommand, at theon-disk version, and again after the bump — so both wheels sat in
dist/and twine sentboth. Because
nx releaseis tag-only, the on-disk version is the scaffold0.0.1andstays there for ever.
The last release on main proves it. Same run, same project:
That is what put a
0.0.1release on PyPI forscanmate-ink,-align,-mergeand-seal(two of them a0.0.2as well), silently —--skip-existingreports analready-published version as a warning and exits 0.
npm installdropped the four nested@emnapientries under the wasm32-wasi resolverbindings again (fifth time); restored, and
npm cire-verified.Still outstanding, and not fixed by this
PyPI's new-project rate limit (
429) is still blocking the first publish ofscanmate-extract,-ocrand-scan. These two fixes stop the wasted creation attemptsthat were spending the quota, but the quota itself has to clear on PyPI's schedule.
🤖 Generated with Claude Code