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

Support toml spec 1.0.0 #245

Merged
merged 1 commit into from
Jan 16, 2025
Merged

Support toml spec 1.0.0 #245

merged 1 commit into from
Jan 16, 2025

Conversation

eifinger
Copy link
Collaborator

@eifinger eifinger commented Jan 16, 2025

iarna/toml is unmaintained.
Replaced by smol-toml which is maintained and has the same api

Fixes: #242

@eifinger eifinger marked this pull request as ready for review January 16, 2025 15:29
@charliermarsh
Copy link
Member

What did we use prior to the offending PR?

iarna/toml is unmaintained.
Replaced by smol-toml which is maintained and has the same api
@eifinger
Copy link
Collaborator Author

What did we use prior to the offending PR?

#233 introduced TOML parsing using @iarna/toml because we already found out in astral-sh/ruff-action that toml has missing features.

We now use smol-toml

@eifinger eifinger merged commit b5f58b2 into main Jan 16, 2025
52 checks passed
@eifinger eifinger deleted the fix-toml branch January 16, 2025 15:38
@charliermarsh
Copy link
Member

Is it worth making the code robust to failures in parsing?

@eifinger
Copy link
Collaborator Author

Is it worth making the code robust to failures in parsing?

Yes, wanted to get a quick fix out first to unblock failing pipelines

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

Successfully merging this pull request may close these issues.

v5.2.0 fails on some pyproject.toml files
2 participants