Skip to content

Conversation

@MichaelYochpaz
Copy link

@MichaelYochpaz MichaelYochpaz commented Dec 12, 2025

Hello :)

My team and I ran into an issue when trying to compile lintrunner from source because pyproject.toml currently pins the build backend (maturin) to very old versions released up to 2022 (a <0.13 version constraint).

Our team builds packages like lintrunner from 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:

  • Fixes builds: Allows building with modern maturin versions (latest version of maturin is 1.10.2. Latest version currently used for lintrunner is 0.12.19, released in June 2022)
  • Better Compatibility: Newer maturin versions provide crucial fixes for Apple Silicon, Python 3.12+, and manylinux compliance.

Keeping the <2.0 upper 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 :)

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.

1 participant