How is(are) the version(s) of Julia that are compatible with my package recorded?

How is(are) the version(s) of Julia that are compatible with my package recorded? Where? In Project.toml? Or elsewhere?

Let us say my package requires to run with v"0.7-". How do I specify that in the configuration files?

In Project

[compat]
julia 0.7

Will give a compatability with [0.7, 1.0)

Note that this section of the project file must currently be added and edited by hand but in the future we’ll have tooling around this.

3 Likes