Closed flying-sheep closed 1 year ago
Thanks a lot for letting me know these libs I was not aware of.
I added support of {tomllib, tomli-w}, {tomli, tomli-w} and tomlkit in 4a000c5 .
Great! That for sure fixes the problem with the toml
package being essentially unmaintained.
One thing that would be great was if TOML reading capabilities worked on Python 3.11 without tomli-w
being installed. Some packages just read config files using anyconfig
and don’t write them. Currently, anyconfig
assumes that every “Parser” is also a serializer.
Independently, this
should probably be changed to this
toml =
tomli; python_version < "3.11"
tomli-w
Thanks a lot. I applied the fix also.
Great! Will there be a release soonish so it can be used?
Sorry to late reply. I'm now preparing the next release will contain this change and updates.
FYI. I released 0.14.0 contains the fix for this.
thank you for the info, it’s appreciated!
Is your feature request related to a problem? Please describe. The “toml“ project on PyPI is old and unmaintained.
Describe the solution you'd like Use the stdlib’s
tomllib
on Python 3.11 andtomli
on lower Python versionsDescribe alternatives you've considered Get uiri to pick up development on toml? Probably no alternatives.