You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rustpython-stdlib compilation failure with old mt19937 dependency #8025
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".
Activity
fanninpm commentedon Jun 4, 2026
Are you sure it's not related to #8010?
AsmPrgmC3 commentedon Jun 4, 2026
That PR specifies
mt19937 = "3.3"so this doesn't apply anymore. I didn't see the PR when making this issue, but it did indeed fix this.