-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
BUG: Compatibility problems with libgit2 0.25.0 #19793
Comments
How did you install julia? We haven't updated the bindings to be compatible with 0.25.0 yet. Would welcome a PR that did so, as long as it also kept compatibility with the existing working versions via appropriate if statements. |
I used homebrew to update Julia.
I see what you are getting at for the fix; something like this:
in If I get sufficient free time over this weekend, I might take a stab at it. |
Ah right, then this is a bug with https://github.com/staticfloat/homebrew-julia (specifically this line https://github.com/staticfloat/homebrew-julia/blob/409e324c5a15d5a49af2d5eadd81d28c77054cb7/julia.rb#L44 needs to be more specific about acceptable versions, if homebrew is capable of that nowadays). Would still be good to unblock ourselves from upgrading. I guess if julia were ever added to the main homebrew-core then this kind of thing might be found by their buildbots first. Ref Homebrew/homebrew-core#8221 and Homebrew/homebrew-core#8275. |
See https://github.com/libgit2/libgit2/blob/master/CHANGELOG.md#breaking-api-changes-1 for the necessary changes. |
I've made what I think are the necessary changes in this branch https://github.com/JuliaLang/julia/tree/sb/libgit2/25 However I haven't tried it as the patches no longer apply cleanly: would someone else be able to update these? |
Sure, I'll take a look. |
Rebased the patches and seems to work for me locally on Linux, should I push to your branch and open it as a PR? |
Yes, that's a good idea.
|
So is there no stable package managed way to have this fix on macOS? I have to get the 0.6 pre alpha or build from source? |
The official .dmg should still be okay: http://julialang.org/downloads/ |
Further discussion of the homebrew issue should continue at staticfloat/homebrew-julia#231 |
use homebrew-cask (which wraps the official dmg installer) if you want something "package managed" |
I've hit the same problem after upgrading to libgit2 0.25.1-1 on Arch Linux. Is there any solution other than downgrading my libgit2 installation? I'm afraid downgrading is hard because I have other packages which depend on the updated libgit2. |
@sivark At this point, the best solution is to upgrade Julia to 0.6 beta if you can. |
I see. Thanks. |
The prebuilt tarball from http://julialang.org/downloads/ should also still be okay. |
I recently upgraded to Julia 0.5.0 and ran into the following problem while trying to do a
Pkg.add
:Downgrading from
libgit2
version0.25.0
(which was released 11 days ago at the time of writing) to0.24.1
solves the problem for me:My version info:
This problem was not limited to only
IJulia
package.The text was updated successfully, but these errors were encountered: