mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-15 00:00:07 +00:00
toml: move from toml to tomllib + tomli_w
* toml is getting removed from distributions due to being generally unmaintained and not support the lastest TOML standard. * For parsing use tomllib which is included in python3.11 and tomli for earlier interpeter versions. * For writing use tomli-w. tomli-w.dump() expects bytes-like objects so work around it to keep compatability and minimize changes elsewhere. Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
3
requirements.txt
vendored
3
requirements.txt
vendored
@@ -4,5 +4,6 @@ ruamel.yaml; python_version > '3.5'
|
||||
python-magic; python_version > '3.5'
|
||||
packaging; python_version > '3.5'
|
||||
requests; python_version > '3.5'
|
||||
toml; python_version > '3.5'
|
||||
tomli; python_version > '3.5' and python_version < '3.11'
|
||||
tomli_w; python_version > '3.5'
|
||||
distro; python_version > '3.5'
|
||||
|
||||
Reference in New Issue
Block a user