You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can try migrating to tomli (which is being proposed to be included in the standard library, see PEP 680), which is minimalistic and does not support dumps. tomlkit does support dumps and preserve styles and is 1.0.0 compliant. As we don't really care about performance for toml at this time, we may as well just use tomlkit for both.
We support toml as params file. There are a few issues with our current toml parsing:
toml
library, which is not toml 1.0 standard compatible. Also, the library is not being actively maintained.toml
dumping does not preserve existing formatting.We can try migrating to
tomli
(which is being proposed to be included in the standard library, see PEP 680), which is minimalistic and does not supportdumps
.tomlkit
does support dumps and preserve styles and is 1.0.0 compliant. As we don't really care about performance for toml at this time, we may as well just usetomlkit
for both.TOML support in dvc was introduced in #4258.
The text was updated successfully, but these errors were encountered: