jgm / gitit

A wiki using HAppS, pandoc, and git
GNU General Public License v2.0
2.15k stars 225 forks source link

relax upperbound for pandoc to allow building with LTS-8.0 (and GHC-8.0.2) #600

Closed mantkiew closed 7 years ago

mantkiew commented 7 years ago

The latest Stackage LTS-8.0 contains pandoc-1.19.2.1, which causes the following error:

$ cat /..../stack/global-project/stack.yaml
extra-deps:
  - sendfile-0.7.9
  - filestore-0.6.3.1
  - json-0.9.1
  - recaptcha-0.1.0.3
  - uri-0.1.6.4
resolver: lts-8.0

$ stack install gitit-0.12.2

Error: While constructing the build plan, the following exceptions were encountered:

In the dependencies for gitit-0.12.2(+highlighting +https +network-uri +plugins):
    pandoc-1.19.2.1 must match >=1.12.4 && <1.19 (latest applicable is 1.18)

Plan construction failed.
jgm commented 7 years ago

Done with latest release.

+++ Michał Antkiewicz [Feb 13 17 15:28 ]:

The latest Stackage LTS-8.0 contains [1]pandoc-1.19.2.1, which causes the following error: $ cat /..../stack/global-project/stack.yaml <...> resolver: lts-8.0

$ stack install gitit-0.12.2

Error: While constructing the build plan, the following exceptions were encounte red:

In the dependencies for gitit-0.12.2(+highlighting +https +network-uri +plugins) : pandoc-1.19.2.1 must match >=1.12.4 && <1.19 (latest applicable is 1.18)

Plan construction failed.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, [2]view it on GitHub, or [3]mute the thread.

References

  1. https://www.stackage.org/lts-8.0/package/pandoc-1.19.2.1
  2. https://github.com/jgm/gitit/issues/600
  3. https://github.com/notifications/unsubscribe-auth/AAAL5PrrA6AbhDCMz4y8g5qHHVNOdZapks5rcOcegaJpZM4L_3Ez
mantkiew commented 7 years ago

Thanks! Confirming the build works with stack/LTS-8.0 and cabal new-build/ghc-8.0.2 on Windows.