Skip to content

improve handling of TOML parsing errors #20

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

Merged
merged 1 commit into from
Jun 7, 2025

Conversation

mbway
Copy link
Collaborator

@mbway mbway commented Feb 18, 2025

previously, if pyproject.toml or Cargo.toml did not parse correctly as TOML then an exception would be raised. With this change this category of errors is handled like the other error conditions.

@mbway mbway requested a review from messense February 18, 2025 22:54
@mbway mbway self-assigned this Feb 18, 2025
@mbway
Copy link
Collaborator Author

mbway commented Feb 18, 2025

the error caused by a missing project.version field in pyo3-mixed should be fixed by maturin 1.8.2 #19

@mbway
Copy link
Collaborator Author

mbway commented Jun 6, 2025

this is now blocked by the failed to get version of install backend maturin bug (PyO3/maturin#2584) which will be resolved after this bump #22

@mbway mbway force-pushed the improve_toml_error_handling branch from 390ef0d to 0e438e9 Compare June 7, 2025 10:37
@mbway mbway merged commit 52f9384 into PyO3:main Jun 7, 2025
5 checks passed
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.

2 participants