⬆️ Upgrade to Python 3.10+ and modernize build system - #5
Merged
Conversation
- Drop Python 3.8-3.9 support (both EOL) - Set minimum Python version to 3.10 - Modernize pyproject.toml with optional dependencies (test, dev) - Add tox.ini for multi-version testing (3.10, 3.11, 3.12, 3.13) - Create GitHub Actions workflow for testing across Python versions - Update PyPI publish workflow to latest actions (v4, v5) - Fix setuptools_scm tag regex to handle both 'v*' and 'releases/v*' patterns - Update license format to SPDX string (setuptools 77+ requirement) - Add Development section to README with testing instructions for both tox and uv 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
…sions - Remove redundant python-test.yml workflow - Expand build.yaml matrix to test Python 3.10, 3.11, 3.12, 3.13 - Keeps all functionality in one comprehensive 'Build and Test' workflow - Pre-commit, Python tests with coverage, and TypeScript jobs all in one place 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Job names now clearly indicate what they do: - ✨ Code Quality (Pre-commit) - 🐍 Python 3.10/3.11/3.12/3.13 - 💎 TypeScript Lint & Format - 🧪 TypeScript Tests - 📦 TypeScript Build Makes CI status much easier to scan at a glance! 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
…m tag regex - Add setuptools-scm>=6.2 to dev dependencies (fixes tox build environment) - Remove overly complex custom tag_regex - use setuptools_scm defaults - Deleted problematic releases/v0.3.2 tag (use v* convention only) - Simpler is better - let setuptools_scm handle all PEP 440 formats (dev, post, rc, etc.) Fixes Cursor bot reviews on PR #5 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Modernizes the Python package to follow 2025 best practices:
Changes
Python Version Support
Build System Modernization
test,dev) to pyproject.tomlv*andreleases/v*patternsMulti-Version Testing
tox.inifor testing across Python versionspython-test.yml)Developer Experience
Test Plan
Breaking Changes
Users on these versions will need to upgrade to Python 3.10+ to use future releases.
🤖 Generated with Claude Code
Note
Drops Python 3.8–3.9, standardizes on 3.10+, adds multi-version testing and packaging, and updates CI/publishing workflows to latest actions.
python>=3.10; update classifiers to3.10–3.13and setlicense = "MIT"inpython/pyproject.toml.test/dev; include package data via[tool.setuptools.package-data]; setzip-safe = false.pyproject.toml.python/tox.iniwith envs forpy310–py313, lint, and build..github/workflows/build.yaml: expand Python matrix to3.10–3.13; cache pip; run tests with coverage; build wheel; verify import; test against installed wheel; upload artifacts; refine job names..github/workflows/pypi-publish.yml: bump toactions/checkout@v4andsetup-python@v5; add diagnostics; build frompython/and publish viapypa/gh-action-pypi-publish.python/README.md: add Development section with tox/uv workflows, testing, and build instructions.Written by Cursor Bugbot for commit 82d6823. This will update automatically on new commits. Configure here.