-
Notifications
You must be signed in to change notification settings - Fork 125
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
[NDTensors] [BUG] Precompilation issue with 1.10-beta1 #1164
Comments
I tried doing this
in |
That was my first thought for what to try, but I also see that doesn't work. I also tried wrapping it with: @static if VERSION < v"1.10"
# ...
end which can be a bit safer (i.e. it helps with ignoring code that has syntax issues in different versions) but that didn't work either. It seems like the analysis precompilation is doing on the NDTensors package is stricter than the analysis that would be done when loading the package, since that code should get ignored in Julia v1.10. We probably shouldn't be hijacking the |
Will be fixed by #1168. It turns out we need to be more specific with the version constraint, i.e. use julia> v"1.10.0-DEV.1404" < v"1.10"
true |
Description of bug
When installing
ITensors
with Julia 1.10-beta1, there seems to be a conflict or issue between theBase.sort
overload intupletools.jl
(line 175) and thesort.jl
file defining part of the JuliaBase
module.Minimal code demonstrating the bug or unexpected behavior
Minimal runnable code
Actual output or behavior
NDTensors failed to precompile. The error message and Julia versoininfo() are below.
Output of minimal runnable code
Version information
versioninfo()
:The text was updated successfully, but these errors were encountered: