Skip to content

Only support julia v1.5#356

Closed
baggepinnen wants to merge 2 commits intoJuliaControl:masterfrom
baggepinnen:compat
Closed

Only support julia v1.5#356
baggepinnen wants to merge 2 commits intoJuliaControl:masterfrom
baggepinnen:compat

Conversation

@baggepinnen
Copy link
Copy Markdown
Member

@baggepinnen baggepinnen commented Oct 10, 2020

This PR changes the compatibility of Julia to v1.5, instead of the previous 1.0. The motivation for this is that it takes too much developer effort to maintain support for old julia versions.

  • testing a package takes time, especially since most people do not have anything but the latest version installed locally.
  • opening the build logs on CI takes time, figuring out what went wrong on an older release takes a lot of time.
  • fixing things that don’t work on an old version of Julia takes a ton of time. Especially if one of your dependencies has been changed and is not compatible with earlier Julia.

This would mean that we can also get rid of some ugly version-specific code in this package, and that tests will go a bit faster. This also gives us access to things like

  • Thread support
  • Easier forwarding of keyword arguments with same name
  • 5-arg mul!
  • eachrow, eachcol etc.

On the whole, I think most people would benefit from a faster development cycle rather than new features being added for those who linger on julia v1.0. This also appears to be the mindset of the rest of the ecosystem, most packages drop support for older versions without hesitation. Only well backed packages with lots of maintainers strive for compat with 1.0.
The following have all ditched 1.0 on the main branch

Failures on old Julia versions but not on latest:

@coveralls
Copy link
Copy Markdown

coveralls commented Oct 10, 2020

Coverage Status

Coverage increased (+1.8%) to 80.692% when pulling 37203b4 on baggepinnen:compat into 56767fa on JuliaControl:master.

@mfalt mfalt mentioned this pull request Oct 10, 2020
@KronosTheLate
Copy link
Copy Markdown
Contributor

If you want opinions, here is mine:

I dont care much for supporting 1.0, especially at the cost of development-time. Also, if other important packages are dropping 1.0 support, users should be on the updated version of julia anyways.

@imciner2
Copy link
Copy Markdown
Contributor

Considering how much they have diverged, this makes sense, and there has been talk about 1.6 becoming the next LTS release so a new LTS probably isn't that far away (1.6 would go into LTS when they branch 1.7 is what I have heard).

@albheim
Copy link
Copy Markdown
Member

albheim commented Sep 26, 2021

Since #470 we now support 1.6 and up, so I assume we could now merge the other changes in this PR that removes some version specific code?

@baggepinnen
Copy link
Copy Markdown
Member Author

Yep, sounds good

This was referenced Oct 5, 2021
@albheim albheim closed this Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants