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

Replace third-party tomlkit with stdlib tomllib #201

Closed
wants to merge 2 commits into from

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Sep 25, 2024

The build server uses Python 3.12.

tomllib was added to the stdlib in Python 3.11, so let's drop 3.10.

https://docs.python.org/3/library/tomllib.html

Copy link
Contributor

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tomlkit is style-preserving, tomllib isn't (tomllib doesn't even contain the ability to write toml, mostly for this reason)

@encukou
Copy link
Member

encukou commented Sep 26, 2024

This won't work. There's no dumps, parse, or document in tomllib.

@hugovk
Copy link
Member Author

hugovk commented Sep 26, 2024

Ah, of course, it's read-only, and reminds we don't have wide test coverage in this repo. Thanks!

@hugovk hugovk closed this Sep 26, 2024
@hugovk hugovk deleted the tomllib branch September 26, 2024 00:07
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

Successfully merging this pull request may close these issues.

3 participants