question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update default Julia version and/or allow customization

See original GitHub issue

Hi! Currently, repo2docker chooses julia v0.6.0 by default, but there are several newer versions of julia that would be better choices.

The default is set here: https://github.com/jupyter/repo2docker/blob/7552361c2b51bea73f3c2fba5e290d6b834b7f36/repo2docker/buildpacks/julia.py#L38

Better default values would be any of:

  • v0.6.4 (the last 0.6 release)
  • v0.7.0 (the “compatibility” release, which is mostly compatible with code written for 0.6 and code written for 1.0)
  • v1.0 (the latest stable release. However lots of code and packages still aren’t 1.0 ready yet.)

I personally think setting v0.7.0 as the default makes the most sense.


As a separate thing, it would be nice if we allowed the user to choose a julia version in the REQUIRE file, as is commonly done in julia REQUIRE files: https://github.com/JuliaLang/IJulia.jl/blob/master/REQUIRE#L1 https://github.com/JuliaPlots/StatPlots.jl/blob/master/REQUIRE#L1

This way, the user can choose between julia 0.6, 0.7, and 1.0.

If you think these should be two separate Issues, let me know and I’ll split them up! 😃

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
davidanthoffcommented, Mar 22, 2019

I believe we sorted this one out as well and can close?

1reaction
NHDalycommented, Mar 2, 2019

Alright, scrap that 😃

I think the right approach is this:

if there is a Project.toml (or JuliaProject.toml, then generally ignore any REQUIRE file. If there is no julia version info inside Project.toml, then use the latest released version of julia. If there is julia version info inside Project.toml, then use the highest version that is compatible with the constraint that is in the Project.toml.

If there is no Project.toml or JuliaProject.toml, and there is no julia version info inside REQUIRE, use the highest julia 0.6.x version.

Yes, I completely agree! This is what Kristoffer and I came up with as well (here: https://github.com/jupyter/repo2docker/pull/393#issuecomment-419558127)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to upgrade Julia to a new release? - Stack Overflow
The most trivial way of upgrading Julia is to go to the download page and manually install corresponding binaries. (UPDATE: if you're on...
Read more >
The Impact of the Affordable Care Act on People with ...
the complexity of ACA implementation could let ... delays in the release of national survey data. For ... is undergoing much change.
Read more >
The Mandalorian, Season 2: Everything We Know So Far
Star Wars spinoff series The Mandalorian is a certified hit for streaming service Disney+. Here's everything we know about season 2 of The ......
Read more >
Heterogeneity and targeted therapy-induced adaptations in ...
We developed a custom tissue processing and analytic framework adapted to the relatively small and challenging advanced-stage lung tumor biopsy ...
Read more >
Star Wars: The Old Republic | Wookieepedia - Fandom
The Republic version occurs after Korriban Incursion, and sees players retake Tython and the Temple from Arkous's lieutenant Lord Goh. With Game Update...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found