Skip to content

Commit

Permalink
ensure at least one channel is always selected (else conda complains)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Doris committed Aug 20, 2022
1 parent 5ca0037 commit b9130ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/resolve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ function _resolve_find_dependencies(io, load_path)
end
end
end
if isempty(channels)
push!(channels, ChannelSpec("conda-forge"))
end
(packages, channels, pip_packages, extra_path)
end

Expand Down

2 comments on commit b9130ca

@cjdoris
Copy link
Collaborator

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/66613

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.13 -m "<description of version>" b9130ca815a0cb40c9cca852c67328c8598d356c
git push origin v0.2.13

Please sign in to comment.