Skip to content

chore: publish to PyPI as altissimo-customerio - #22

Merged
lukwam merged 1 commit into
mainfrom
chore/publish-to-pypi
Oct 26, 2026
Merged

lukwam merged 1 commit into
mainfrom
chore/publish-to-pypi

Conversation

@lukwam

@lukwam lukwam commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Sets this package up to publish to PyPI the same way as sendgrid-python, shippo-tracking and the firedantic packages. 0.4.0 would be the first release on PyPI.

  • publish.yaml, copied from sendgrid-python with the repo name changed. Pushing a v* tag runs the tests, checks the tag matches the package version, builds the package, and uploads it to PyPI through Trusted Publishing (environment pypi). Running the workflow by hand uploads the current branch to TestPyPI (environment testpypi).
  • renovate.json, copied from sendgrid-python. It replaces .github/dependabot.yml.
  • ci.yml: actions pinned by commit and Poetry 2.4.1, matching sendgrid-python.
  • pyproject.toml: requires poetry-core>=2.2, drops the License classifier and the duplicate [tool.poetry] name.
  • README: PyPI install note. CHANGELOG: the 0.4.0 entry now covers publishing.

poetry check passes, poetry build produces a wheel with the expected files, and the tests and pre-commit pass.

Before the first tag, someone needs to:

  • On pypi.org and test.pypi.org, add a pending Trusted Publisher: project altissimo-customerio, repo altissimo-hq/customerio-python, workflow publish.yaml, environment pypi (or testpypi on TestPyPI).
  • Create the pypi (required reviewer, v* tags only) and testpypi environments in this repo, as in sendgrid-python.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CDMxuV2fXnLmpJG3tgv2Yu

- Add publish.yaml (as in sendgrid-python and shippo-tracking): v* tags are
  tested, checked against the package version, built, and uploaded to PyPI
  via Trusted Publishing (environment: pypi); workflow_dispatch uploads the
  current branch to TestPyPI (environment: testpypi)
- Add renovate.json matching the sibling repos, replacing Dependabot
- Require poetry-core>=2.2, use Poetry 2.4.1 and commit-pinned actions in CI;
  drop the License classifier superseded by the SPDX license expression
- Add PyPI install notes to the README and the 0.4.0 CHANGELOG entry

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01CDMxuV2fXnLmpJG3tgv2Yu
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