Skip to content

Stop pinning dependencies - #1820

Merged
vks merged 1 commit into
masterfrom
push-pnnunyyorszr
Aug 2, 2026
Merged

Stop pinning dependencies#1820
vks merged 1 commit into
masterfrom
push-pnnunyyorszr

Conversation

@dhardy

@dhardy dhardy commented Jul 29, 2026

Copy link
Copy Markdown
Member

Motivation

As a library, rand should be compatible with all dependencies automatically found by the resolver, not only pinned versions.

Details

CI will now test against three version sets:

  • The MSRV test (Ubuntu, Rust 1.85.0) will find dependencies using the MSRV-aware resolver. This will include updates to dependencies where they do not require a more recent version of Rust.
  • The minimal-versions test (Ubuntu, nightly Rust) will test the minimum version set matching the dependency specification
  • Other tests (multiple platforms, stable/beta/nightly Rust) will use the latest versions matching the dependency specification (without MSRV-aware resolution).

We will no longer get explicit tests on new versions via dependabot but we will still get weekly CI re-runs using the latest versions.

Note: this reverts #1699 aside from the part already reverted by #1745.

@dhardy
dhardy requested a review from vks July 29, 2026 11:20
@dhardy
dhardy force-pushed the push-pnnunyyorszr branch from f13a3fd to 3f7c433 Compare July 29, 2026 11:22

@vks vks left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Frankly, I never quite understood why we started pinning them in the first place...

@vks
vks merged commit 521fab6 into master Aug 2, 2026
17 checks passed
@vks
vks deleted the push-pnnunyyorszr branch August 2, 2026 15:45
@dhardy

dhardy commented Aug 3, 2026

Copy link
Copy Markdown
Member Author

... there were reasons (v0.10 pre-releases), but I'm not convinced this strategy was ever really justified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants