Code Monkey home page Code Monkey logo

optimbase.jl's People

Contributors

bjarthur avatar chrisrackauckas avatar github-actions[bot] avatar nicholaswmritchie avatar pkofod avatar tkelman avatar yuyichao avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

optimbase.jl's Issues

Remove final deprecations for 0.7

(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

Reexport v0.2 compatibility requirement causing issues with other packages

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

update Compat requirements

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.