Skip to content

Commit

Permalink
bound LogDensityProblems
Browse files Browse the repository at this point in the history
  • Loading branch information
tpapp authored Jul 27, 2019
1 parent f35133c commit 991fac3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "DynamicHMC"
uuid = "bbc10e6e-7c05-544b-b16e-64fede858acb"
authors = ["Tamas K. Papp <[email protected]>"]
version = "1.0.5"
version = "1.0.6"

[deps]
ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197"
Expand Down Expand Up @@ -29,4 +29,4 @@ test = ["Distributions", "Documenter", "ForwardDiff", "MCMCDiagnostics", "StatsB

[compat]
julia = "1"
LogDensityProblems = "0.8.0"
LogDensityProblems = "^0.8.0"

7 comments on commit 991fac3

@tpapp
Copy link
Owner Author

@tpapp tpapp commented on 991fac3 Jul 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

Release notes:

Bound LogDensityProblems, fixes #51.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/2317

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v1.0.6 -m "<description of version>" 991fac3306fb6d26598a1a6b099ce080f0d905f4
git push origin v1.0.6

@itsdfish
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Tamas. Given that this has not updated yet, I was wondering if something went wrong during registration. I am still stuck at v1.0.5 and receive the following error.

[ Info: Precompiling DynamicHMC [bbc10e6e-7c05-544b-b16e-64fede858acb]
ERROR: LoadError: UndefVarError: ValueGradient not defined
Stacktrace:
 [1] include at ./boot.jl:326 [inlined]
 [2] include_relative(::Module, ::String) at ./loading.jl:1038
 [3] include(::Module, ::String) at ./sysimg.jl:29
 [4] top-level scope at none:2
 [5] eval at ./boot.jl:328 [inlined]
 [6] eval(::Expr) at ./client.jl:404
 [7] top-level scope at ./none:3
in expression starting at /home/dfish/.julia/packages/DynamicHMC/YX6JA/src/DynamicHMC.jl:10
ERROR: Failed to precompile DynamicHMC [bbc10e6e-7c05-544b-b16e-64fede858acb] to /home/dfish/.julia/compiled/v1.1/DynamicHMC/iPqvI.ji.
Stacktrace:
 [1] compilecache(::Base.PkgId, ::String) at ./loading.jl:1197
 [2] _require(::Base.PkgId) at ./loading.jl:960
 [3] require(::Base.PkgId) at ./loading.jl:858
 [4] require(::Module, ::Symbol) at ./loading.jl:853

@tpapp
Copy link
Owner Author

@tpapp tpapp commented on 991fac3 Jul 31, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was merged to the registry. Downgrade manually to LogDensityProblems 0.8.3, then update DynamicHMC to 1.0.6, then you can free LogdensityProblems. Hope this helps.

@itsdfish
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. After I update DynamicHMC to v1.0.6 and free LogDensityProblems, any updates will revert to the incompatible versions. I'm guessing that is not intended?

(v1.1) pkg> st LogDensityProblems
    Status `~/.julia/environments/v1.1/Project.toml`
  [6e4b80f9] BenchmarkTools v0.4.2
  [6fdf6af0] LogDensityProblems v0.8.3
  [d96e819e] Parameters v0.10.3
  [84d833dd] TransformVariables v0.3.3

(v1.1) pkg> free LogDensityProblems
  Updating `~/.julia/environments/v1.1/Project.toml`
 [no changes]
  Updating `~/.julia/environments/v1.1/Manifest.toml`
 [no changes]

(v1.1) pkg> update
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Updating git-repo `https://github.com/TuringLang/AdvancedHMC.jl.git`
  Updating git-repo `https://github.com/TuringLang/Turing.jl.git`
 Resolving package versions...
  Updating `~/.julia/environments/v1.1/Project.toml`
  [bbc10e6e] ↓ DynamicHMC v1.0.6 ⇒ v1.0.5
  [6fdf6af0] ↑ LogDensityProblems v0.8.3 ⇒ v0.9.0
  [fce5fe82] ~ Turing v0.6.22 #master (https://github.com/TuringLang/Turing.jl.git) ⇒ v0.6.22 #master (https://github.com/TuringLang/Turing.jl.git)
  Updating `~/.julia/environments/v1.1/Manifest.toml`
  [bbc10e6e] ↓ DynamicHMC v1.0.6 ⇒ v1.0.5
  [6fdf6af0] ↑ LogDensityProblems v0.8.3 ⇒ v0.9.0
  [fce5fe82] ~ Turing v0.6.22 #master (https://github.com/TuringLang/Turing.jl.git) ⇒ v0.6.22 #master (https://github.com/TuringLang/Turing.jl.git)

@tpapp
Copy link
Owner Author

@tpapp tpapp commented on 991fac3 Jul 31, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it isn't. Please pin them then. Cf

https://tamaspapp.eu/post/2019-07-25-psa-dhmc-api-change/

@itsdfish
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do. Thanks for the info.

Please sign in to comment.