Skip to content

📦 build: move dev extras to PEP 735 dependency groups#102

Merged
gaborbernat merged 2 commits into
tox-dev:mainfrom
gaborbernat:dev-extras-to-groups
Jul 16, 2026
Merged

📦 build: move dev extras to PEP 735 dependency groups#102
gaborbernat merged 2 commits into
tox-dev:mainfrom
gaborbernat:dev-extras-to-groups

Conversation

@gaborbernat

Copy link
Copy Markdown
Member

The docs and testing extras serve only development, yet as [project.optional-dependencies] they ship in the published wheel metadata and let anyone pip install python-discovery[testing]. PEP 735 [dependency-groups] fits dev-only sets better, since a group stays local to the source tree and never publishes. 📦

This moves both extras into the existing [dependency-groups] table, with testing becoming test and docs keeping its name, and drops the now-empty optional-dependencies. The tox environments that pulled these extras (env_run_base, docs, and dev) now reference the groups through dependency_groups instead of extras.

The testing extra is gone; use the test group. No consumer-facing install extras remain, so python-discovery[docs] and python-discovery[testing] no longer resolve.

@gaborbernat
gaborbernat marked this pull request as ready for review July 16, 2026 18:00
@gaborbernat
gaborbernat merged commit 6603012 into tox-dev:main Jul 16, 2026
13 checks passed
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.

1 participant