# Resolve mismatch between running Julia and the compatibility section

**URL:** https://discourse.julialang.org/t/resolve-mismatch-between-running-julia-and-the-compatibility-section/52064
**Category:** General Usage
**Tags:** package
**Created:** [December 18, 2020, 6:30pm UTC](https://discourse.julialang.org/t/resolve-mismatch-between-running-julia-and-the-compatibility-section/52064 "2020-12-18T18:30:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)
#### Post date: [December 18, 2020, 6:30pm UTC](https://discourse.julialang.org/t/resolve-mismatch-between-running-julia-and-the-compatibility-section/52064/1 "2020-12-18T18:30:52Z")

</div>

Consider a project: Let us say I have specified compatibility as Julia 1.5. Now I run 1.6, which violates the compatibility requirement. When this happens with packages, activating the environment fails. However with the executable of Julia there is a warning, but that’s it. If I don’t look for that warning I may miss it completely. If things are working, perhaps that is fine, even though one could argue that there might have been a reason why 1.5 was specified to begin with, and even though the program may run with 1.6, it is not what the user intended.

Shouldn’t the incompatibility be handled the same way for packages and the Julia executable? Meaning, an error message is produced?

---

<div class="post-metadata">

### Author: ![dilumaluthge](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dilumaluthge/32/29283_2.png) [@dilumaluthge](https://discourse.julialang.org/u/dilumaluthge)
#### Post date: [December 19, 2020, 6:12am UTC](https://discourse.julialang.org/t/resolve-mismatch-between-running-julia-and-the-compatibility-section/52064/3 "2020-12-19T06:12:27Z")

</div>

You’re referring to this warning, right?

```julia
[ Warning: julia version requirement for project not satisfied

```

I think it makes sense for this to be an error instead of a warning.

---

<div class="post-metadata">

### Author: ![dilumaluthge](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dilumaluthge/32/29283_2.png) [@dilumaluthge](https://discourse.julialang.org/u/dilumaluthge)
#### Post date: [December 19, 2020, 6:16am UTC](https://discourse.julialang.org/t/resolve-mismatch-between-running-julia-and-the-compatibility-section/52064/4 "2020-12-19T06:16:03Z")

</div>

[https://github.com/JuliaLang/Pkg.jl/pull/2296](https://github.com/JuliaLang/Pkg.jl/pull/2296)
