-
Notifications
You must be signed in to change notification settings - Fork 41
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
LoadError: type Nothing has no field _conj #158
Comments
Aha, I see that my "extension hacking" has finally come to bite me in the backside... It looks like julia 1.11.1 made some changes to the order of loading the package extensions. Because of that, the TensorKitChainRulesCoreExt module is not finding the TensorOperationsChainRulesCoreExt module, thus missing the required definitions. In principle this is not too hard to fix, it's a matter of porting over the definitions of EDIT: It seems like this change affects the whole chain of packages, so things like PEPSKit no longer compile because of this. I'll open an issue to check if this is intended Julia behavior, but otherwise we should probably get this "hotfixed" and port it to a version 0.12.7 |
I think this is due to this: JuliaLang/julia#55589 |
I was also just looking into this. I do think porting over the required definitions is probably the quickest fix, as we will be starting to get many bug reports as people upgrade to Julia 1.11.1. |
Also see JuliaLang/julia#56204, we are not the only ones affected by this. I have to say that whether or not this gets resolved at the Julia level, it's safest to just avoid it altogether. |
Although; it may be harder than that. We also use this approach to overload internal methods from |
Ah right, I forgot about that... We did not do this yet in the 0.12 version though, so it might be possible to hotfix that one and rethink the approach for the new tensorkit versions |
Now that |
This should now be resolved both in the v0.12 series as well as the v0.13 series, so I am closing this now. |
On Julia 1.11.1, I get the following error when building TensorKit:
Package versions:
The text was updated successfully, but these errors were encountered: