We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01f7643 commit 9b5d322Copy full SHA for 9b5d322
src/Prefix.jl
@@ -669,7 +669,7 @@ function setup_dependencies(prefix::Prefix,
669
# We occasionally generate "illegal" package specs, where we provide both version and tree hash.
670
# we trust the treehash over the version, so drop the version for any that exists here:
671
function filter_redundant_version(p::PkgSpec)
672
- if p.version !== VersionSpec("*") && p.tree_hash !== nothing
+ if p.version !== PKG_VERSIONS.VersionSpec("*") && p.tree_hash !== nothing
673
return Pkg.Types.PackageSpec(;name=p.name, tree_hash=p.tree_hash, repo=p.repo)
674
end
675
return p
0 commit comments