-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Listing versions in REQUIRE #14
Comments
Brian, Not sure if it helps, but this is what I see on my system (very similar to what you concluded 10 days ago): If I update Mamba’s REQUIRE to contain: julia 0.3 0.4- Mamba still works with below 2 sets of warnings, but upgrading Color remains a problem as it prevents Mamba (and other packages I guess) to run. This afternoon I did bump Stan.jl to v”0.1.0” and it now uses Mamba’s analysis tools. Jags.jl will follow later this week. Regards, Pkg.pin(“Color”, v”0.3.9”) julia> include("/Users/rob/.julia/v0.3/Mamba/doc/examples/rats.jl") exception on 1: ERROR: Pkg.pin(“PDMats”, v”0.3.1”) julia> include("/Users/rob/.julia/v0.3/Mamba/doc/examples/rats.jl") Pkg.pin(“Distributions”, v”0.5.8”) Warning: Method definition minimum(Truncated{D<:Distribution{Univariate,S<:ValueSupport},S<:ValueSupport},) in module Distributions at /Users/rob/.julia/v0.3/Distributions/src/truncate.jl:29 overwritten in module Mamba at /Users/rob/.julia/v0.3/Mamba/src/distributions/methods.jl:107. Rob J. Goedman
|
@dmbates - I agree about making the REQUIRE versions more general. As Rob noted, I am getting warnings right now with the latest versions of PDMats and Distributions. I hope to have those fixed and Mamba updated by this eventing. BTW, do you all have interest in including other PDMat subtypes in your package? I currently have a (sparse matrix-based) block-diagonal subtype in my package. The code is at https://github.com/brian-j-smith/Mamba.jl/blob/master/src/distributions/pdmats2.jl. Maintaining the subtype in your package might make more sense. I am using it to construct normal distributions with block-diagonal covariance structures, as defined in the following links BDiagNormal Code: https://github.com/brian-j-smith/Mamba.jl/blob/master/src/distributions/mvnormal.jl |
PDMats and Distributions are no longer downgraded in the just-released version of Mamba (0.3.8). There seems to be some interaction going on with Color 0.3.9 and julia that causes core functionality of the convert function to break, affecting conversion of integers to floats. See JuliaAttic/Color.jl#68 and #6. I don't think anyone has figured out the root cause of the issue yet. Once that is solved, I will remove my version bound on the package. |
I think your version specification in the REQUIRE file should be more vague. As it stands, installing Mamba causes downgrading of other packages.
The text was updated successfully, but these errors were encountered: