Skip to content

fix: prepare prerelease packages for PyPI#9

Merged
Volv-G merged 1 commit into
TangleML:masterfrom
Volv-G:piforge/tangle-cli-fix/fix-packaging-aliases-and-native-7b1a94a
Jul 3, 2026
Merged

fix: prepare prerelease packages for PyPI#9
Volv-G merged 1 commit into
TangleML:masterfrom
Volv-G:piforge/tangle-cli-fix/fix-packaging-aliases-and-native-7b1a94a

Conversation

@Volv-G

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

Copy link
Copy Markdown
Collaborator

Summary

  • add the tangle-cli console-script alias while keeping tangle canonical
  • prepare a safer prerelease package shape with both tangle-cli and tangle-api at 0.0.1a2
  • pin tangle-cli[native] to tangle-api==0.0.1a2 and tangle-api back to tangle-cli==0.0.1a2 for the short-term circular release
  • update the PyPI release workflow to build, smoke-test, and publish both packages
  • add a local packages/tangle-api/README.md so uv build --package tangle-api succeeds for sdist+wheel builds

Checks

  • git diff --check origin/master
  • uv run pytest (621 passed)
  • uv run pytest tests/test_packaging.py tests/test_tangle_cli_cli.py (6 passed)
  • uv build
  • uv build --package tangle-api
  • local release smoke tests for root wheel/sdist (tangle version, tangle-cli version)
  • local tangle-api wheel/sdist import/version smoke tests
  • local tangle-cli[native] resolution against built dist/ artifacts

Release notes

This PR prepares publishing only. It does not publish to PyPI. A later release tag such as v0.0.1a2 will trigger the workflow.

Prerelease caveat: top-level installs from an index may still need an exact prerelease spec and/or prerelease allowance until a stable version exists. Exact transitive prerelease pins should resolve once the selected tangle-cli==0.0.1a2 prerelease is allowed/selected.

Assisted-By: devx/863bf6dc-7461-4f68-9fcb-a52df3c22dcf
@Volv-G Volv-G requested a review from Ark-kun as a code owner July 3, 2026 02:02

Volv-G commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

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