Skip to content

fix: make npm publish depend on PyPI publish to avoid race#181

Merged
EthanThatOneKid merged 1 commit into
mainfrom
fix/npm-pypi-race
Jul 2, 2026
Merged

fix: make npm publish depend on PyPI publish to avoid race#181
EthanThatOneKid merged 1 commit into
mainfrom
fix/npm-pypi-race

Conversation

@EthanThatOneKid

Copy link
Copy Markdown
Collaborator

The npm job runs \pip install wazootech-wiki==VERSION\ during its \Install dependencies\ step, but was running in parallel with the PyPI publish job. If npm finished first, pip couldn't find the new version yet.

Adding \publish-pypi\ to
eeds:\ ensures npm waits for PyPI to finish before installing.

npm/setup.js runs \pip install wazootech-wiki==VERSION\, which requires
the matching PyPI release to already be published. Without this dependency,
the npm job can fail when it runs before PyPI finishes.
@EthanThatOneKid EthanThatOneKid merged commit 25210bb into main Jul 2, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant