Skip to content

Conversation

@msch-nutrient
Copy link
Collaborator

Summary

  • Add Python Semantic Release (PSR) for automated version management and releases
  • Configure manual GitHub Actions workflow with patch/minor/major version selection
  • Integrate comprehensive test suite before releases (linting, type checking, unit tests, integration tests)
  • Use pixi package manager throughout the workflow
  • Maintain PyPI trusted publishing for secure package distribution

Changes Made

  • Dependencies: Added python-semantic-release>=9.0.0 via pixi
  • Configuration: Added PSR settings in pyproject.toml for version tracking, commit messages, and changelog generation
  • Workflow: Updated .github/workflows/release.yml to use manual dispatch with version level selection
  • Testing: Full test coverage before release including all quality checks from CI workflow
  • Security: Continues using PyPI trusted publishing (OIDC) instead of API tokens

Test Plan

  • PSR dependency installed successfully via pixi
  • Configuration validated in pyproject.toml
  • Workflow syntax verified
  • Test manual workflow dispatch (requires merge to test)
  • Verify version bumping works correctly
  • Confirm PyPI publishing integration

Usage

After merge, releases can be created by:

  1. Go to GitHub Actions → Release workflow
  2. Click "Run workflow"
  3. Select version bump level (patch/minor/major)
  4. Workflow will run tests, bump version, create tag, and publish to PyPI

🤖 Generated with Claude Code

msch-nutrient and others added 2 commits June 23, 2025 17:58
- Add python-semantic-release dependency via pixi
- Configure PSR in pyproject.toml with version tracking and changelog generation
- Update release workflow to use manual dispatch with patch/minor/major options
- Run full test suite (linting, type checking, unit tests, integration tests) before release
- Use pixi for package management in GitHub Actions
- Implement PSR for automated version bumping and tagging
- Maintain PyPI trusted publishing for secure releases

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add workflow_call trigger to CI workflow for reusability
- Update integration tests to run on workflow_call events
- Release workflow now calls CI workflow instead of duplicating steps
- Simplified release job to only handle semantic release and PyPI publishing
- Maintains all quality checks while reducing code duplication

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@msch-nutrient msch-nutrient merged commit c085e54 into main Jun 23, 2025
5 checks passed
msch-nutrient added a commit that referenced this pull request Jun 23, 2025
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