Open eli-schwartz opened 5 days ago
I wasn't too sure about that myself -- it is very internal and shouldn't affect anyone by default. tomli has to remain compatible with tomllib as a backport anyways so it shouldn't be possible to get an error from using the "wrong" version.
Maybe if anywhere, a changelog entry should be in the "vendor" section?
Maybe if anywhere, a changelog entry should be in the "vendor" section?
I guess so. Let's add one to keep downstreams aware of the changes. (I would myself, but I don't have write permissions :slightly_smiling_face:)
Although a tomli copy is vendored, doing this conditional import allows:
automatically upgrading the code, when the time comes to drop py3.10 support
slightly simplifying debundling support, as it's no longer necessary to depend on a tomli(-wheel)? package on sufficiently newer versions of python.