JuliaImages / ImageFiltering.jl

Julia implementations of multidimensional array convolution and nonlinear stencil operations
Other
99 stars 49 forks source link

No feasible version could be found for package: ImageFiltering #26

Closed randyzwitch closed 6 years ago

randyzwitch commented 7 years ago

Got this while running Pkg.update() on v0.5.2-pre+1, unfortunately not sure which package is causing the error:

julia> Pkg.update()
INFO: Updating METADATA...
INFO: Updating cache of BufferedStreams...
INFO: Updating cache of Images...
INFO: Updating cache of Libz...
INFO: Updating cache of Media...
INFO: Updating cache of ColorTypes...
INFO: Updating cache of GLAbstraction...
INFO: Updating cache of MbedTLS...
INFO: Updating cache of Gadfly...
INFO: Updating cache of BinDeps...
INFO: Updating cache of Blink...
INFO: Updating cache of AxisAlgorithms...
INFO: Updating cache of ZMQ...
INFO: Updating cache of StatsBase...
INFO: Updating cache of IJulia...
INFO: Updating cache of Graphics...
INFO: Updating cache of MacroTools...
INFO: Updating cache of URIParser...
INFO: Updating cache of LineSearches...
INFO: Updating cache of GeometryTypes...
INFO: Updating cache of DataFrames...
INFO: Updating cache of GLVisualize...
INFO: Updating cache of Distributions...
INFO: Updating cache of GLWindow...
INFO: Updating cache of Atom...
INFO: Updating cache of DataArrays...
INFO: Updating cache of ForwardDiff...
INFO: Updating cache of Conda...
INFO: Updating cache of DiffBase...
INFO: Updating cache of Compose...
INFO: Updating cache of ColorVectorSpace...
INFO: Updating cache of FixedPointNumbers...
INFO: Updating cache of FileIO...
INFO: Updating cache of VT100...
INFO: Updating cache of Juno...
INFO: Updating cache of Compat...
INFO: Updating cache of Mux...
INFO: Updating cache of SHA...
INFO: Updating cache of Iterators...
INFO: Updating cache of JSON...
INFO: Updating cache of WoodburyMatrices...
INFO: Updating cache of AbstractTrees...
INFO: Updating cache of Homebrew...
INFO: Updating cache of YAML...
INFO: Updating cache of Interpolations...
INFO: Updating cache of Codecs...
INFO: Updating cache of StatsFuns...
INFO: Updating cache of KernelDensity...
INFO: Updating cache of ArrayFire...
INFO: Updating cache of Distances...
INFO: Updating cache of FreeType...
INFO: Updating cache of Colors...
INFO: Updating cache of DataStructures...
INFO: Updating cache of GLFW...
INFO: Updating cache of Optim...
INFO: Updating cache of SortingAlgorithms...
INFO: Updating cache of Calculus...
INFO: Updating cache of Requests...
INFO: Updating cache of FunctionalCollections...
INFO: Updating cache of PDMats...
INFO: Updating cache of PositiveFactorizations...
INFO: Updating cache of Nettle...
INFO: Updating cache of Reactive...
INFO: Updating cache of DualNumbers...
INFO: Updating JuliaParser master... b62e117a → f15bb47f
WARNING: Package Vega: skipping update (dirty)...
INFO: Updating UAParser master...
INFO: Updating GLPlot master... f52a32e7 → 4972cde4
INFO: Updating LogParser master...
INFO: Updating ECharts master... 7fc12d63 → f78ab311
INFO: Updating NoveltyColors master...
INFO: Computing changes...
ERROR: unsatisfiable package requirements detected: no feasible version could be found for package: ImageFiltering
  (you may try increasing the value of the
   JULIA_PKGRESOLVE_ACCURACY environment variable)
 in resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}) at ./pkg/resolve.jl:37
 in resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}, ::Dict{String,VersionNumber}, ::Set{String}) at ./pkg/entry.jl:495
 in update(::String, ::Set{String}) at ./pkg/entry.jl:458
 in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#update,Tuple{String,Set{String}}})() at ./pkg/dir.jl:31
 in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#update,Tuple{String,Set{String}}}, ::String) at ./file.jl:59
 in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#update,Tuple{String,Set{String}}}, ::String) at /Users/rzwitc200/julia/usr/lib/julia/sys.dylib:?
 in #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{Any,N}) at ./pkg/dir.jl:31
 in update() at ./pkg/pkg.jl:210
