]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Pin `indexmap` back to account for `hashbrown` MSRV bump
authorElias Rohrer <dev@tnull.de>
Thu, 7 Nov 2024 13:29:09 +0000 (14:29 +0100)
committerElias Rohrer <dev@tnull.de>
Thu, 7 Nov 2024 13:35:12 +0000 (14:35 +0100)
`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.

ci/ci-tests.sh

index 1ee6eff9814f7665245b146b57103c49620a2412..406fee2455b579bfe22275a460ed7b423f7ed415 100755 (executable)
@@ -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
 }