Repository navigation
Conversation
Consolidates former PRs #9 and #13 into a single packaging-only change on master (no midi_play rewrite or docs). - Add pyproject.toml with Hatchling backend, optional dev/test/midi extras - Move pytest config from pytest.ini into pyproject.toml - Remove setup.py and requirements.txt - CI: Python 3.10–3.13, editable .[dev] install, updated actions - README: installation instructions for editable, dev, and midi extras Co-authored-by: endolith <endolith@gmail.com>
cursor
Bot
force-pushed
the
cursor/pyproject-packaging-2589
branch
from
June 12, 2026 04:45
5777350 to
c5a7450
Compare
Copy trusted-publishing pattern from endolith/elsim: build wheel/sdist on v* tags, then publish to PyPI via OIDC. Include publish.yml in sdist and fix README Actions badge to use workflow file path. Co-authored-by: endolith <endolith@gmail.com>
This branch has not been deployed
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
Consolidates former PRs #9 and #13 into a single packaging-only change on master (no
midi_play.pyrewrite or MIDI docs).pyproject.toml: PEP 621 metadata; Hatchling build backend;requires-python = ">=3.10"aligned with current Hatchling and CItest,dev(pytest, pytest-cov, flake8),midi(numpy, pygame for currentmidi_play.py)pytest.iniintopyproject.tomlsetup.py,requirements.txt,pytest.iniactions/checkout@v4,actions/setup-python@v5,codecov/codecov-action@v5;pip install -e ".[dev]"then flake8 + pytestpublish.ymlworkflow (from elsim) builds onv*tags and publishes via Trusted Publishing (OIDC)CI infrastructure
Master now drops Python 3.7 (unavailable on Ubuntu 24.04) and bumps deprecated actions. All six cursor PR branches were rebased onto the fixed master.
Verification
pip install -e ".[dev]"+pytest— 21 passed (Python 3.12 locally)flake8— no syntax/undefined-name errorspython -m build— wheel and sdist build successfully