Skip to content

prep repo for PyPI deployment - #73

Merged
addisonkline merged 2 commits into
mainfrom
kline/v2-pypi-deploy
Jun 16, 2026
Merged

prep repo for PyPI deployment#73
addisonkline merged 2 commits into
mainfrom
kline/v2-pypi-deploy

Conversation

@addisonkline

Copy link
Copy Markdown
Collaborator
  • updated package names:
    • mail-server -> mail-swarms-server
    • mail-client -> mail-swarms-client
    • mail-daemon -> mail-swarms-daemon
    • mail-protocol -> mail-swarms-protocol
  • all packages now versioned in lockstep
  • only full releases published to PyPI; prereleases no longer published

addisonkline and others added 2 commits June 16, 2026 13:17
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>
@addisonkline
addisonkline merged commit f8c054d into main Jun 16, 2026
2 checks passed
@addisonkline
addisonkline deleted the kline/v2-pypi-deploy branch June 16, 2026 17:31
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