julia> Pkg.status()
14 required packages:
 - ArrayFire                     0.0.3
 - Atom                          0.5.8
 - GLPlot                        0.0.5+             master
 - GLVisualize                   0.1.2
 - Gadfly                        0.5.2
 - IJulia                        1.3.3
 - Interact                      0.4.3
 - LogParser                     0.3.0+             master
 - Parameters                    0.6.0
 - Patchwork                     0.3.0
 - RDatasets                     0.2.0
 - Twitter                       0.3.0
 - UAParser                      0.4.0+             master
 - Vega                          0.6.6-             master (dirty)
109 additional packages:
 - ASTInterpreter                0.0.4
 - AbstractTrees                 0.0.4
 - ArgParse                      0.4.0
 - AxisAlgorithms                0.1.5
 - Benchmark                     0.1.0
 - BinDeps                       0.4.5
 - Blink                         0.5.0
 - BufferedStreams               0.2.1
 - COFF                          0.0.2
 - CRC                           1.2.0
 - Calculus                      0.1.15
 - CodeTools                     0.4.3
 - Codecs                        0.2.0
 - ColorBrewer                   0.3.0
 - ColorTypes                    0.2.12
 - ColorVectorSpace              0.1.12
 - Colors                        0.6.9
 - Compat                        0.12.0
 - Compose                       0.4.4
 - Conda                         0.4.0
 - Contour                       0.2.0
 - DWARF                         0.1.0
 - DataArrays                    0.3.11
 - DataFrames                    0.8.5
 - DataStructures                0.5.1
 - Dates                         0.4.4
 - DiffBase                      0.0.2
 - Distances                     0.3.2
 - Distributions                 0.11.1
 - DualNumbers                   0.2.3
 - ECharts                       0.0.0-             master (unregistered)
 - ELF                           0.1.0
 - FactCheck                     0.4.3
 - FileIO                        0.2.1
 - FixedPointNumbers             0.2.1
 - FixedSizeArrays               0.2.5
 - ForwardDiff                   0.3.3
 - FreeType                      1.1.0
 - FunctionalCollections         0.2.0
 - GLAbstraction                 0.2.1
 - GLFW                          1.2.1
 - GLWindow                      0.2.1
 - GZip                          0.2.20
 - Gallium                       0.0.4
 - GeometryTypes                 0.2.1
 - Graphics                      0.1.3
 - Hexagons                      0.0.4
 - Hiccup                        0.1.1
 - Homebrew                      0.4.2
 - HttpCommon                    0.2.6
 - HttpParser                    0.2.0
 - HttpServer                    0.1.7
 - Images                        0.5.14
 - Interpolations                0.3.6
 - Iterators                     0.2.0
 - JSON                          0.8.1
 - JuliaParser                   0.7.4+             master
 - Juno                          0.2.5
 - KernelDensity                 0.3.0
 - LNR                           0.0.2
 - Lazy                          0.11.5
 - Libz                          0.2.2
 - LineSearches                  0.1.4
 - Loess                         0.1.0
 - MachO                         0.0.4
 - MacroTools                    0.3.4
 - MbedTLS                       0.4.2
 - Measures                      0.0.3
 - Media                         0.2.4
 - MeshIO                        0.0.6
 - ModernGL                      0.1.1
 - Mustache                      0.1.3
 - Mux                           0.2.2
 - NIfTI                         0.1.1
 - NaNMath                       0.2.2
 - Nettle                        0.2.4
 - NoveltyColors                 0.3.0              master
 - OAuth                         0.4.1
 - ObjFileBase                   0.0.4
 - Optim                         0.7.4
 - PDMats                        0.5.3
 - Packing                       0.0.4
 - PositiveFactorizations        0.0.3
 - Quaternions                   0.1.1
 - RData                         0.0.4
 - Ratios                        0.0.4
 - Reactive                      0.3.6
 - Reexport                      0.0.3
 - Requests                      0.3.12
 - Rmath                         0.1.6
 - SHA                           0.3.0
 - SIUnits                       0.1.0
 - Showoff                       0.0.7
 - SignedDistanceFields          0.1.0
 - SortingAlgorithms             0.1.0
 - StatsBase                     0.12.0
 - StatsFuns                     0.3.1
 - StructIO                      0.0.2
 - TerminalUI                    0.0.2
 - TexExtensions                 0.0.3
 - TextWrap                      0.1.6
 - URIParser                     0.1.7
 - UnicodeFun                    0.0.2
 - VT100                         0.0.2
 - WebSockets                    0.2.1
 - WoodburyMatrices              0.2.1
 - YAML                          0.1.10
 - ZMQ                           0.4.0
 - Zlib                          0.1.12
