Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello :)
My team and I ran into an issue when trying to compile
lintrunnerfrom source becausepyproject.tomlcurrently pins the build backend (maturin) to very old versions released up to 2022 (a<0.13version constraint).Our team builds packages like
lintrunnerfrom source, and our build system requires maturin>=1.8.4 for build performance and compatibility improvements.This PR updates the constraint from
["maturin>=0.12,<0.13"]to["maturin>=1.0,<2.0"].Why this helps:
maturinversions (latest version ofmaturinis1.10.2. Latest version currently used forlintrunneris0.12.19, released in June 2022)maturinversions provide crucial fixes for Apple Silicon, Python 3.12+, andmanylinuxcompliance.Keeping the
<2.0upper bound ensures we get stability improvements without risking future breaking changes from a major version bump.Thanks for maintaining this project, and let me know if you need anything additional from me :)