Code Monkey home page Code Monkey logo

asdf-julia's People

Contributors

christopher-dg avatar dhanak avatar dimitarvanguelov avatar hickey avatar kimriouxparadis avatar lassepe avatar mehalter avatar misnyo-ci avatar rkyleg avatar sheeldotme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

asdf-julia's Issues

CI tests don't properly check if Julia was installed correctly.

The fact that #12 popped up without the CI failing indicates that there is something wrong with the tests. I think the issue is that the docker image already has Julia installed. Thus, you can successfully run julia --version without even installing it via asdf. A potential fix would be to use another docker image. Another solution would be to run the very binary that was installed (/home/user/.asdf/shims/julia) or remove the pre-installed Julia binary before running the test.

Julia not installing properly anymore

Hi,

I'm suddenly having a problem when trying to install Julia versions using Asdf. Here are the steps I follow to install for instance Julia 1.7.1:

$ asdf install julia 1.7.1

Then I do:

$ asdf global julia 1.7.1

But when I try to run the Julia REPL, I get the following:

$ julia
No preset version installed for command julia
Please install a version by running one of the following:

asdf install julia 1.7.1

or add one of the following versions in your config file at /home/christophe/.tool-versions
julia 1.4.2
julia 1.5.0
julia 1.5.1
julia 1.5.2
julia 1.5.3
julia 1.5.4
julia 1.6.0
julia 1.6.1
julia 1.6.2
julia 1.6.3
julia 1.6.4
julia 1.7.0

Yet asdf list julia correctly lists 1.7.1:

$ asdf list julia
  1.4.2
  1.5.0
  1.5.1
  1.5.2
  1.5.3
  1.5.4
  1.6.0
  1.6.1
  1.6.2
  1.6.3
  1.6.4
  1.7.0
  1.7.1

So I don't understand what's going on. Can you see if you can reproduce the issue? I'm on Ubuntu 18.04.

Shims not being created on macOS Catalina

macOS 10.15.7

$ asdf install julia 1.5.3  
Downloading from:
https://julialang-s3.julialang.org/bin/mac/x64/1.5/julia-1.5.3-mac64.dmg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 96.2M  100 96.2M    0     0  34.5M      0  0:00:02  0:00:02 --:--:-- 34.5M
"/Volumes/Julia-1.5.3 1" unmounted successfully.

$ julia
zsh: command not found: julia

Nothing in shims related to julia. Running asdf reshim julia has no effect.

~/.asdf/installs/julia looks like:

1.5.3
    └── julia
        ├── LICENSE.md
        ├── bin
        │   └── julia
        ├── etc
        ├── include
        ├── lib
        ├── libexec
        └── share

CI has not been run in 6 months

I guess this is due to the fact that GitHub disabled scheduled actions if the repo has been inactive for a while. In that case, we could only trigger the workflow on pushevents so that it at least runs on all code changes.

Install musl binary on musl systems

Installing on Alpine Linux downloads a glibc binary which won't run. This plugin should check what libc is available and change the download URL accordingly.

Mac issues.

The first issue may not be anything at all. When I run asdf list-all julia I only get 0.6.1 as an output. Is that the only version of julia available?

The second issue is that asdf install julia 0.6.1 does not install and results in the following:

$ asdf install julia 0.6.1
hdiutil: mount failed - image not recognized
cp: /Volumes/Julia-0.6.1//Julia-0.6.app/Contents/Resources/julia: No such file or directory
hdiutil: unmount: "/Volumes/Julia-0.6.1" failed to unmount due to error 2.
hdiutil: unmount failed - No such file or directory

I am currently running macOS Sierra version 10.12.6.

Listing versions: tempfile utility is not available by default

The list-all command requires that tempfile is installed.
It's not installed by default and I'm also not sure how to install it: on Fedora 35 and macOS Homebrew it's not available.

Is there a specific reason to why tempfile is used over something more common, such as mktemp?

I'd be willing to make a PR to make the change.

Cannot install Julia using Dockerfile

When trying to install Julia on a docker image using asdf, the prompt to install on desktop is shown but there is no way to bypass the prompt. It requires interaction to finish the install. I tried using -q flag to be more quiet but this didn't work.

How can I install this without getting a prompt?

macos install falls

macos catalina 10.15.5 (19F101) - any other information I can provide?

$ asdf install julia 1.5.0
Downloading from:
https://julialang-s3.julialang.org/bin/mac/x64/1.5/julia-1.5.0-mac64.dmg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 96.0M  100 96.0M    0     0  5484k      0  0:00:17  0:00:17 --:--:-- 5935k
hdiutil: unmount: Only a single file can be specified.
Usage:	hdiutil unmount [options] <mountpoint>
	hdiutil unmount -help

Version 1.2.0 Installation error mkdir

I just updated the plugin and while trying to install julia version 1.2.0 I got the follogwing error:

mkdir: the directory »/home/username/.asdf/installs/julia/1.2.0/julia“ cannot be created: file already exists (translated from German language).

Can I somehow fix this issue?

EDIT: trying to install other versions (e. g. 1.1.1) causes the same error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.