Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider tomlkit to support TOML markup #14

Open
schaefi opened this issue Sep 14, 2023 · 0 comments
Open

Consider tomlkit to support TOML markup #14

schaefi opened this issue Sep 14, 2023 · 0 comments

Comments

@schaefi
Copy link
Collaborator

schaefi commented Sep 14, 2023

Description

Hi there, first of all thanks much for anymarkup. It's a great module and I'm using it for quite some time in the KIWI
appliance builder project. Recently there was the request to also support the TOML markup for describing an image description. I added a pull request to support this using anymarkup and its toml backend. You can see the open PR here:

As you can see it would add a new python module dependency to the toml module because that's how anymarkup
implements support for it. It all works nicely but a review comment was made stating that support for TOML has been
split into tomllib in the Python 3.11+ standard library for reading, and tomlib-w for writing.

From that perspective I'd like to ask if you would consider to support the new tomllib implementation as
alternative backend to support TOML with python 3.11+ ?

For us from the KIWI side this would be great as we don't need to add a dependency to the old toml module
and benefit from features of the new tomllib e.g style and comment preserving

Thanks much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant