Closed peti closed 7 years ago
I think that's my fault, for changing the api in hledger-lib 1.3.1 or thereabouts.
openSUSE distributes the latest version hledger-lib (and so does NixOS). We're now stuck at version 1.2.4. It would be great if we could get an updated version since presumably there were improvements made since then. In any case, it might be a good idea to edit the version constraints published on Hackage.
Thanks for the report and sorry for the delay.
I have committed a fix and will make a new release shortly.
The reason that 1.2.4 works, while 1.2.5 doesn't is this: I accidentally uploaded a broken release tarball for 1.2.4 that contained uncommited changes as a result of a tooling change on my end. At that time I was testing hledger-iadd against hledger HEAD, which already contained the new API, so that's why it works with newer versions of hledger-lib. But it didn't work with the released version then (1.3), so I uploaded a new tarball without those changes.
hledger-lib-1.2.5 is exactly what 1.2.4 should have been with no additional changes.
I will deprecate 1.2.4 on hackage and publish a new revision of 1.2.5 once the new release is out.
Alright, this should be completely fixed now. 1.2.6 is out, 1.2.4 is deprecated and 1.2.5 depends on hledger-lib < 1.3.1
Let me know if there are still problems
@hpdeifel great, I have updated hledger-install.sh to install hledger-iadd-1.2.6.
Consider also uncommenting hledger-iadd in https://github.com/fpco/stackage/blob/master/build-constraints.yaml now, to get it back in stackage. And unless you are expecting test suite compilation failures, remove it from the expected test failures section towards the end of that file.
Will do!
I'm packaging hledger-iadd-1.2.5 for openSUSE (https://build.opensuse.org/package/show/devel:languages:haskell:lts:9/ghc-hledger-iadd), and we're seeing the following build error. Is that a known issue?