Publish only tangle-cli artifacts in release workflow#23
Merged
Volv-G merged 1 commit intoJul 8, 2026
Merged
Conversation
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.
Summary
dist/tangle_cli-*artifacts in the PyPI release workflowtangle-apilocally for compatibility coverage, but avoid attempting to re-upload unchangedtangle-api==0.1.0filesContext
tangle-cli 0.1.1is a CLI-only release that intentionally depends on the existingtangle-api==0.1.0. Even with--check-url, publishingdist/*can fail if a rebuilttangle-api 0.1.0artifact is not byte-identical to the file already on PyPI. Sincetangle-apidid not change, the release should upload only the newtangle-clidistributions.After this lands, I will retag
v0.1.1at the fixed master commit to re-run the publish workflow.Testing
uv builduv build --package tangle-apiuv run --isolated --no-project --with dist/tangle_cli-*.whl --with dist/tangle_api-*.whl python -c "import importlib.metadata as m; import tangle_cli; import tangle_api.generated.models; import tangle_api.schema; print(f'tangle-cli {m.version("tangle-cli")} with tangle-api {m.version("tangle-api")}')"uv publish --check-url https://pypi.org/simple/ --dry-run dist/tangle_cli-*