Okay, here is the same thing but from my METADATA.
Code:
metadata_dir = "/home/tim/.julia/v0.4/METADATA"
for (pkg, version) in Pkg.installed()
reqfile = joinpath(metadata_dir, pkg, "versions", string(version),
"requires")
if isfile(reqfile)
lines = open(readlines, reqfile)
println("#"^20)
println(pkg)
for line in lines
print(line)
end
println("")
end
end
On Tuesday, September 6, 2016 at 11:17:28 AM UTC-7, Tony Kelman wrote:
>
> I hate to have to say "RTFM" about this so often, but see
> http://docs.julialang.org/en/release-0.4/manual/strings/#version-number-literals.
>
> The trailing dash means including prereleases of the given version.
> (Considering how unintuitive this is we should probably transition to
> something clearer when we redesign Pkg.) The first number given is an
> inclusive lower bound, and if a second number is given then it's an
> exclusive upper bound.
>
> I see a few packages applying upper bounds to ForwardDiff, and a few to
> MathProgBase and ReverseDiffSparse. I may have missed something (were these
> taken from METADATA or the package directory? It should be the former,
> sorry if I didn't say as much - METADATA can be changed after-the-fact but
> tagged package content can't) but those don't look like they would conflict.
>
> On Tuesday, September 6, 2016 at 10:03:27 AM UTC-7, Tim Wheeler wrote:
>>
>> I wrote the script and put the output in the attached file.
>>
>> I assume that the '-' at the end of a dep is an upperbound?
>>
>> On Tuesday, September 6, 2016 at 9:35:46 AM UTC-7, Tim Wheeler wrote:
>>>
>>> Ok, will do!
>>>
>>> On Tuesday, September 6, 2016 at 9:31:25 AM UTC-7, Tony Kelman wrote:
>>>>
>>>> There's a bug somewhere with that error message, I've seen it points at
>>>> the wrong package. If we can come up with a reproducible test case here
>>>> it'll help for fixing the bug and making that message more useful.
>>>>
>>>> It's almost certainly not Compat (I don't think anyone has ever added
>>>> an upper bound to a Compat dependency). Perhaps loop over Pkg.installed()
>>>> and display the contents of the REQUIRE file for the specific tags you
>>>> have
>>>> currently installed, see who is upper-bounding each other? We do need
>>>> better tools for debugging this kind of thing to make it easier to figure
>>>> out what the dependency resolver is doing, which bound constraints are
>>>> active etc.
>>>>
>>>>
>>>> On Tuesday, September 6, 2016 at 9:25:53 AM UTC-7, Tim Wheeler wrote:
>>>>>
>>>>> Okay - I removed GaussianMixtures and now it is complaining about
>>>>> Compat.
>>>>>
>>>>> ERROR: unsatisfiable package requirements detected: no feasible
>>>>> version could be found for package: Compat
>>>>>
>>>>> I wrote a script to run through all package REQUIRE files and print
>>>>> out the Compat line, if any. None of these found anything specifying an
>>>>> upper-bound.
>>>>>
>>>>> I would like to find the offending packages. Is there a good way to go
>>>>> about doing this?
>>>>>
>>>>> Thank you.
>>>>>
>>>>> ArgParse: Compat 0.7.3
>>>>> ArrayViews: Compat
>>>>> AutomotiveDrivingModels: Compat 0.8
>>>>> AxisAlgorithms: Compat 0.8
>>>>> BayesNets: Compat
>>>>> BinDeps: Compat 0.8.4
>>>>> Blink: Compat 0.8.6
>>>>> Blosc: Compat 0.8
>>>>> BufferedStreams: Compat 0.8.4
>>>>> Cairo: Compat 0.8.0
>>>>> Calculus: Compat 0.4.0
>>>>> Codecs: Compat 0.7.20
>>>>> Colors: Compat 0.8.0
>>>>> Compose: Compat 0.8.0
>>>>> Conda: Compat 0.8
>>>>> ConjugatePriors: Compat 0.4.0
>>>>> Contour: Compat 0.8.0
>>>>> DataArrays: Compat 0.8.6
>>>>> DataFrames: Compat 0.8
>>>>> Debug: Compat
>>>>> Discretizers: Compat
>>>>> Distances: Compat 0.8.4
>>>>> Distributions: Compat 0.4.0
>>>>> Docile: Compat 0.7.1
>>>>> FastAnonymous: Compat
>>>>> FileIO: Compat 0.7.19
>>>>> FixedPointNumbers: Compat 0.7.14
>>>>> FixedSizeArrays: Compat 0.8.7
>>>>> Formatting: Compat
>>>>> ForwardDiff: Compat 0.8.6
>>>>> Gadfly: Compat 0.8.5
>>>>> Glob: Compat
>>>>> Graphs: Compat 0.7.16
>>>>> Gtk: Compat 0.8.0
>>>>> GtkUtilities: Compat 0.7.16
>>>>> GZip: Compat 0.8.0
>>>>> HDF5: Compat 0.8.0
>>>>> Hexagons: Compat
>>>>> Hiccup: Compat 0.8.2
>>>>> HttpCommon: Compat 0.7.20
>>>>> HttpParser: Compat 0.7.20
>>>>> HttpServer: Compat 0.7.16
>>>>> IJulia: Compat 0.7.20
>>>>> ImageMagick: Compat 0.7.7
>>>>> Images: Compat 0.8.4
>>>>> ImageView: Compat 0.4.6
>>>>> IniFile: Compat 0.7.4
>>>>> Interact: Compat 0.7
>>>>> Interpolations: Compat 0.8.0
>>>>> Ipopt: Compat 0.8.0
>>>>> Iterators: Compat
>>>>> JLD: Compat 0.8.0
>>>>> JSON: Compat 0.8.4
>>>>> JuMP: Compat 0.8.6
>>>>> KernelDensity: Compat
>>>>> LaTeXStrings: Compat 0.8.0
>>>>> Lazy: Compat 0.8.0
>>>>> LegacyStrings: Compat 0.8.4
>>>>> Libz: Compat 0.8.0
>>>>> LightXML: Compat 0.8.3
>>>>> Lint: Compat 0.8.2
>>>>> Loess: Compat 0.8.4
>>>>> MacroTools: Compat
>>>>> MathProgBase: Compat 0.7.13
>>>>> MbedTLS: Compat 0.8.0
>>>>> MLBase: Compat
>>>>> MultivariateStats: Compat 0.8.4
>>>>> Mustache: Compat 0.7.18
>>>>> NBInclude: Compat 0.7.9
>>>>> Nettle: Compat 0.8.0
>>>>> NLopt: Compat 0.8
>>>>> Optim: Compat 0.8.4
>>>>> ParserCombinator: Compat 0.7.12
>>>>> PDMats: Compat
>>>>> PGFPlots: Compat 0.8.0
>>>>> PlotlyJS: Compat 0.7.16
>>>>> Plots: Compat
>>>>> PositiveFactorizations: Compat 0.8.4
>>>>> ProfileView: Compat 0.8.0
>>>>> PyCall: Compat 0.7.1
>>>>> PyPlot: Compat 0.4
>>>>> Ratios: Compat
>>>>> RDatasets: Compat
>>>>> Reactive: Compat
>>>>> Reel: Compat
>>>>> Requests: Compat 0.8.0
>>>>> ReverseDiffSparse: Compat 0.8.6
>>>>> SHA: Compat 0.7.9
>>>>> Showoff: Compat
>>>>> SIUnits: Compat
>>>>> SortingAlgorithms: Compat 0.8.4
>>>>> StatsBase: Compat 0.8.4
>>>>> StatsFuns: Compat 0.7.18
>>>>> Sundials: Compat
>>>>> SymPy: Compat 0.4
>>>>> TexExtensions: Compat
>>>>> TextWrap: Compat 0.7.15
>>>>> TikzGraphs: Compat
>>>>> TikzPictures: Compat 0.8.0
>>>>> Tk: Compat 0.4.6
>>>>> URIParser: Compat 0.8.0
>>>>> VideoIO: Compat 0.8.7
>>>>> WebSockets: Compat 0.7.16
>>>>> Winston: Compat 0.4.4
>>>>> WoodburyMatrices: Compat
>>>>> Zlib: Compat
>>>>> ZMQ: Compat 0.8.0
>>>>>
>>>>>
>>>>>
>>>>> On Tuesday, September 6, 2016 at 8:40:37 AM UTC-7, Chris Rackauckas
>>>>> wrote:
>>>>>>
>>>>>> Maybe one of its dependencies has a maximum version requirement?
>>>>>>
>>>>>> On Tuesday, September 6, 2016 at 8:38:01 AM UTC-7, Tim Wheeler wrote:
>>>>>>>
>>>>>>> Okay, this is a little weird.
>>>>>>>
>>>>>>> If I run the following it looks like the culprit is a dirty package:
>>>>>>>
>>>>>>> julia> Pkg.checkout("Distributions")
>>>>>>> INFO: Checking out Distributions master...
>>>>>>> INFO: Pulling Distributions latest master...
>>>>>>> WARNING: Distributions is fixed at 0.10.1+ conflicting with
>>>>>>> requirement for GaussianMixtures: [0.0.0,0.10.0)
>>>>>>>
>>>>>>> The weird thing is that the REQUIRE file for GaussianMixtures does
>>>>>>> not mention the 0.10.1+
>>>>>>>
>>>>>>> julia 0.3
>>>>>>> Clustering
>>>>>>> Distributions
>>>>>>> PDMats
>>>>>>> Compat
>>>>>>> JLD
>>>>>>>
>>>>>>> Where does that come from?
>>>>>>>
>>>>>>>
>>>>>>> On Tuesday, September 6, 2016 at 8:31:44 AM UTC-7, Tim Wheeler wrote:
>>>>>>>>
>>>>>>>> Hi Julia Users,
>>>>>>>>
>>>>>>>> I just noticed something a little weird. I am using
>>>>>>>> Distributions.jl (great package btw) in Julia 0.4.6 on Ubuntu, and it
>>>>>>>> is
>>>>>>>> listed in Pkg.status() as a required package:
>>>>>>>>
>>>>>>>> Distributions 0.8.9
>>>>>>>>
>>>>>>>> I checked on METADATA and on the Distributions.jl github - there is
>>>>>>>> a more recent version. In fact, there are several more recent versions.
>>>>>>>>
>>>>>>>> I ran Pkg.update(), which updated some things but did not change
>>>>>>>> Distributions.jl. Am I missing something? Is there some package that
>>>>>>>> requires Distributions be less-than-current?
>>>>>>>>
>>>>>>>> Thank you,
>>>>>>>> -Tim
>>>>>>>>
>>>>>>>
####################
Libz
julia 0.4
Compat 0.8.0
BufferedStreams 0.1.1
####################
Interact
julia 0.4
JSON
Compat 0.7
Reactive 0.3
DataStructures 0.2.10
####################
ForwardDiff
julia 0.4
Compat 0.8.6
Calculus
NaNMath
####################
Gtk
julia 0.4
Cairo 0.2.2
Graphics 0.1
BinDeps
@windows WinRPM
@osx Homebrew
Compat 0.8.0
####################
AxisAlgorithms
julia 0.4
WoodburyMatrices
Compat 0.8
####################
Graphs
julia 0.4
DataStructures 0.3.8
Compat 0.7.16
####################
LegacyStrings
julia 0.4
Compat 0.8.4
####################
Lazy
MacroTools
julia 0.4
Compat 0.8.0
####################
TextWrap
julia 0.3
Compat 0.7.15
####################
Tk
julia 0.3
Compat 0.4.6
Cairo
Graphics 0.1
BinDeps 0.2.2-
@windows WinRPM
####################
FastAnonymous
julia 0.4-
Compat
Debug
####################
ZMQ
julia 0.3
BinDeps 0.3.21
@osx Homebrew
Compat 0.8.0
@windows WinRPM
####################
ArrayViews
julia 0.3
Compat
####################
SymPy
julia 0.3
Compat 0.4
PyCall 0.8.0
Conda
Docile 0.4
Requires
Plots
####################
DataStructures
julia 0.4
####################
ColorVectorSpace
julia 0.4
ColorTypes 0.2
FixedPointNumbers 0.1
####################
Compat
julia 0.4
####################
ImageMagick
julia 0.4
FixedPointNumbers 0.1
ColorTypes 0.2
FileIO
Images
Compat 0.8.4
@osx Homebrew
BinDeps
####################
Calculus
julia 0.3.7
Compat 0.4.0
####################
GZip
julia 0.3
Compat 0.8.0
####################
MathProgBase
julia 0.4
Compat 0.7.13
####################
Lint
julia 0.4
Compat 0.8.2
####################
Measures
julia 0.4
Compat 0.7.15
####################
Glob
julia 0.3
Compat
####################
RecipesBase
julia 0.4
####################
Cairo
julia 0.3
Compat 0.8.0
Colors
BinDeps 0.3.21
Graphics 0.1
@osx Homebrew
@windows WinRPM
####################
HttpParser
julia 0.4
HttpCommon
BinDeps
Compat 0.7.20
####################
DataFrames
julia 0.4
DataArrays 0.3.4
StatsBase 0.8.3
GZip
SortingAlgorithms
Reexport
Compat 0.8.4
FileIO 0.1.2
####################
Requests
julia 0.4
HttpCommon 0.2.4
HttpParser
URIParser 0.1.1
MbedTLS 0.2.1
Codecs
JSON
Libz
Compat 0.8.0
####################
StatsFuns
julia 0.3
Compat 0.7.18
####################
CrossfilterCharts
julia 0.4
DataFrames 0.7.0
####################
PlotlyJS
julia 0.4
JSON 0.7
Blink 0.3.3
Colors
Compat 0.7.16
LaTeXStrings
####################
Requires
julia 0.4
MacroTools
####################
Blosc
BinDeps
julia 0.3
Compat 0.8
####################
ArgParse
julia 0.3
Compat 0.8.0
TextWrap 0.1.4
####################
TikzPictures
julia 0.4
LaTeXStrings
Compat 0.8.0
####################
Showoff
julia 0.3
Compat
Iterators
####################
Distributions
julia 0.3
ArrayViews 0.4.12
PDMats 0.3.2 0.4
StatsFuns 0.1.1 0.3.0
StatsBase 0.7.0
Compat 0.4.0
####################
Mux
julia 0.4
Lazy
Hiccup
HttpCommon
HttpServer
URIParser
WebSockets
####################
FixedPointNumbers
julia 0.4
Compat 0.7.14
####################
SHA
julia 0.3
Compat 0.7.9
####################
ReverseDiffSparse
julia 0.4
Calculus
Lazy
DataStructures
MathProgBase
NaNMath 0.2.1
ForwardDiff 0.2 0.3
Compat 0.8.6
####################
Formatting
julia 0.3
Compat
####################
TexExtensions
julia 0.3
Compat
####################
ConjugatePriors
julia 0.3
Compat 0.4.0
PDMats 0.3.2 0.4
Distributions 0.8.1
####################
VideoIO
julia 0.4
Compat 0.8.7
BinDeps 0.3.4
Images 0.4.4
ImageView 0.1.4
@osx Homebrew
@linux Glob
####################
KernelDensity
julia 0.4
StatsBase
Distributions
Optim
Interpolations
Compat
####################
HDF5
julia 0.3.4
BinDeps
Blosc
Compat 0.8.0
@osx Homebrew 0.3.1
@windows WinRPM
####################
ColorTypes
julia 0.4
FixedPointNumbers 0.1.0
####################
Iterators
julia 0.3
Compat
####################
BufferedStreams
julia 0.4
Compat 0.8.4
####################
MbedTLS
julia 0.4
BinDeps
Compat 0.8.0
@osx Homebrew
####################
Gadfly
julia 0.4
Codecs
Colors 0.3.4
Compat 0.8.5
Compose 0.4.4
Contour 0.1.1
DataFrames 0.4.2
DataStructures
Distributions
Hexagons
Iterators 0.1.5
JSON
KernelDensity
Loess
Showoff 0.0.3
StatsBase
####################
FileIO
julia 0.4
Compat 0.7.19
####################
Dates
julia 0.4-
####################
HttpServer
julia 0.4
HttpCommon
HttpParser
MbedTLS
Compat 0.7.16
####################
Contour
julia 0.4
Compat 0.8.0
FixedSizeArrays
####################
PDMats
julia 0.3
ArrayViews 0.4.8-
####################
Sundials
julia 0.4
BinDeps 0.3
Compat
####################
Optim
julia 0.4
Calculus
ForwardDiff 0.2.0 0.3.0
PositiveFactorizations
Compat 0.8.4
####################
SortingAlgorithms
julia 0.4
Compat 0.8.4
####################
Conda
julia 0.4
BinDeps
Compat 0.8
JSON
####################
GtkUtilities
julia 0.4
Gtk
Cairo
Graphics
Docile
Compat 0.7.16
####################
Hiccup
julia 0.3
Lazy
MacroTools
Compat 0.8.2
####################
PyCall
julia 0.4
Compat 0.7.1
Dates
Conda 0.1.6
####################
PlotUtils
julia 0.4
Reexport
Colors
####################
Docile
julia 0.3
Compat 0.7.1
####################
MXNet
julia 0.4
Formatting
BinDeps
JSON
####################
WoodburyMatrices
julia 0.4
Compat
####################
FixedSizeArrays
julia 0.4
Compat 0.8.7
####################
JSON
julia 0.4
Compat 0.8.4
####################
StatsBase
julia 0.4
Compat 0.8.4
StatsFuns 0.1.0
####################
Hexagons
Compat
####################
IJulia
julia 0.4
Nettle 0.2
JSON 0.5
ZMQ 0.3.1
Compat 0.7.20
Conda 0.1.5
####################
Images
julia 0.4
Colors 0.6
ColorVectorSpace 0.1
FixedPointNumbers 0.1
SIUnits
Zlib
Graphics 0.1
FileIO
Compat 0.8.4
StatsBase # for histrange
####################
Distances
julia 0.4
Compat 0.8.4
####################
Plots
julia 0.4
RecipesBase
PlotUtils
Reexport
Compat
FixedSizeArrays
Measures
Showoff
####################
PyPlot
julia 0.3
PyCall 1.1
Colors
LaTeXStrings
Compat 0.4
Conda
####################
Loess
julia 0.3
Compat 0.8.4
Distances
Iterators
####################
BinDeps
julia 0.4
URIParser
SHA
Compat 0.8.4
####################
AutoHashEquals
julia 0.3
####################
PositiveFactorizations
julia 0.4
Compat 0.8.4
####################
ImageView
julia 0.3
Compat 0.4.6
Images 0.4
Colors
Tk
Winston
Graphics 0.1
####################
SIUnits
julia 0.3
TexExtensions
Compat
####################
OnlineStats
julia 0.4
StatsBase
Distributions
RecipesBase
####################
Mustache
julia 0.4
Compat 0.7.18
####################
Graphics
julia 0.4-
Colors
####################
MLBase
julia 0.3
Reexport
ArrayViews 0.4.8-
StatsBase 0.6.9-
Iterators
Compat
####################
NaNMath
julia 0.4
####################
Nettle
julia 0.3
BinDeps
Compat 0.8.0
@osx Homebrew
@windows WinRPM
####################
Reexport
julia 0.2-
####################
LightGraphs
julia 0.4 0.5-
GZip 0.2.18
LightXML 0.2.1
ParserCombinator 1.7.3
JLD
Distributions
####################
ParserCombinator
julia 0.3
Compat 0.7.12
AutoHashEquals 0.0.8
####################
URIParser
julia 0.4
Compat 0.8.0
####################
JLD
julia 0.4
HDF5
Compat 0.8.0
FileIO
LegacyStrings # for julia-0.5
####################
Interpolations
julia 0.4
WoodburyMatrices 0.1.5
Ratios
AxisAlgorithms
Compat 0.8.0
####################
JuMP
julia 0.4
MathProgBase 0.5.1 0.6
ReverseDiffSparse 0.5.3 0.6
ForwardDiff 0.2 0.3
Calculus
Compat 0.8.6
####################
Reactive
julia 0.4
Compat
####################
IniFile
julia 0.3
Compat 0.7.4
####################
Ipopt
julia 0.4
BinDeps
MathProgBase 0.5 0.6
@osx Homebrew
@windows WinRPM
Compat 0.8.0
####################
NLopt
julia 0.4
@osx Homebrew
BinDeps
MathProgBase 0.5 0.6
Compat 0.8
####################
LaTeXStrings
julia 0.4
Compat 0.8.0
####################
Debug
julia 0.3
Compat
####################
Compose
julia 0.4
Colors
Compat 0.8.0
DataStructures
Iterators 0.1.5
JSON
Measures
####################
DataArrays
julia 0.4
StatsBase 0.3
Compat 0.8.6
Reexport
####################
MultivariateStats
julia 0.4
Compat 0.8.4
StatsBase 0.7.0
####################
Winston
julia 0.2
Cairo
Colors
IniFile
Tk
Compat 0.4.4
Graphics 0.1
Dates
####################
Blink
julia 0.4
WebSockets
HttpServer
Lazy
JSON
Requires
Reexport
Mustache
MacroTools
Mux
BinDeps
Compat 0.8.6
####################
RDatasets
julia 0.3
DataFrames
Reexport
Compat
####################
ColorBrewer
julia 0.4
JSON
Colors
####################
Colors
julia 0.4
ColorTypes 0.2
FixedPointNumbers 0.1
Reexport
Compat 0.8.0
####################
WebSockets
julia 0.4
Compat 0.7.16
HttpCommon 0.0.3
HttpServer 0.0.4
Codecs
MbedTLS
####################
MacroTools
julia 0.4
Compat
####################
ProfileView
julia 0.4
Gtk
GtkUtilities
Cairo 0.2.5
Colors
Graphics 0.1
FileIO
Compat 0.8.0
####################
Zlib
julia 0.3
Compat
####################
NBInclude
julia 0.3
JSON
Compat 0.7.9
####################
HttpCommon
julia 0.4
URIParser
Compat 0.7.20
####################
Ratios
julia 0.3
Compat
####################
Codecs
julia 0.3
Compat 0.7.20
####################
LightXML
julia 0.4
Compat 0.8.3
@windows WinRPM