From: Elias Rohrer Date: Thu, 7 Nov 2024 13:29:09 +0000 (+0100) Subject: Pin `indexmap` back to account for `hashbrown` MSRV bump X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=e12ee9d120b0cbffe726ed9826dd68a086d0dc85;p=rust-lightning Pin `indexmap` back to account for `hashbrown` MSRV bump `indexmap` 2.6.0 upgraded to `hashbrown` 0.15, which unfortunately bumped their MSRV to rustc 1.65 with the 0.15.1 release. So we pin `indexmap` to 2.5.0 to fix our MSRV CI. --- diff --git a/ci/ci-tests.sh b/ci/ci-tests.sh index 1ee6eff98..406fee245 100755 --- a/ci/ci-tests.sh +++ b/ci/ci-tests.sh @@ -18,6 +18,9 @@ function PIN_RELEASE_DEPS { # Here we opt to keep using unicode-rs by pinning idna_adapter as described here: https://docs.rs/crate/idna_adapter/1.2.0 [ "$RUSTC_MINOR_VERSION" -lt 67 ] && cargo update -p idna_adapter --precise "1.1.0" --verbose + # indexmap 2.6.0 upgraded to hashbrown 0.15, which unfortunately bumped their MSRV to rustc 1.65 with the 0.15.1 release + [ "$RUSTC_MINOR_VERSION" -lt 65 ] && cargo update -p indexmap@2.6.0 --precise "2.5.0" --verbose + return 0 # Don't fail the script if our rustc is higher than the last check }