emmt / OptimPackNextGen.jl

An almost pure Julia version of OptimPack for numerical optimization with particular focus on large scale problems
Other
12 stars 6 forks source link

Master branch is broken #9

Closed roflmaostc closed 1 year ago

roflmaostc commented 1 year ago

julia> using OptimPackNextGen
[ Info: Precompiling OptimPackNextGen [080ffe24-4a27-4ab0-ad71-7b624e73ef8d]
ERROR: LoadError: ArgumentError: Package OptimPackNextGen does not have Unitless in its dependencies:
- You may have a partially installed environment. Try `Pkg.instantiate()`
  to ensure all packages in the environment are installed.
- Or, if you have OptimPackNextGen checked out for development and have
  added Unitless as a dependency but haven't updated your primary
  environment's manifest file, try `Pkg.resolve()`.
- Otherwise you may need to report an issue with OptimPackNextGen
Stacktrace:
 [1] macro expansion
   @ ./loading.jl:1634 [inlined]
 [2] macro expansion
   @ ./lock.jl:267 [inlined]
 [3] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1611
 [4] include(mod::Module, _path::String)
   @ Base ./Base.jl:457
 [5] include(x::String)
   @ OptimPackNextGen ~/.julia/packages/OptimPackNextGen/S6kF4/src/OptimPackNextGen.jl:15
 [6] top-level scope
   @ ~/.julia/packages/OptimPackNextGen/S6kF4/src/OptimPackNextGen.jl:57
 [7] include
   @ ./Base.jl:457 [inlined]
 [8] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
   @ Base ./loading.jl:2045
 [9] top-level scope
   @ stdin:3
in expression starting at /home/felix/.julia/packages/OptimPackNextGen/S6kF4/src/brent.jl:19
in expression starting at /home/felix/.julia/packages/OptimPackNextGen/S6kF4/src/OptimPackNextGen.jl:15
in expression starting at stdin:3
ERROR: Failed to precompile OptimPackNextGen [080ffe24-4a27-4ab0-ad71-7b624e73ef8d] to "/home/felix/.julia/compiled/v1.9/OptimPackNextGen/jl_pt5wLc".
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:35
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
   @ Base ./loading.jl:2296
 [3] compilecache
   @ ./loading.jl:2163 [inlined]
 [4] _require(pkg::Base.PkgId, env::String)
   @ Base ./loading.jl:1805
 [5] _require_prelocked(uuidkey::Base.PkgId, env::String)
   @ Base ./loading.jl:1660
 [6] macro expansion
   @ ./loading.jl:1648 [inlined]
 [7] macro expansion
   @ ./lock.jl:267 [inlined]
 [8] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1611

``
emmt commented 1 year ago

Sorry for that, this package is under lots of changes and not yet fully functional:

In the mean time, it is better to pin to an older commit or to the last registered version.

roflmaostc commented 1 year ago

Yeah that's what I assumed :)

You don't want to register it yet?

emmt commented 1 year ago

No because it is not yet fully functional...

emmt commented 1 year ago

To install the last registered version, please follow instructions here.

I will nevertheless attempt to discipline myself and make potentially broking changes in a, say, devel branch while leaving master matching the last registered version. Sorry for the mess.