abieler commented 7 years ago

Had the same issue. Pkg.checkout("Images") solved it for me. I am on v0.5.0 though.

timholy commented 7 years ago

Sorry I failed to notice this earlier, @randyzwitch.

CC @tkelman. I thought the resolver got improved in 0.5.1?

tkelman commented 7 years ago

It did, but it can't do its job if you check things out to master. Probably due to GLPlot here. Can it be reproduced with packages all on release versions?

timholy commented 7 years ago

GLPlot doesn't pin versions:

tim@diva:~/.julia/v0.5/METADATA/GLPlot/versions$ grep -r Images *
0.0.1/requires:Images
0.0.2/requires:Images
0.0.3/requires:Images
0.0.4/requires:Images
0.0.5/requires:Images
tim@diva:~/.julia/v0.5/METADATA/GLPlot/versions$ 
tkelman commented 7 years ago

Maybe one of the other packages at releases then, if they haven't had a new-Images-compatible release yet

timholy commented 7 years ago

Which packages still haven't released new-Images compatible versions?

I'll remind you of my concern about putting in upper bounds when we lack convenient tools to tell us where the conflict is coming from.

tkelman commented 7 years ago

0.6 has better reporting on this, but that's not entirely backportable

tkelman commented 7 years ago

see also https://github.com/JuliaLang/julia/issues/20313#issuecomment-289199920 - so if adjusting the resolver accuracy fixes this and it can't be reproduced with the 0.6 pkg code, then it's a case that was possibly fixed by the second resolver PR but not the first

tkelman commented 7 years ago

If your concern about bounds is strong enough, then there's always the option of making major breaking changes to a widely used package via a new package name that can be installed at the same time, rather than in-place breaking changes which can't. It's doing things in-place that either puts a big divide through the space of available versions that forces the resolver to be entirely on one side or the other, or are very disruptive to downstream packages by breaking them by default.

timholy commented 7 years ago

All good points. In this case, I really want to keep the name Images.jl though, since there's both a large installed base and a lot of references to that name out in the wild of the internet.

If we could drop the upper bounds on the grounds that packages have had the opportunity to release new-Images compatible versions, I would be happy. But I would understand if you don't want to do that, or if you think there hasn't yet been enough time. Which packages still have active upper bounds on their latest versions?

In any event, rest assured I'll keep you informed about such issues as they get reported :wink:.

tkelman commented 7 years ago

Just ImageQuilting, w.r.t Images upper bounds. Should also check FixedPointNumbers.

juliohm commented 6 years ago

Is this issue still valid @randyzwitch?

randyzwitch commented 6 years ago

Not to me