Use pyproject.toml#2894
Merged
JacobCoffee merged 4 commits intomainfrom Feb 18, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Modernizes Python packaging by migrating dependency/tool configuration into pyproject.toml (PEP 518/621), removing legacy *-requirements.txt, .coveragerc, and ruff.toml usage, and updating build/CI/docs to install via extras.
Changes:
- Add
pyproject.tomlwith project metadata, dependencies/extras (dev,docs,prod), plus Ruff and Coverage configuration. - Remove legacy requirements and config files (
requirements.txt,base/dev/prod/docs-requirements.txt,.coveragerc,ruff.toml). - Update Dockerfiles, GitHub Actions, Read the Docs config, Makefile, and install docs to install dependencies via
pip install '.[...]'.
Reviewed changes
Copilot reviewed 14 out of 15 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
pyproject.toml |
Introduces PEP 518/621 packaging + consolidates Ruff/Coverage config and dependency groups. |
ruff.toml |
Removed in favor of [tool.ruff] in pyproject.toml. |
.coveragerc |
Removed in favor of [tool.coverage.*] in pyproject.toml. |
base-requirements.txt |
Removed; dependencies moved to pyproject.toml. |
dev-requirements.txt |
Removed; dev deps moved to pyproject.toml extras. |
prod-requirements.txt |
Removed; prod deps moved to pyproject.toml extras. |
docs-requirements.txt |
Removed; docs deps moved to pyproject.toml extras. |
requirements.txt |
Removed; aggregation replaced by pyproject.toml extras installs. |
Dockerfile |
Switches to pip install -e '.[dev]' based install. |
Dockerfile.cabotage |
Switches to pip install '.[prod]' based install. |
Makefile |
Updates Docker build dependency inputs to pyproject.toml. |
.github/workflows/ci.yml |
Installs dependencies via pip install -e '.[dev]' and updates cache keying. |
.github/workflows/static.yml |
Installs dependencies via pip install '.[prod]' and updates cache keying. |
.readthedocs.yaml |
Installs docs dependencies via pip install '.[docs]'. |
docs/source/install.md |
Updates manual install instructions to use extras install. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Copy pyproject.toml first and install dependencies before copying the full source tree. This prevents cache-busting the pip install layer on every source change. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy pyproject.toml first and install dependencies before copying the full source tree. This prevents cache-busting the pip install layer on every source change. Co-Authored-By: Claude Opus 4.6 <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.
Modernize on the standard for Python packaging.