Summary
I just had a compilation failure for rustpython-stdlib 0.5.0, because the dependency on mt19937 <= 3.2 is not specific enough.
Details
rustpython-stdlib specifies a dependency of mt19937 = "<=3.2" in the Cargo.toml (workspace), but that's not specific enough. The constant mt19937::N was made public in version 3.1. Multiple required methods (like get_state() and get_index() also didn't exist before 3.1.
A cargo update did fix the issue, but it'd be nice if that wasn't necessary. I therefore propose to change the dependency to mt19337 = ">=3.1, <=3.2".
Summary
I just had a compilation failure for
rustpython-stdlib 0.5.0, because the dependency onmt19937 <= 3.2is not specific enough.Details
rustpython-stdlibspecifies a dependency ofmt19937 = "<=3.2"in theCargo.toml(workspace), but that's not specific enough. The constantmt19937::Nwas made public in version3.1. Multiple required methods (likeget_state()andget_index()also didn't exist before3.1.A
cargo updatedid fix the issue, but it'd be nice if that wasn't necessary. I therefore propose to change the dependency tomt19337 = ">=3.1, <=3.2".