Skip to content

Commit

Permalink
no longer collect dependencies from the registry for fixed packages (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed May 9, 2018
1 parent 162c025 commit 945a852
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stdlib/Pkg3/src/Operations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ function collect_require!(ctx::Context, pkg::PackageSpec, path::String, fix_deps
pkg_name, vspec = r.package, VersionSpec(VersionRange[r.versions.intervals...])
if pkg_name == "julia"
if !(VERSION in vspec)
error("julia version requirement for package $pkg not satisfied")
@warn("julia version requirement for package $pkg not satisfied")
end
else
deppkg = PackageSpec(pkg_name, vspec)
Expand Down Expand Up @@ -198,6 +198,7 @@ function deps_graph(ctx::Context, uuid_to_name::Dict{UUID,String}, reqs::Require
isempty(unseen) && break
for uuid in unseen
push!(seen, uuid)
uuid in keys(fixed) && continue
all_versions_u = get_or_make!(all_versions, uuid)
all_deps_u = get_or_make!(all_deps, uuid)
all_compat_u = get_or_make!(all_compat, uuid)
Expand Down

0 comments on commit 945a852

Please sign in to comment.