Skip to content

Add release-please PyPI publishing#255

Draft
ncrmro wants to merge 1 commit into
mainfrom
codex/release-please-pypi
Draft

Add release-please PyPI publishing#255
ncrmro wants to merge 1 commit into
mainfrom
codex/release-please-pypi

Conversation

@ncrmro

@ncrmro ncrmro commented Jul 9, 2026

Copy link
Copy Markdown

Summary

  • add the AGENTS.md operating manual for this repo
  • add release-please manifest/config plus the GitHub Action that opens release PRs from main
  • add a release workflow that validates, builds, and publishes the panopticon wheel/sdist to PyPI
  • document the required RELEASE_PLEASE_TOKEN secret and PyPI trusted publisher setup

Validation

  • python3 -m json.tool release-please-config.json
  • python3 -m json.tool .release-please-manifest.json
  • uv --cache-dir /private/tmp/panopticon-uv-cache build
  • uv --cache-dir /private/tmp/panopticon-uv-cache run mypy --package panopticon
  • uv --cache-dir /private/tmp/panopticon-uv-cache run pytest

Follow-up before first release

  • create the RELEASE_PLEASE_TOKEN GitHub secret with contents/issues/pull-requests write access
  • configure PyPI trusted publishing for Unsupervisedcom/panopticon, workflow .github/workflows/release.yml, environment pypi, package panopticon

@ncrmro
ncrmro requested review from Copilot and tildesrc and removed request for tildesrc July 9, 2026 16:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds automated release management and PyPI publishing for the panopticon Python package, integrating release-please version bumping and a GitHub Release–triggered publish workflow.

Changes:

  • Introduces release-please configuration/manifest plus a workflow to open/update release PRs on pushes to main.
  • Adds a Release workflow that type-checks, tests, builds, and publishes artifacts to PyPI via trusted publishing (OIDC).
  • Documents repository setup steps for release automation and adds an AGENTS operating manual.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/panopticon/init.py Adds release-please version marker on __version__.
release-please-config.json Configures release-please for Python releases and version bumping across files.
.release-please-manifest.json Initializes manifest mode version tracking for the root package.
.github/workflows/release-please.yml Runs release-please on main to manage release PRs and GitHub Releases.
.github/workflows/release.yml Publishes to PyPI on GitHub Release publication after validation/build.
docs/releasing.md Documents required secrets and PyPI trusted publisher setup.
AGENTS.md Adds an agent-facing operating manual for repo conventions and architecture.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread release-please-config.json Outdated
Comment thread AGENTS.md Outdated
@ncrmro
ncrmro force-pushed the codex/release-please-pypi branch 2 times, most recently from dc98e3e to 9545652 Compare July 9, 2026 17:23
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.

2 participants