I have a Julia package that uses Optim
with autodiff. I believe because of that Calculus
and DualNumbers
have been part of my environment. I just did a package update and both Calculus
and DualNumbers
were removed, despite the fact that most other packages got minor bumps.
The update included some error messages, and so I am wondering if things just got mangled.
At any rate, Iβm trying to figure out if I have a problem, and what to do about it.
Running Julia 1.7.2 with Revise autoloaded.
Hereβs a partial transcript of the update; unfortunately the dynamic updates to the display wiped some stuff out, like the update command I issued (Julia REPL in VSCode):
(MyFirst) pkg> st
Project MyFirst v0.1.0
Status `J:\Users\rdboylan\Documents\KBD2\MyFirst\Project.toml`
[324d7699] CategoricalArrays v0.10.5
[a93c6f00] DataFrames v1.3.2
[31c24e10] Distributions v0.25.53
[f6369f11] ForwardDiff v0.10.25
[38e38edf] GLM v1.6.2
[d41bc354] NLSolversBase v7.8.2
[86f7a689] NamedArrays v0.9.6
Installed StatsFuns βββββββ v0.9.18
Installed Parsers βββββββββ v2.3.1
Installed Preferences βββββ v1.3.0
Installed ForwardDiff βββββ v0.10.27
Installed StaticArrays ββββ v1.4.4
Installed StatsAPI ββββββββ v1.3.0
Installed GLM βββββββββββββ v1.7.0
Installed LogExpFunctions β v0.3.13
Installed Static ββββββββββ v0.6.2
Installed DataFrames ββββββ v1.3.3
Installed Compat ββββββββββ v3.43.0
Installed Distributions βββ v0.25.54
Updating β Error: Error watching manifest
β exception =
β ArgumentError: invalid type for argument s in method definition for size at C:\Users\rdboylan\.julia\packages\Compat\AuXFf\src\Compat.jl:1141
β Stacktrace:
β [1] top-level scope
β @ C:\Users\rdboylan\.julia\packages\Compat\AuXFf\src\Compat.jl:1141
β Revise evaluation error at C:\Users\rdboylan\.julia\packages\Compat\AuXFf\src\Compat.jl:1141
β
β Stacktrace:
β [1] methods_by_execution!(recurse::Any, methodinfo::Revise.CodeTrackingMethodInfo, docexprs::Dict{Module, Vector{Expr}}, mod::Module, ex::Expr; mode::Symbol, disablebp::Bool, always_rethrow::Bool, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
β @ Revise C:\Users\rdboylan\.julia\packages\Revise\VskYC\src\lowered.jl:227
β @ Revise C:\Users\rdboylan\.julia\packages\Revise\VskYC\src\pkgs.jl:477
`J:\Users\rdboylan\Documents\KBD2\MyFirst\Project.toml`
[a93c6f00] β DataFrames v1.3.2 β v1.3.3
[31c24e10] β Distributions v0.25.53 β v0.25.54
[f6369f11] β ForwardDiff v0.10.25 β v0.10.27
[38e38edf] β GLM v1.6.2 β v1.7.0
Updating `J:\Users\rdboylan\Documents\KBD2\MyFirst\Manifest.toml`
[49dc2e85] - Calculus v0.5.1
[34da2185] β Compat v3.42.0 β v3.43.0
[9a962f9c] β DataAPI v1.9.0 β v1.10.0
[a93c6f00] β DataFrames v1.3.2 β v1.3.3
[b552c78f] β DiffRules v1.10.0 β v1.11.0
[31c24e10] β Distributions v0.25.53 β v0.25.54
[fa6b7ba4] - DualNumbers v0.6.8
[f6369f11] β ForwardDiff v0.10.25 β v0.10.27
[38e38edf] β GLM v1.6.2 β v1.7.0
[34004b35] - HypergeometricFunctions v0.3.8
[2ab3a3ac] β LogExpFunctions v0.3.10 β v0.3.13
[90014a1f] β PDMats v0.11.7 β v0.11.8
[69de0a69] β Parsers v2.2.4 β v2.3.1
[21216c6a] β Preferences v1.2.5 β v1.3.0
[aedffcd0] β Static v0.6.0 β v0.6.2
[90137ffa] β StaticArrays v1.4.3 β v1.4.4
[82ae8749] β StatsAPI v1.2.1 β v1.3.0
[4c63d2b9] β StatsFuns v0.9.17 β v0.9.18
Precompiling project...
Progress [========================================>] 55/55
β Compat
β DataAPI
β StatsAPI
β Preferences
β Missings
β Tables
β PooledArrays
β JLLWrappers
β ChainRulesCore
β DataStructures
β CategoricalArrays
β Rmath_jll
β Compat
β DataAPI
β StatsAPI
β Preferences
β Missings
β Tables
β PooledArrays
β JLLWrappers
β ChainRulesCore
β DataStructures
β CategoricalArrays
β Rmath_jll
β OpenSpecFun_jll
β PrettyTables
β Rmath
β ChangesOfVariables
β LogExpFunctions
β SortingAlgorithms
β StatsBase
β SpecialFunctions
β DataFrames
β StatsFuns
β StatsModels
β RegressionFormulae
55 dependencies successfully precompiled in 43 seconds (38 already precompiled)
24 dependencies precompiled but different versions are currently loaded. Restart julia to access the new versions
[ Info: We haven't cleaned this depot up for a bit, running Pkg.gc()...
Active manifest files: 3 found
Active artifact files: 73 found
Active scratchspaces: 7 found
Deleted 157 package installations (29.334 MiB)