JuliaSmoothOptimizers / LinearOperators.jl

Linear Operators for Julia
Other
149 stars 31 forks source link

ChainRulesCore error #315

Closed dpo closed 5 months ago

dpo commented 5 months ago
(@v1.10) pkg> activate test-lo
  Activating new project at `~/dev/JSO/LinearOperators.jl/test-lo`

(test-lo) pkg> dev .
   Resolving package versions...
ERROR: `LinearOperators=5c8ed15e-5a4c-59e4-a42b-c7e8811fb125` depends on `ChainRulesCore=d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4`, but no such entry exists in the manifest.
geoffroyleconte commented 5 months ago

Revert to my first commit in this PR: https://github.com/JuliaSmoothOptimizers/LinearOperators.jl/pull/312 should fix the issue. Do you still want to keep the test/Project.toml @tmigot ?

dpo commented 5 months ago

Actually, I did


(@v1.10) pkg> activate test-lo
  Activating new project at `~/dev/JSO/LinearOperators.jl/test-lo`

(test-lo) pkg> add ChainRulesCore

(test-lo) pkg> rm ChainRulesCore

(test-lo) pkg> dev .

and it worked. Maybe an issue with the general “manifest”?!

tmigot commented 5 months ago

Hi @dpo @geoffroyleconte ! I am sorry, I cannot really reproduce this on my computer.

We recently #312 did two modifications in the Project.toml:

(test-lo) pkg> activate test-lo
  Activating project at `.julia\dev\LinearOperators.jl\test-lo`

(test-lo) pkg> st
Status `.julia\dev\LinearOperators.jl\test-lo\Project.toml` (empty project)

(test-lo) pkg> dev .
   Resolving package versions...
    Updating `.julia\dev\LinearOperators.jl\test-lo\Project.toml`
  [5c8ed15e] + LinearOperators v2.6.0 `..`
    Updating `.julia\dev\LinearOperators.jl\test-lo\Manifest.toml`
  [14f7f29c] + AMD v0.5.3
  [e2ba6199] + ExprTools v0.1.10
  [9aa1b823] + FastClosures v0.3.2
  [40e66cde] + LDLFactorizations v0.10.1
  [5c8ed15e] + LinearOperators v2.6.0 `..`
  [ae029012] + Requires v1.3.0
  [a759f4b9] + TimerOutputs v0.5.23
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [b77e0a4c] + InteractiveUtils
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [de0858da] + Printf
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [2f01184e] + SparseArrays v1.10.0
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [e66e0078] + CompilerSupportLibraries_jll v1.1.0+0
  [4536629a] + OpenBLAS_jll v0.3.23+4
  [bea87d4a] + SuiteSparse_jll v7.2.1+1
  [8e850b90] + libblastrampoline_jll v5.8.0+1
dpo commented 5 months ago

I might just have been an issue with my local registry. I think we can close this.