Use tomllib/tomli/tomli-w instead of toml

toml has issue parsing newer toml files, and most of python
ecosystem moved to tomllib (builtin in python 3.11) with tomli for
backward support, with tomli-w used for writing. Upstream of toml is
also less active.

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin 2022-10-28 09:28:54 +03:00
parent 5c9e844104
commit 7acefc3d39
No known key found for this signature in database
GPG key ID: 02A0AF503D120504
2 changed files with 10 additions and 5 deletions

View file

@ -23,7 +23,8 @@ install_requires =
identify>=1.0.0
nodeenv>=0.11.1
pyyaml>=5.1
toml
tomli-w
tomli;python_version<"3.11"
virtualenv>=20.10.0
importlib-metadata;python_version<"3.8"
python_requires = >=3.7