PyO3 / pyo3

Rust bindings for the Python interpreter
https://pyo3.rs
Other
11.44k stars 693 forks source link

ci: check minimal-versions on MSRV feature powerset #4273

Open davidhewitt opened 1 week ago

davidhewitt commented 1 week ago

Inspired by #4272

Using cargo update -Z direct-minimal-versions (or cargo update -Z minimal-versions) is known to be complicated. I started playing with these and had not much success due to various combinations of dev dependencies and other edge cases.

cargo-minimal-versions worked great, however, and given it's a superset around cargo-hack which we already use in the check-feature-powerset job, I decided to just upgrade that job a bit to run a minimal-versions check on MSRV.

This caught a few extra cases where our minimal dependencies were too low.