-
Notifications
You must be signed in to change notification settings - Fork 38
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
Problems installing Modia#master on Julia 1.0 #52
Comments
Yes. I hope we could coordinate to have a new Modia version 0.2 taggged for Julia 0,6, 0.7 and 1,0. |
I have also a difficulty with ModiaMath (which did not appear yesterday). There is now a warning message from Sundials. Reported an issue to Sundials. I wonder why this appears now, because yesterday this did not happen (and I also left Julia an re-entered to running all tests). I think this has to be fixed first. I do not yet fully understand the package manager, but in the beginning I also got error messages of the type that you reported. I fixed them in the following way:
in this case alwas the version of Modia is used that is under directory .julia/dev |
I just checked and the Sundials version 2.4.0 used by ModiaMath is released since Aug. 11, and I used this version all the time. It is clear that SparseArrays need to be added to the dependency list of Sundials, but the question is why this warning did not appear much earlier. I do not think it is possible to go back to an earlier version of Sundials because 2.4.0 is the only version supported for Julia 1.0. So, it seems the only approach is to wait until this is fixed in Sundials. |
Its not a Sundials issue, but a bad commit to Julias package repository. This is currently being fixed, so best to wait before continuing. |
Probably, the reason is the folllowing:
|
The problem with the Julia registry is fixed details here. I just upgraded Modia to use ModiaMath 0.2.2 and pushed this change. I tested now with Modia, ModiaMath and Modia3D and all the previous problems that I had today with the installations are gone. @crlaugh: Please check, whether your reported issue is also gone. |
I tried it again today on a fresh install of Julia 1.0 in Windows, but still have some errors: First attempt:
Assuming that we can fix the tests later, I then tried Okay, maybe I need to get the master:
Any suggestions? |
I think the reason was that the UUID in ModiaMaths Project.toml file was different to the UUID defined in METADATA. Since this is fixed in version 0.2.4, the issue above should be gone. Note, Modia with support of Julia 0.6, 0.7, 1.0 and using ModiaMath@0.2.4 was released. Registration is pending at METADATA. |
Modia 0.2.1 (runs with Julia 0.6, 0.7, 1.0) is now registered at METADATA. The problems with the installation should be gone. |
Since Martin updated ModiaMath to version 0.2.2, I tried installing Modia on a clean installation of Julia 1.0. Unfortunately, I get some errors:
(v1.0) pkg> add Modia#master
Updating git-repo
https://github.com/ModiaSim/Modia.jl.git
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package ModiaMath [80923050]:
ModiaMath [80923050] log:
├─ModiaMath [80923050] has no known versions!
└─restricted to versions * by Modia [e4773e00] — no versions left
└─Modia [e4773e00] log:
├─possible versions are: 0.2.0 or uninstalled
└─Modia [e4773e00] is fixed to version 0.2.0-beta.12
Does it make sense to have a new release of Modia that is compatible with Julia 1.0? Or is there another way to get Modia to install given this new release of ModiaMath?
The text was updated successfully, but these errors were encountered: