Closed sarkispa closed 1 year ago
There's probably some outdated dependencies in your environment, can you ]up
and try
Sure, here was the status of ADTypes:
pkg> st -m ADTypes
Status `C:\Users\paolo\Dropbox\Experiments-CMS\Manifest.toml`
[47edcb42] ADTypes v0.1.6
I also updated all packages following what you said but only Distributions was to be updated. This still led to warnings which might be linked?:
pkg> up
Updating registry at `C:\Users\paolo\.julia\registries\General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Installed Distributions ─ v0.25.100
Updating `C:\Users\paolo\Dropbox\Experiments-CMS\Project.toml`
[31c24e10] ↑ Distributions v0.25.99 ⇒ v0.25.100
Updating `C:\Users\paolo\Dropbox\Experiments-CMS\Manifest.toml`
[31c24e10] ↑ Distributions v0.25.99 ⇒ v0.25.100
Precompiling project...
55 dependencies successfully precompiled in 250 seconds. 612 already precompiled.
3 dependencies had warnings during precompilation:
┌ Symbolics [0c5d862f-8b57-4792-8d23-62f2024744c7]
│ WARNING: Method definition isapprox(IntervalSets.AbstractInterval{T} where T, IntervalSets.AbstractInterval{T} where T) in module IntervalSets at C:\Users\paolo\.julia\packages\IntervalSets\6RTOk\src\IntervalSets.jl:144 overwritten in module DomainSets at C:\Users\paolo\.julia\packages\DomainSets\aafhp\src\domains\interval.jl:52.
│ ** incremental compilation may be fatally broken for this module **
└
┌ ModelingToolkit [961ee093-0014-501f-94e3-6117800e7a78]
│ WARNING: Method definition isapprox(IntervalSets.AbstractInterval{T} where T, IntervalSets.AbstractInterval{T} where T) in module IntervalSets at C:\Users\paolo\.julia\packages\IntervalSets\6RTOk\src\IntervalSets.jl:144 overwritten in module DomainSets at C:\Users\paolo\.julia\packages\DomainSets\aafhp\src\domains\interval.jl:52.
│ ** incremental compilation may be fatally broken for this module **
└
┌ OptimizationMTKExt [25f2e3d8-7e69-51be-9405-bb8b65e6479a]
│ WARNING: Method definition isapprox(IntervalSets.AbstractInterval{T} where T, IntervalSets.AbstractInterval{T} where T) in module IntervalSets at C:\Users\paolo\.julia\packages\IntervalSets\6RTOk\src\IntervalSets.jl:144 overwritten in module DomainSets at C:\Users\paolo\.julia\packages\DomainSets\aafhp\src\domains\interval.jl:52.
│ ** incremental compilation may be fatally broken for this module **
└
The error described above remains.
Ok I fixed it by cleaning my environment thoroughly and removing packages that I was not using. Then updating all packages, resolving and precompiling. Seems to work fine. Sorry for the bother, closing the issue now.
No worries 👍
I was trying to run an optimization script after moving from julia 1.6 to the current release (1.9.2) and stumbled upon an error while using AutoZygote. I can't run the following example from the documentation:
I get the following error message:
I looked around in the issues and could find related issue #546 but I did not understand what the local fix was (also version is different).
My version info: