Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoBuild] Make julia_compat a required keyword argument #1337

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

giordano
Copy link
Member

Completely untested, will probably need to adapt some tests, but opening the PR to save my quick progress. Ref: JuliaPackaging/Yggdrasil#9046 (comment). CC: @vchuravy

error("""
`julia_compat` must be set explicitly to a valid compat spec string.
If this is an existing recipe which didn't previously specify `julia_compat`, use the old default value of `"1.0"`,
otherwise for a new recipe you're encouraged to set `julia_compat="1.6"`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we make this more generic (e.g. say to the current LTS release)? That way we don't need to update the error messages for newer versions.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think sticking to v1.6 is ok, we don't have any particular reason to restrict to newer versions. Maybe I could rephrase slightly to say something along the lines of "at least 1.6"

@ViralBShah
Copy link
Member

LTS may be too aggressive - and perhaps LTS-1 (1.6) is a good default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants