Skip to content

Publish only tangle-cli artifacts in release workflow#23

Merged
Volv-G merged 1 commit into
masterfrom
piforge/tangle-cli-scheduler-retries-fix/release-publish-cli-only
Jul 8, 2026
Merged

Publish only tangle-cli artifacts in release workflow#23
Volv-G merged 1 commit into
masterfrom
piforge/tangle-cli-scheduler-retries-fix/release-publish-cli-only

Conversation

@Volv-G

@Volv-G Volv-G commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • publish only dist/tangle_cli-* artifacts in the PyPI release workflow
  • keep building/smoke-testing tangle-api locally for compatibility coverage, but avoid attempting to re-upload unchanged tangle-api==0.1.0 files

Context

tangle-cli 0.1.1 is a CLI-only release that intentionally depends on the existing tangle-api==0.1.0. Even with --check-url, publishing dist/* can fail if a rebuilt tangle-api 0.1.0 artifact is not byte-identical to the file already on PyPI. Since tangle-api did not change, the release should upload only the new tangle-cli distributions.

After this lands, I will retag v0.1.1 at the fixed master commit to re-run the publish workflow.

Testing

  • uv build
  • uv build --package tangle-api
  • uv 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-*

@Volv-G Volv-G requested a review from Ark-kun as a code owner July 8, 2026 03:27
@Volv-G Volv-G merged commit d9f32ce into master Jul 8, 2026
2 checks passed
@Volv-G Volv-G deleted the piforge/tangle-cli-scheduler-retries-fix/release-publish-cli-only branch July 8, 2026 03:28
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