JuliaLang / Pkg.jl

Pkg - Package manager for the Julia programming language
https://pkgdocs.julialang.org
Other
609 stars 251 forks source link

Allow compat specifiers in Pkg.add #3922

Open fredrikekre opened 3 weeks ago

fredrikekre commented 3 weeks ago

I think it would be neat to be able to do e.g.

Pkg.add(name = "Example", version = "^1.2")

The default meaning of version have =-semantics though which is different from the default ^-semantics of the [compat] section, but perhaps that is OK.