Skip to content

ci: add release-please PyPI publishing#10

Merged
blainekasten merged 2 commits into
mainfrom
cursor/add-release-please-pypi-c846
May 29, 2026
Merged

ci: add release-please PyPI publishing#10
blainekasten merged 2 commits into
mainfrom
cursor/add-release-please-pypi-c846

Conversation

@blainekasten
Copy link
Copy Markdown
Collaborator

@blainekasten blainekasten commented May 29, 2026

Summary

  • Add release-please manifest/config for the Python package
  • Keep uv.lock package version synchronized during release bumps
  • Add a release workflow that publishes to PyPI with uv publish via trusted publishing

Validation

  • python3 -m json.tool release-please-config.json
  • python3 -m json.tool .release-please-manifest.json
  • git diff --check
  • ~/.local/bin/uv build
  • ~/.local/bin/uv sync --extra dev
  • ~/.local/bin/uv run ruff format --check .
  • ~/.local/bin/uv run ruff check .
  • ~/.local/bin/uv run mypy detect_agent
  • ~/.local/bin/uv run pytest
  • python3 assertion that .github/workflows/release-please.yml uses environment release

Notes

  • PyPI trusted publishing should be configured for workflow .github/workflows/release-please.yml and environment release.
Open in Web Open in Cursor 

Co-authored-by: Blaine Kasten <blainekasten@gmail.com>
@blainekasten
Copy link
Copy Markdown
Collaborator Author

@cursoragent the environment is actually named release please update

@cursor
Copy link
Copy Markdown
Contributor

cursor Bot commented May 29, 2026

Updated.

  • Changed publish environment from pypi to release
  • Committed + pushed: 616c2c7 ci: use release environment for publishing
  • Updated PR description note to say environment release
  • Validated diff + assertion that workflow uses release and not pypi
Open in Web Open in Cursor 

Co-authored-by: Blaine Kasten <blainekasten@gmail.com>
@blainekasten blainekasten marked this pull request as ready for review May 29, 2026 18:51
@blainekasten blainekasten requested a review from zainhas May 29, 2026 19:00
@blainekasten blainekasten merged commit 7d01597 into main May 29, 2026
2 checks passed
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.

3 participants