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

chore: TOML 1.0 support: drop toml, use tomli #876

Merged
merged 1 commit into from
Oct 15, 2021
Merged

Conversation

henryiii
Copy link
Contributor

@henryiii henryiii commented Oct 14, 2021

This is required to get TOML 1.0 support, and lightens our dependencies a bit. I think most other packages have already switched (pip, etc). Manually writing the output file since tomli-w doesn't support formatting, and tomlkit doesn't keep the output structure as promised. This is probably simpler/easier for us.

Closes #534.

This is required to get TOML 1.0 support, and lightens our dependencies a bit.
@joerick
Copy link
Contributor

joerick commented Oct 14, 2021

Looks good. Do we need to keep the support code in cibuildwheel.extra? Is that so it can be tested?

@henryiii
Copy link
Contributor Author

Yes, that's why. We could move it into bin and just add the testing there too. We don't import from bin, so it would be one big file. But I don't mind that way either.

@joerick
Copy link
Contributor

joerick commented Oct 14, 2021

All good, was just curious :)

@henryiii henryiii changed the title chore: drop toml, use tomli chore: TOML 1.0 support: drop toml, use tomli Oct 14, 2021
@henryiii henryiii merged commit bf36398 into main Oct 15, 2021
@henryiii henryiii deleted the henryiii/chore/tomli branch October 15, 2021 15:30
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.

Idea: maybe use Tomlkit instead of toml?
2 participants