What is the proper incantation of [compat]

I’ve had

[compat]
julia 0.7

in my Project.toml. However, ]dev resulted in an error:

(v0.7) pkg> dev ./FinEtools
ERROR: Pkg.TOML.ParserError(149, 150, "expected `=`, but found `0`")

When I removed it, the package manager command succeeded. It appears the package manager doesn’t like that. Did I mis-form the compatibility specification?

EDIT: I’ve had an enlightening thought, and it worked. It appears that nowadays this thing should read

[compat]
julia = "0.7"

You may find the documentation useful.

2 Likes