julianlsolvers / optimbase.jl Goto Github PK
View Code? Open in Web Editor NEWBase functionality for Optim.jl and related packages
License: Other
Base functionality for Optim.jl and related packages
License: Other
(this is on 0.7, but fails on 1.0 because the deprecations are errors)
julia> using LsqFit
[ Info: Precompiling LsqFit [2fda8390-95c7-5789-9bda-21331edee243]
┌ Warning: Deprecated syntax `immutable` at C:\Users\datseris\.julia\packages\OptimBase\R2O5F\src\types.jl:6.
│ Use `struct` instead.
└ @ C:\Users\datseris\.julia\packages\OptimBase\R2O5F\src\types.jl:6
┌ Warning: Deprecated syntax `immutable` at C:\Users\datseris\.julia\packages\OptimBase\R2O5F\src\types.jl:52.
│ Use `struct` instead.
└ @ C:\Users\datseris\.julia\packages\OptimBase\R2O5F\src\types.jl:52
┌ Warning: Deprecated syntax `type` at C:\Users\datseris\.julia\packages\OptimBase\R2O5F\src\types.jl:79.
│ Use `mutable struct` instead.
└ @ C:\Users\datseris\.julia\packages\OptimBase\R2O5F\src\types.jl:79
┌ Warning: Deprecated syntax `type` at C:\Users\datseris\.julia\packages\OptimBase\R2O5F\src\types.jl:93.
│ Use `mutable struct` instead.
└ @ C:\Users\datseris\.julia\packages\OptimBase\R2O5F\src\types.jl:93
WARNING: importing deprecated binding Base.@printf into OptimBase.
WARNING: Base.@printf is deprecated: it has been moved to the standard library package `Printf`.
Add `using Printf` to your imports.
likely near C:\Users\datseris\.julia\packages\OptimBase\R2O5F\src\types.jl:2
WARNING: importing deprecated binding Base.Void into OptimBase.
WARNING: Base.Void is deprecated, use Nothing instead.
likely near C:\Users\datseris\.julia\packages\OptimBase\R2O5F\src\types.jl:6
WARNING: Base.Void is deprecated, use Nothing instead.
likely near C:\Users\datseris\.julia\packages\OptimBase\R2O5F\src\types.jl:6
WARNING: Base.Void is deprecated, use Nothing instead.
likely near C:\Users\datseris\.julia\packages\OptimBase\R2O5F\src\types.jl:6
WARNING: Base.@printf is deprecated: it has been moved to the standard library package `Printf`.
Add `using Printf` to your imports.
likely near C:\Users\datseris\.julia\packages\OptimBase\R2O5F\src\types.jl:46
WARNING: Base.@printf is deprecated: it has been moved to the standard library package `Printf`.
Add `using Printf` to your imports.
likely near C:\Users\datseris\.julia\packages\OptimBase\R2O5F\src\types.jl:58
WARNING: Base.@printf is deprecated: it has been moved to the standard library package `Printf`.
Add `using Printf` to your imports.
likely near C:\Users\datseris\.julia\packages\OptimBase\R2O5F\src\types.jl:58
WARNING: Base.@printf is deprecated: it has been moved to the standard library package `Printf`.
Add `using Printf` to your imports.
likely near C:\Users\datseris\.julia\packages\OptimBase\R2O5F\src\types.jl:69
WARNING: Base.@printf is deprecated: it has been moved to the standard library package `Printf`.
Add `using Printf` to your imports.
likely near C:\Users\datseris\.julia\packages\OptimBase\R2O5F\src\types.jl:69
Hello! I recently tried to use the package LsqFit
(which has OptimBase
as a dependency) alongside the package SatelliteToolbox.jl
and encountered an unsatisfiable requirement error for the package Reexport
. I posted a longer comment on an issue in SatelliteToolbox
(JuliaSpace/SatelliteToolbox.jl#51 (comment)) but the issue is below:
(@v1.6) pkg> add [email protected]
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Reexport [189a3867]:
Reexport [189a3867] log:
├─possible versions are: 0.2.0-1.0.0 or uninstalled
├─restricted by compatibility requirements with SatelliteToolbox [6ac157d9] to versions: 1.0.0
│ └─SatelliteToolbox [6ac157d9] log:
│ ├─possible versions are: 0.3.0-0.8.0 or uninstalled
│ └─restricted to versions 0.8.0 by an explicit requirement, leaving only versions 0.8.0
...
Both OptimBase
and SatelliteToolbox
have requirements for particular versions of Reexport
, and OptimBase
's required version is older. Would the OptimBase
team consider updating to the new (Jan 4, 2021), 1.0.0 stable release of Reexport
over the current 0.2.0 (Aug 7, 2018) version? I imagine there are other packages that could encounter this same compatibility problem so I'm sure updating Reexport
would solve the same problem for a lot of other users as well. The diff between the the 0.2.0 and 1.0.0 versions looks pretty small (see here, so I would hope it's a relatively minor update to make the OptimBase. I actually see that @NicholasWMRitchie has a PR open for this already on #15, so merging that might do the trick.
Thanks for maintaining this great project!
-Thatcher
i can't install LsqFit alongside Optim master because LsqFit requires OptimBase and OptimBase requires Compat 0.18 and Optim requires Compat 3.2-3.6. is this package actually still required by LsqFit? it hasn't been updated in years.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.