Closed homocomputeris closed 7 months ago
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 SimpleNonlinearSolve
to pre 1.0
Remove IntegralsCubature.jl. That was removed awhile ago when packages were made into extensions.
Remove IntegralsCubature.jl. That was removed awhile ago when packages were made into extensions.
Sorry, I have an issue about this too. https://github.com/SciML/SciMLExpectations.jl/issues/152 😅
Okay, it's SciMLExpectations that prevents upgrades eventually preventing precompilation:
pkg> add https://github.com/SciML/SciMLExpectations.jl.git
Cloning git-repo `https://github.com/SciML/SciMLExpectations.jl.git`
Updating git-repo `https://github.com/SciML/SciMLExpectations.jl.git`
Resolving package versions...
Updating `~/Code/test/Project.toml`
⌃ [1dea7af3] ↓ OrdinaryDiffEq v6.70.1 ⇒ v6.58.2
[afe9f18d] + SciMLExpectations v2.1.0 `https://github.com/SciML/SciMLExpectations.jl.git#master`
Updating `~/Code/test/Manifest.toml`
[621f4979] + AbstractFFTs v1.5.0
[4c555306] - ArrayLayouts v1.6.0
[13072b0f] + AxisAlgorithms v1.1.0
[6e4b80f9] + BenchmarkTools v1.4.0
[fa961155] + CEnum v0.5.0
[082447d4] + ChainRules v1.61.0
[d360d2e6] + ChainRulesCore v1.21.1
[523fee87] + CodecBzip2 v0.8.2
[861a8166] + Combinatorics v1.0.2
⌃ [2b5f629d] ↓ DiffEqBase v6.146.1 ⇒ v6.130.0
[77a26b50] + DiffEqNoiseProcess v5.20.1
[b4f34e82] + Distances v0.10.11
[7a1cc6ca] + FFTW v1.8.0
⌃ [0c68f7d7] + GPUArrays v9.1.0
[19dc6840] + HCubature v1.5.1
[7869d1d1] + IRTools v0.4.12
⌅ [de52edbc] + Integrals v3.9.0
[a98d9a8b] + Interpolations v0.15.1
[5ab0869b] + KernelDensity v0.6.8
[929cbde3] + LLVM v6.4.2
[5078a376] - LazyArrays v1.8.3
⌃ [7ed4a6bd] ↓ LinearSolve v2.22.1 ⇒ v2.16.2
[33e6dc65] + MKL v0.6.2
[b8f27783] + MathOptInterface v1.25.2
[a3b82374] - MatrixFactorizations v2.1.0
[bb5d69b7] - MaybeInplace v0.1.1
⌅ [4886b29c] + MonteCarloIntegration v0.0.3
[d8a4904e] + MutableArithmetics v1.4.0
[2774e3e8] + NLsolve v4.5.1
⌅ [8913a72c] ↓ NonlinearSolve v3.5.4 ⇒ v2.1.0
[429524aa] + Optim v1.9.2
⌃ [1dea7af3] ↓ OrdinaryDiffEq v6.70.1 ⇒ v6.58.2
[e409e4f3] + PoissonRandom v0.4.4
[85a6dd25] + PositiveFactorizations v0.2.4
[74087812] + Random123 v1.6.2
[e6cf234a] + RandomNumbers v1.5.3
[c84ed2f1] + Ratios v0.4.5
[c1ae055f] + RealDot v0.1.0
⌅ [731186ca] ↓ RecursiveArrayTools v3.8.0 ⇒ v2.38.10
[ae5879a3] + ResettableStacks v1.1.1
⌅ [0bca4576] ↓ SciMLBase v2.23.2 ⇒ v1.98.1
[afe9f18d] + SciMLExpectations v2.1.0 `https://github.com/SciML/SciMLExpectations.jl.git#master`
[e9a6253c] + SciMLNLSolve v0.1.9
⌅ [727e6d20] ↓ SimpleNonlinearSolve v1.4.1 ⇒ v0.1.23
[dc90abb0] + SparseInverseSubset v0.1.2
[09ab397b] + StructArrays v0.6.17
⌅ [2efcf032] ↓ SymbolicIndexingInterface v0.3.5 ⇒ v0.2.2
[a759f4b9] - TimerOutputs v0.5.23
[efce3f68] + WoodburyMatrices v1.0.0
[e88e6eb3] + Zygote v0.6.69
[700de1a5] + ZygoteRules v0.2.5
[f5851436] + FFTW_jll v3.3.10+0
⌅ [1d5cc7b8] ↓ IntelOpenMP_jll v2024.0.2+0 ⇒ v2023.2.0+0
[dad2f222] + LLVMExtra_jll v0.0.27+1
⌅ [856f044c] ↓ MKL_jll v2024.0.0+0 ⇒ v2023.2.0+0
[9abbd945] + Profile
Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated -m`
Precompiling project...
✗ NonlinearSolve
✗ OrdinaryDiffEq
5 dependencies successfully precompiled in 38 seconds. 330 already precompiled.
2 dependencies errored.
For a report of the errors see `julia> err`. To retry use `pkg> precompile`
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 ✗ OrdinaryDiffEqMinimal 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.
Error & Stacktrace ⚠️
Not Working Environment (please complete the following information):
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()