-
Notifications
You must be signed in to change notification settings - Fork 2
[chore] Migrate from setup.py to pyproject #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR modernizes the package configuration by migrating from the legacy setup.py to the standardized pyproject.toml format following PEP 621. The migration updates build processes, removes deprecated files, and ensures GitHub workflows are compatible with the new configuration approach.
Key Changes:
- Replaced
setup.pywithpyproject.tomlfor package metadata and build configuration - Updated GitHub workflows to use modern build tools (
python -m buildinstead ofsetup.py sdist bdist_wheel) - Removed
MANIFEST.inas package data is now explicitly declared in pyproject.toml
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| setup.py | Removed legacy setup.py file containing package configuration |
| pyproject.toml | Added modern PEP 621 compliant configuration with project metadata, dependencies, and build settings |
| MANIFEST.in | Removed as package data is now defined in pyproject.toml's tool.setuptools.package-data section |
| .github/workflows/release.yml | Updated cache keys and build commands to use pyproject.toml and python -m build |
| .github/workflows/playwright.yml | Updated cache keys and build commands to use pyproject.toml and python -m build |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
sfc-gh-nbellante
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
110cebf to
c9690c7
Compare
c9690c7 to
bca5022
Compare
Merge activity
|

TL;DR
Migrated from
setup.pytopyproject.tomlfor modern Python packaging.What changed?
setup.pywithpyproject.tomlfor package configurationpyproject.tomlinstead ofsetup.pyfor cachingpython -m buildinstead ofpython setup.py sdist bdist_wheelMANIFEST.inas package data is now defined inpyproject.toml