tweag / monad-bayes

A library for probabilistic programming in Haskell.
MIT License
407 stars 62 forks source link

1.0.0 does not build on hackage #221

Closed idontgetoutmuch closed 1 year ago

idontgetoutmuch commented 1 year ago

@reubenharry can you take a look? https://hackage.haskell.org/package/monad-bayes-1.0.0/reports/1

reubenharry commented 1 year ago

Was the recent PR meant to fix this?

vkleen commented 1 year ago

I think this happens because monad-bayes is not specifying version bounds on brick. The 1.0 release of brick makes breaking changes to the EventM interface. Porting to this new version turns out to be pretty straightforward though; I've made PR #229 specifying brick versions between 1.0 and a future 2.0.

Alternatively, specifying a version upper bound of <= 0.73 on brick should also work. I haven't tested that, though.

idontgetoutmuch commented 1 year ago

@reubenharry thanks for remembering to close this - the version on hackage now builds (thanks to @vkleen)