Skip to content

chore: publish to PyPI as altissimo-mixpanel - #17

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

lukwam merged 1 commit into
mainfrom
chore/publish-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, customerio-python and auth-providers-python. 0.1.0 would be the first release.

  • publish.yaml, copied from sendgrid-python with the repo name changed in the two github.repository == checks. 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).
  • ci.yml: actions pinned by commit and Poetry 2.4.1, matching sendgrid-python.
  • renovate.json extends the shared altissimo-hq/renovate-config preset, like the other package repos.
  • pyproject.toml: requires poetry-core>=2.2.0,<3.0.0, drops the License classifier and the duplicate [tool.poetry] name.
  • License: Apache-2.0. LICENSE was changed to Apache-2.0 in c0e63ee, but pyproject.toml, its classifier and the README still said GPL-3.0-or-later, so the package would have gone to PyPI labeled GPL. The metadata now matches LICENSE.
  • README: PyPI install note, extras quoted for zsh; the "Disabled mode" feature line no longer says "silently" (feat: Warn when from_env() disables tracking because the token is missing #10 added a warning). CHANGELOG: 0.1.0 dated as the first release and covers publishing.

altissimo-mixpanel is unclaimed on pypi.org and test.pypi.org. poetry check passes. poetry build produces a wheel with only altissimo/mixpanel/** (namespace package kept), py.typed and the license (License-Expression: Apache-2.0, metadata 2.4, which the pinned publish action accepts), and it installs and imports in a clean venv with the mixpanel extra. 107 tests and pre-commit pass.

Before the first tag:

  • On pypi.org and test.pypi.org, add a pending Trusted Publisher: project altissimo-mixpanel, repo altissimo-hq/mixpanel-python, workflow publish.yaml, environment pypi (or testpypi).
  • pypi (required reviewer, v* tags only) and testpypi environments in this repo.
  • Per the renovate-config checklist: turn off Dependabot security updates and close the open Dependabot PRs and the old "Configure Renovate" PR (chore: Configure Renovate - autoclosed #2).

🤖 Generated with Claude Code

https://claude.ai/code/session_01CVp1mE8TsPmfiRgNEZPzg5

- Add publish.yaml (copied from sendgrid-python): 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)
- ci.yml as in sendgrid-python: actions pinned by commit, Poetry 2.4.1
- renovate.json extending the shared altissimo-hq/renovate-config preset
- Require poetry-core>=2.2; drop the License classifier and the
  redundant [tool.poetry] name
- License metadata Apache-2.0, matching LICENSE since c0e63ee
  (pyproject and README still said GPL-3.0-or-later)
- README PyPI install note; CHANGELOG dates 0.1.0 as the first release

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01CVp1mE8TsPmfiRgNEZPzg5
@lukwam
lukwam merged commit 20c0930 into main Oct 26, 2026
5 checks passed
@lukwam
lukwam deleted the chore/publish-pypi branch October 26, 2026 23:43
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