Skip to content

🔧 build(tox): migrate from tox.ini to tox.toml#609

Merged
gaborbernat merged 1 commit into
tox-dev:mainfrom
gaborbernat:migrate-tox-to-toml
Feb 17, 2026
Merged

🔧 build(tox): migrate from tox.ini to tox.toml#609
gaborbernat merged 1 commit into
tox-dev:mainfrom
gaborbernat:migrate-tox-to-toml

Conversation

@gaborbernat

Copy link
Copy Markdown
Member

CI has been broken because tox.ini still referenced the numpy and type-comment extras that were previously
removed from pyproject.toml. Rather than patching the stale extras, this migrates the entire tox configuration to
native TOML format (tox.toml), which provides stronger typing and avoids the ambiguities inherent in INI parsing.

The migration uses tox's replace directive for posargs defaults (the TOML equivalent of {posargs:...} with
multi-argument defaults), and drops the stale 3.11 entry from env_list since the project requires >=3.12.
The pre-commit hook was switched from tox-ini-fmt to tox-toml-fmt accordingly.

CI was broken because tox.ini referenced removed extras (numpy,
type-comment). Rather than just fixing the stale extras, migrated
the entire config to native TOML format using the replace directive
for posargs defaults. Also dropped the stale 3.11 env since the
project requires >=3.12, and switched pre-commit from tox-ini-fmt
to tox-toml-fmt.

Signed-off-by: Bernát Gábor <[email protected]>
@gaborbernat
gaborbernat enabled auto-merge (squash) February 17, 2026 22:24
@gaborbernat
gaborbernat merged commit 28dae32 into tox-dev:main Feb 17, 2026
8 checks passed
@gaborbernat
gaborbernat deleted the migrate-tox-to-toml branch February 17, 2026 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant