Remove fragile dependency constraint on ordered-float. (#8371)

Bounds like `<=5.0` should never be used unless necessary to avoid bugs,
because it will cause a build failure if another package has a
requirement like `~5.1.0` or `>=5.1.0`. Upper bounds should always cut
at a major version boundary, not before it.
This commit is contained in:
Kevin Reid 2025-10-17 12:00:00 -07:00 committed by GitHub
parent a70b8336c0
commit 585397cc9e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

4
Cargo.lock generated
View File

@ -3026,9 +3026,9 @@ dependencies = [
[[package]]
name = "ordered-float"
version = "5.0.0"
version = "5.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2c1f9f56e534ac6a9b8a4600bdf0f530fb393b5f393e7b4d03489c3cf0c3f01"
checksum = "7f4779c6901a562440c3786d08192c6fbda7c1c2060edd10006b05ee35d10f2d"
dependencies = [
"num-traits",
]

View File

@ -153,7 +153,7 @@ obj = "0.10"
# NOTE: once_cell/std is *required* for some commonly-used features, selecting this per crate
once_cell = { version = "1.21", default-features = false }
# Firefox has 3.4.0 vendored, so we allow that version in our dependencies
ordered-float = { version = ">=3, <=5.0", default-features = false }
ordered-float = { version = ">=3, <6.0", default-features = false }
parking_lot = "0.12.3"
petgraph = { version = "0.8", default-features = false }
pico-args = { version = "0.5", features = [