Basically, this happens if either:
- You are using Julia 1.3 or earlier.
- You are using Julia 1.4+, and you do Pkg operations inside your test suite.
For almost all stdlibs (including Random), the fix is:
[compat]
StdlibName = "<0.0.1, 1"
For the SHA stdlib specifically, the fix is:
[compat]
SHA = "<0.0.1, 0.7, 1"