Migrate Python dependency uiri/toml to tomllib / hukkin/tomli - #821
Conversation
|
✔️ Deploy Preview for maturin-guide canceled. 🔨 Explore the source changes: b896ade 🔍 Inspect the deploy log: https://app.netlify.com/sites/maturin-guide/deploys/621af41e90f94b0007c3cfab |
|
I remember setuptools-rust removed tomli dependency due to a issue from cryptography: pyca/cryptography#6671 (comment) , I'm not sure if it also affects building maturin from sdist if we merge this. |
|
If I understand correctly, this is referring to the circular dependency problem between
Building |
|
Thanks for the clarification!
I think this is fine now since flit_core is already fixed in recent versions. |
Reasons for the migration:
hukkin/tomlihas been accepted as part of the Python standard library (see PEP680 and bpo-40059: tomllib python/cpython#31498), named astomllib, and will be released along with Python 3.11.uiri/tomlis unmaintained since Oct 2020, whilehukkin/tomliis an actively maintained implementation of TOML 1.0 spec, with 100% test coverage.