By testing line-by-line in this way, any change to the dependencies of these libraries becomes breaking. If we check all lines instead, new dependencies won't break these tests.
I have verified that this change actually fixes the spurious CI errors by adding a test commit to that PR, bumping Pkg.version to this commit, and checking the CI output (no more Pkg errors).
By testing line-by-line in this way, any change to the dependencies of these libraries becomes breaking. If we check all lines instead, new dependencies won't break these tests.
Specifically, this allows for Pkg's CI to succeed in the face of https://github.com/JuliaLang/julia/pull/51928.
I have verified that this change actually fixes the spurious CI errors by adding a test commit to that PR, bumping
Pkg.version
to this commit, and checking the CI output (no more Pkg errors).