prep repo for PyPI deployment - #73
Merged
Merged
Conversation
Rework v2 packaging so `pip install mail-swarms` resolves a coherent set
and only real (non-prerelease) releases reach PyPI.
Packaging:
- Rename the four members to mail-swarms-{client,server,daemon,protocol}
(import names mail_client/etc. and CLI commands are unchanged); the
originals were registered by others on PyPI.
- Make mail-swarms a thin meta-package: metadata-only wheel
(bypass-selection) + minimal sdist; no member trees, no legacy/ tree.
- Pin members exactly (==2.0.1) in the meta and across all extras; pin
members' internal mail-swarms-protocol dep exactly too. Bump all five
to 2.0.1 in lockstep and refresh uv.lock.
Release workflow:
- Trigger on `released` (not `published`) + guard `!prerelease`, so
prereleases can never publish.
- Build/publish the whole workspace via `uv build --all-packages`.
- Fail the run unless the git tag matches every package version.
- skip-existing: true so a re-run / out-of-band upload is idempotent.
Tooling & docs:
- Add scripts/bump-version.py to bump all five versions + internal pins
in lockstep (--check verifies agreement).
- Update README/llms.txt/testing-plan and per-package doc titles to the
new distribution names; regenerate THIRD_PARTY_NOTICES.md.
Co-Authored-By: Claude Opus 4.8 (1M context) <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.
mail-server->mail-swarms-servermail-client->mail-swarms-clientmail-daemon->mail-swarms-daemonmail-protocol->mail-swarms-protocol