PyO3 / pyo3

Rust bindings for the Python interpreter
https://pyo3.rs
Apache License 2.0
12.43k stars 766 forks source link

Run free-threaded CI on MacOS #4686

Closed ngoldbaum closed 2 weeks ago

ngoldbaum commented 2 weeks ago

I didn't want to integrate this with build-pr quite yet, because build-pr still uses 3.12. We can talk more later about how exactly we want to test free-threading without doubling the number of CI jobs that get run against every PR.

However I do think it's worthwhile to add one more MacOS job, as I do here.

This uses quansight-labs/setup-python, which is a fork of setup-python to support installing the free-threaded build. Hopefully just a temporary fork! But it makes it much easier to set up cross-platform CI and builds.