-
-
Notifications
You must be signed in to change notification settings - Fork 48
NonlinealSolve
does not precompile when using OrdinaryDiffEq
#373
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Try updating to NonlinearSolve v3? |
add NonlinearSolve@3
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package SciMLBase [0bca4576]:
SciMLBase [0bca4576] log:
├─possible versions are: 1.0.0-2.23.2 or uninstalled
├─restricted by compatibility requirements with NonlinearSolve [8913a72c] to versions: 2.9.0-2.23.2
│ └─NonlinearSolve [8913a72c] log:
│ ├─possible versions are: 0.1.0-3.5.4 or uninstalled
│ └─restricted to versions 3 by an explicit requirement, leaving only versions: 3.0.0-3.5.4
└─restricted by compatibility requirements with Integrals [de52edbc] to versions: 1.38.0-1.98.1 — no versions left
└─Integrals [de52edbc] log:
├─possible versions are: 3.0.0-4.1.0 or uninstalled
└─restricted by compatibility requirements with SciMLExpectations [afe9f18d] to versions: 3.1.0-3.9.0
└─SciMLExpectations [afe9f18d] log:
├─possible versions are: 2.0.0-2.1.0 or uninstalled
└─restricted to versions * by an explicit requirement, leaving only versions: 2.0.0-2.1.0 Pkg.add(Pkg.PackageSpec(;name="NonlinearSolve", version="3.5.4"))
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package RecursiveArrayTools [731186ca]:
RecursiveArrayTools [731186ca] log:
├─possible versions are: 0.16.0-3.8.0 or uninstalled
├─restricted by compatibility requirements with SciMLExpectations [afe9f18d] to versions: 2.0.0-2.38.10
│ └─SciMLExpectations [afe9f18d] log:
│ ├─possible versions are: 2.0.0-2.1.0 or uninstalled
│ └─restricted to versions * by an explicit requirement, leaving only versions: 2.0.0-2.1.0
└─restricted by compatibility requirements with NonlinearSolve [8913a72c] to versions: 3.4.0-3.8.0 — no versions left
└─NonlinearSolve [8913a72c] log:
├─possible versions are: 0.1.0-3.5.4 or uninstalled
└─restricted to versions 3.5.4 by an explicit requirement, leaving only versions: 3.5.4
Stacktrace:
[1] propagate_constraints!(graph::Pkg.Resolve.Graph, sources::Set{Int64}; log_events::Bool)
@ Pkg.Resolve ~/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/Resolve/graphtype.jl:1072
[2] propagate_constraints! (repeats 2 times)
@ Pkg.Resolve ~/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/Resolve/graphtype.jl:1008 [inlined]
[3] simplify_graph!(graph::Pkg.Resolve.Graph, sources::Set{Int64}; clean_graph::Bool)
@ Pkg.Resolve ~/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/Resolve/graphtype.jl:1533
[4] simplify_graph! (repeats 2 times)
@ Pkg.Resolve ~/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/Resolve/graphtype.jl:1532 [inlined]
[5] resolve_versions!(env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, pkgs::Vector{Pkg.Types.PackageSpec}, julia_version::VersionNumber, installed_only::Bool)
@ Pkg.Operations ~/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:407
[6] targeted_resolve(env::Pkg.Types.EnvCache, registries::Vector{…}, pkgs::Vector{…}, preserve::Pkg.Types.PreserveLevel, julia_version::VersionNumber)
@ Pkg.Operations ~/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:1360
[7] tiered_resolve(env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, pkgs::Vector{Pkg.Types.PackageSpec}, julia_version::VersionNumber, try_all_installed::Bool)
@ Pkg.Operations ~/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:1349
[8] _resolve(io::Base.TTY, env::Pkg.Types.EnvCache, registries::Vector{…}, pkgs::Vector{…}, preserve::Pkg.Types.PreserveLevel, julia_version::VersionNumber)
@ Pkg.Operations ~/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:1370
[9] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, new_git::Set{Base.UUID}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform)
@ Pkg.Operations ~/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:1387
[10] add
@ Pkg.Operations ~/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:1376 [inlined]
[11] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::@Kwargs{io::Base.TTY})
@ Pkg.API ~/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/API.jl:278
[12] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{})
@ Pkg.API ~/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/API.jl:159
[13] add(pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.API ~/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/API.jl:148
[14] add(pkg::Pkg.Types.PackageSpec)
@ Pkg.API ~/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/API.jl:146
[15] top-level scope
@ REPL[5]:1
Some type information was truncated. Use `show(err)` to see complete types. |
Something is holding back |
Remove IntegralsCubature.jl. That was removed awhile ago when packages were made into extensions. |
Sorry, I have an issue about this too. SciML/SciMLExpectations.jl#152 😅 Okay, it's SciMLExpectations that prevents upgrades eventually preventing precompilation:
|
Is there a way to make it work until SciMLExpectations are updated for Integrals 4? |
Describe the example
NonlinealSolve
does not precompile whenusing OrdinaryDiffEq
after]update
✗ NonlinearSolve
✗ OrdinaryDiffEq
Minimal Reproducible Example 👇
Without MRE, we would only be able to help you to a limited extent, and attention to the issue would be limited. to know more about MRE refer to wikipedia and stackoverflow.
using OrdinaryDiffEq
Error & Stacktrace⚠️
Not Working Environment (please complete the following information):
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
The text was updated successfully, but these errors were encountered: