Skip to content

Use pyproject.toml#2894

Merged
JacobCoffee merged 4 commits intomainfrom
pyproject-modenrize
Feb 18, 2026
Merged

Use pyproject.toml#2894
JacobCoffee merged 4 commits intomainfrom
pyproject-modenrize

Conversation

@JacobCoffee
Copy link
Copy Markdown
Member

Modernize on the standard for Python packaging.

Copilot AI review requested due to automatic review settings February 18, 2026 01:57
@JacobCoffee JacobCoffee changed the title Use pyprojecy.toml Use pyproject.toml Feb 18, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.toml with 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.

Comment thread pyproject.toml
Comment thread Dockerfile Outdated
Comment thread Dockerfile.cabotage Outdated
JacobCoffee and others added 2 commits February 17, 2026 20:52
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>
@JacobCoffee JacobCoffee merged commit 2621470 into main Feb 18, 2026
15 checks passed
@JacobCoffee JacobCoffee deleted the pyproject-modenrize branch February 18, 2026 03:28
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