Hello,
ArcGIS Pro removed the toml library from it's default environment, presumably because tomllib is now part of Python's standard library (as of 3.11) and the toml library is older. Prima facie, this seems fine, except tomllib doesn't have 'write' capabilities. i.e. We effectively lost toml formatting 'write' capabilities when the toml library was removed, which broke some of our code. Moving on from the older toml library, one modern recommended writer is the tomli-w library that pairs with Python's standard library tomllib. Please consider providing a toml writer such as tomli-w.
Ages for reference.
toml (~2013)
tomli-w (~2021)
tomllib (~2022)
Thanks for listening.
Tyler
ArcGIS Pro 3.6
Thanks for the suggestion, and sorry we broke some of your code. We did remove toml / tomli as you mentioned because of tomlib being in the standard library, but missed that it drops write support. toml-w is now up on the Esri channel, and we'll work on adding it to the next release of the software.
Cheers, Shaun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.