Repository navigation
chore(release): bump version to 2.0.0 and fix release-smoke install step - #35
Merged
Merged
Conversation
Two changes needed before the v2.0.0 release workflow can produce a correct
wheel:
1. Bump `version` in pyproject.toml, CITATION.cff, and mergese.py from
0.2.0 to 2.0.0. Without this the `python -m build` step produces a
wheel named `mergese-0.2.0-*.whl` even though the tag says v2.0.0,
and `mergese --version` reports 0.2.0.
2. Fix the release-smoke step in release.yml. The previous command
pip install dist/*.whl ".[server]"
was run inside /tmp/release-smoke (no pyproject.toml there), which
failed with "Directory '.[server]' is not installable". The correct
syntax attaches the extra to the wheel path:
WHL=$(ls dist/*.whl | head -n 1)
pip install "${WHL}[server]"
Mirrors the pattern already in wheel.yml.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.
Two changes needed before the v2.0.0 release workflow can produce a correct wheel:
Bump
versionin pyproject.toml, CITATION.cff, and mergese.py from 0.2.0 to 2.0.0. Without this thepython -m buildstep produces a wheel namedmergese-0.2.0-*.whleven though the tag says v2.0.0, andmergese --versionreports 0.2.0.Fix the release-smoke step in release.yml. The previous command pip install dist/.whl ".[server]" was run inside /tmp/release-smoke (no pyproject.toml there), which failed with "Directory '.[server]' is not installable". The correct syntax attaches the extra to the wheel path: WHL=$(ls dist/.whl | head -n 1) pip install "${WHL}[server]" Mirrors the pattern already in wheel.yml.
Summary
Risk + rollback
Testing
pytestpasses locallypython server/app.pyand acurlagainst the changed endpoint.github/workflows/ci.ymlstill passesDeploy note (fill if the merge needs an operator action beyond
git pull && systemctl restart)