At long last, the Julia developers are pleased to announce the release of Julia v1.3.0, the third minor release in the 1.x series. Binaries are available for all of your favorite platforms (Linux, Windows, macOS, and FreeBSD) at Download Julia.
As a minor release, v1.3.0 contains no breaking changes, only new features, performance improvements, and marginal, undisruptive changes in behavior. The best reference for the changes in 1.3 is the NEWS file for 1.3.0. There have also been a couple of blog posts highlighting some exciting new features in 1.3, including multithreading and Pkg artifacts.
Note that 1.3, like 1.2 and 1.1 before it, does not have long term support. As of this release, 1.2 has been effectively superseded by 1.3, which means there will not likely be any further 1.2.x releases. Julia 1.0 is still currently the only long term support version.
We encourage everyone to give it a try. Packages can test with 1.3.0 on CI by specifying 1.3 on Travis, AppVeyor (with Appveyor.jl), and Cirrus (with CirrusCI.jl). As always, let us know in the issue tracker if you run into any issues.
In your ~/.julia/environments folder there’s a v1.2 (or whatever version you are on) folder containing the Project.toml file, this is the list of installed packages (iirc the Manifest.toml includes installed dependencies, etc). You can copy/rename that folder to v1.3 and in julia repl do ]instantiate
Just to be sure (and not to alarm anyone; it’s probably nothing): my virus scanner tripped up a bit, as though it was treating the installer as suspicious. What can you tell me about it? It never happened before with previous Julia installations.
Thanks for the comment! Some package/dependencie may require specific julia versions so after a julia version update, the packages’ version may need to be changed, therefore it might be better to just copy over the Project.toml and use ]instantiate to build the Manifest.toml? maybe ]up should be enough…
Note that if you want to keep the same packages as in 1.2 you
can copy (or rename if you are no longer using julia 1.2)
the .julia/environments/v1.2 folder to .julia/environments/v1.3
$ cd ~/.julia
$ cd environments/
$ ls
v1.2
$ cp -rp v1.2 v1.3
$ ls -l
total 0
drwxr-xr-x 4 ssiew staff 136 18 Aug 2018 v1.2
drwxr-xr-x 4 ssiew staff 136 18 Aug 2018 v1.3
instructions shamelessly copied from instructions shamelessly copied from instructions shamelessly copied from Julia 1.0
A different approach is to create a link to the executable and put it into the /usr/local/bin directory (which should already be in your path), so that typing julia is the exact equivalent of typing /Applications/Julia/.../julia . This command does that:
$ set | grep NUM
JULIA_NUM_THREADS=8
$ cat julia_1.3_multithread_celebration.jl
using Base.Threads
Threads.@threads for n in 1:10
println("Thread ",Threads.threadid()," celebrates the release of Julia-1.3")
end
$ julia julia_1.3_multithread_celebration.jl
Thread 1 celebrates the release of Julia-1.3
Thread 5 celebrates the release of Julia-1.3
Thread 2 celebrates the release of Julia-1.3
Thread 1 celebrates the release of Julia-1.3
Thread 3 celebrates the release of Julia-1.3
Thread 7 celebrates the release of Julia-1.3
Thread 2 celebrates the release of Julia-1.3
Thread 6 celebrates the release of Julia-1.3
Thread 4 celebrates the release of Julia-1.3
Thread 8 celebrates the release of Julia-1.3
I’m having difficulty with both a new install of v1.3.0 and upgrading from v1.1.0. In both cases the problem seems to be with OpenSpecFun(). In teh latter case I’m getting:
(v1.3) pkg> update
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
Installed Plots ─ v0.28.0
┌ Error: Tree Hash Mismatch!
│ Expected git-tree-sha1: d322d52dbe634d659d67312eea8a78c16112127e
│ Calculated git-tree-sha1: 0aee4fdfd24ee5162c06e2507d82c11a8f6a9ad2
â”” @ Pkg.Artifacts /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Artifacts.jl:724
ERROR: Unable to automatically install 'OpenSpecFun' from '/home/healyp/.julia/packages/OpenSpecFun_jll/XrUb6/Artifacts.toml'
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Linux, ::Bool, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Artifacts.jl:810
Any thoughts on a workaround would be greatly appreciated.