Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throw an error if the Julia version requirement is not satisfied #2296

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Operations.jl
Expand Up @@ -287,7 +287,7 @@ function resolve_versions!(env::EnvCache, registries::Vector{Registry.RegistryIn
if julia_version !== nothing
v = intersect(julia_version, project_compatibility(env, "julia"))
if isempty(v)
@warn "julia version requirement for project not satisfied" _module=nothing _file=nothing
Types.pkgerror("julia version requirement for project not satisfied")
end
end
names = Dict{UUID, String}(uuid => stdlib for (uuid, stdlib) in stdlibs())
Expand Down