Skip to content

Conversation

@gaborbernat
Copy link
Member

@gaborbernat gaborbernat commented Feb 12, 2026

The platformdirs project was the last tox-dev project still using hatch for environment management. 🔧 Migrating to tox aligns it with the rest of the ecosystem (filelock, tox, etc.) and brings consistency to how all tox-dev projects are developed and tested.

This replaces hatch environments with a tox.toml configuration covering test, fix, coverage, type checking, docs, package metadata validation, and dev environments. The optional-dependencies sections move to PEP 735 dependency-groups, and mypy is replaced by ty for type checking. CI workflows now install tox + tox-uv instead of hatch, ReadTheDocs builds docs through tox, and tox-toml-fmt is added to pre-commit.

Coverage path mappings are updated for tox's .tox/ layout. The release workflow bumps to Python 3.14. All existing functionality (multi-version testing, coverage aggregation, docs, linting) is preserved under the new runner.

Hatch environments were replaced with tox to align with the rest of the
tox-dev ecosystem tooling. This also moves from mypy to ty for type
checking and from optional-dependencies to PEP 735 dependency-groups.

CI workflows now install tox+tox-uv instead of hatch, ReadTheDocs
builds use tox for docs generation, and pre-commit gains tox-toml-fmt.
@gaborbernat gaborbernat merged commit df8b79b into tox-dev:main Feb 12, 2026
27 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