-
-
Notifications
You must be signed in to change notification settings - Fork 91
Methods overwritten in extensions #914
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
Comments
It looks like you have an old version of Optimization. Can you try updating to [email protected]? |
Yes, it does. Although because I was using this inside a package, I had to add a compat entry of 4.0 which solved the issue. This forced a downgrade of ForwardDiff and Zygote I think, which I'm perfectly fine with. |
Yeah, that's expected. Those version bumps are still being worked on in SciML. You probably got the older version because some packages were not strict enough with the compat bounds. |
ForwardDiff is still being worked through. I don't think anything is blocking Zygote though? |
Ah, nice. In that case, @RGonTheNoble using |
Adding the compat entry |
I'm getting a method-overwrite error when precompiling the package:
WARNING: Method definition getproperty(SciMLBase.AbstractOptimizationCache, Symbol) in module SciMLBase at /home/user/.julia/packages/SciMLBase/JKXkh/src/solutions/optimization_solutions.jl:136 overwritten in module Optimization at /home/user/.julia/packages/Optimization/fPVIW/src/cache.jl:2.
ERROR: Method overwriting is not permitted during Module precompilation. Use
__precompile__(false)
to opt-out of precompilation.Environment:
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: