PyO3/maturin

Make `--find-interpreter` require opt-in to prereleases

Aperta

#1975 aperta il 1 mar 2024

 (3 commenti) (3 reazioni) (0 assegnatari)Rust (420 fork)auto 404
good first issue

Metriche repository

Star
 (5692 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Followup to https://github.com/PyO3/maturin/issues/1960#issuecomment-1969780779

I think that probably when using --find-interpreter maturin should ignore prereleases unless an additional --allow-prereleases flag is passed. I think this would help avoid users accidentally uploading wheels for prerelease Python versions before they are ready to deliberately be testing them in CI.

(Maybe it can print that it found them and give a hint to add --allow-prereleases, but not build for them.)

Guida contributor