PyO3/maturin

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

Open

#1,975 opened on Mar 1, 2024

 (3 comments) (3 reactions) (0 assignees)Rust (420 forks)auto 404
good first issue

Repository metrics

Stars
 (5,692 stars)
PR merge metrics
 (PR metrics pending)

Description

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.)

Contributor guide