Stackage: prettyprinter-compat-annotated-wl-pprint

Created on 8 Dec 2020  Â·  4Comments  Â·  Source: commercialhaskell/stackage

    Configuring prettyprinter-compat-annotated-wl-pprint-1...
    Preprocessing library for prettyprinter-compat-annotated-wl-pprint-1..
    Building library for prettyprinter-compat-annotated-wl-pprint-1..
    [1 of 1] Compiling Text.PrettyPrint.Annotated.Leijen

    /var/stackage/work/unpack-dir/unpacked/prettyprinter-compat-annotated-wl-pprint-1-7d52ae08d685ad0f1e55fb5cfe22acc35c10c0cdb5ed4a82ce5f9cd93a5a1539/src/Text/PrettyPrint/Annotated/Leijen.hs:34:1: error:
        Could not find module ‘Data.Text.Prettyprint.Doc.Render.ShowS’
        Perhaps you meant
          Data.Text.Prettyprint.Doc.Render.String (from prettyprinter-1.7.0)
          Data.Text.Prettyprint.Doc.Render.Text (from prettyprinter-1.7.0)
          Data.Text.Prettyprint.Doc.Render.Terminal (needs flag -package-key prettyprinter-ansi-terminal-1.1.2)
        Use -v (or `:set -v` in ghci) to see a list of the files searched for.
       |
    34 | import qualified Data.Text.Prettyprint.Doc.Render.ShowS      as New
       | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

cc @sjakobi, related to allowing prettyprinter 1.7.0 in a recent PR it looks like: https://github.com/commercialhaskell/stackage/pull/5775

All 4 comments

Hi @alexeyzab! You quietly reverted my #5775 which was closing a number of issues. I would be glad of a notification next time; it's a fair bit of work trying to keep software in stackage nightly.

You did this to keep prettyprinter-compat-annotated-wl-pprint in stackage, but it seems like a minor package (not listed at https://packdeps.haskellers.com/reverse). What is it used for ? If I'm not misjudging it's importance, I think it should be removed from stackage until it is updated, instead.

I – as a (co-)maintainer of prettyprinter-compat-annotated-wl-pprint – agree that this package isn't important enough that it would warrant holding back more important packages like prettyprinter or pretty-simple.

In general, I'd appreciate if incompatible packages were removed more aggressively from Stackage Nightly, when this would help avoid bounds on more central packages. I think this would generally help speed up the resolution of incompatibilities in the ecosystem.

I'll go ahead and remove prettyprinter-compat-annotated-wl-pprint for now and restore latest prettyprinter, pretty-simple and hledger, if there are no objections.

[#5785]

merged, thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

igrep picture igrep  Â·  3Comments

alexeyzab picture alexeyzab  Â·  7Comments

juhp picture juhp  Â·  6Comments

snoyberg picture snoyberg  Â·  7Comments

yairchu picture yairchu  Â·  3Comments