Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the intent is to rule out 1.12.0, I think you need the extra tilde. I would also add a tilde in front of 1.12.1 to not claim that this means compatibility with 1.13.
Note though that this means that if you install Libtask on Julia 1.12.0 you'll get an old version, because the previous release that has
julia = "~1.10.8, 1.11.6"as its compat is considered compatible with 1.12.0.We were discussing this with Will last week. In a philosophical sense Libtask and Mooncake should both have an upper bound on their Julia version compatibility, because they rely on non-public compiler internals. But we can't really introduce one any more, because
Pkgwill just default to installing an old version that claims to be compatible with anything up to Julia v2.0.Given that we can't actually stop a broken version of Libtask from being installed on 1.12.0, I think it's less confusing if at least it would install the latest version of Libtask. It would also cause less trouble by holding back other packages. Hence I'm inclined to not do this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we instead print a warning message if
Libtaskis used onJulia 1.12.0?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that's a good idea.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a warning in 6c336b0