Recently the PyPA specification for dependency groups was approved. This specification uses TOML arrays with mixed content in pyproject.toml, which is a feature introduced by TOML version 1.0.
Maison currently requires package "toml" version 0.10.2 to read TOML files. Unfortunately this version does not support TOML version 1.0. For instance parsing the following example from the "dependency groups" specification raises an exception:
[dependency-groups]
coverage = ["coverage[toml]"]
test = ["pytest>7", {include-group = "coverage"}]
Since Python 3.11 the Python standard library supports reading TOML version 1.0 files out of the box (module tomllib).
Therefore I propose to drop the dependency to toml, if tomllib is available.