pantsbuild / scie-pants

Protects your Pants from the elements.
https://www.pantsbuild.org/docs/installation
Apache License 2.0
18 stars 17 forks source link

Use 2.21.0.dev6 for PANTS_SOURCE testing, not 2.14.1 #388

Closed huonw closed 2 months ago

huonw commented 2 months ago

This updates the hard-coded version that's used for the PANTS_SOURCE test from 2.14.1 to 2.21.0.dev6, which is the current most recent main release.

This is acutely motivated by the old version using dependencies without appropriate wheels for macOS arm64 in particular, which causes CI to hit https://github.com/pantsbuild/pants/issues/20790, thus making development here slower and dependent on fixing those infrastructure issues.

It potentially also brings the Rust version used by that dependency to be closer to that used by the scie-pants repo, thus making Rust upgrades potentially easier (less juggling of rust versions required https://github.com/pantsbuild/scie-pants/pull/358).

Finally, the risk of this change is that we might regress PANTS_SOURCE behaviour for old Pants versions, e.g. someone is using a local check out of a 2.14.x-era release, and some future change to scie-pants breaks this. I think we can treat this sort of out-of-date PANTS_SOURCEs as semi-supported: if someone is affected, they can file an issue and we (potentially) fix, and they have the easy work-around of pinning to a lower/previously-working version of scie-pants.