commercialhaskell / stackage

Stable Haskell package sets: vetted consistent packages from Hackage
https://www.stackage.org/
MIT License
529 stars 807 forks source link

GHC 9.2-only packages #6264

Closed bergmark closed 2 years ago

bergmark commented 2 years ago

As I understand it, these packages are always tied to one GHC version so I will upper bound them for now and we'll remove that upper bound when nightly moves to GHC 9.2:

      - ghc-lib < 9.2.1.20211030
      - ghc-lib-parser < 9.2.1.20211030
      - ghc-lib-parser-ex < 9.2.0.0
      - singletons-base < 3.1
      - singletons-th < 3.1
      - th-desugar < 1.13

As a heads-up, here are some packages that will need to be updated for GHC 9.2 to be compatible with these packages. We may need to add upper bounds to some of them as part of this ticket after they are updated - if they are updated to only support these latest versions.

ghc-lib-parser-9.2.1.20211030 (changelog) (Digital Asset shayne.fletcher@digitalasset.com) is out of bounds for:

ghc-lib-parser-ex-9.2.0.0 (changelog) (Shayne Fletcher shayne.fletcher@digitalasset.com) is out of bounds for:

th-desugar-1.13 (changelog) (Richard Eisenberg eir@cis.upenn.edu @goldfirere) is out of bounds for:

konn commented 2 years ago

I've just uploaded equational-reasoning-0.7.0.1, which compiles with GHC 9.2.1 + th-desugar-1.13 and older versions of them.

goldfirere commented 2 years ago

th-desugar is not fixed to a GHC version, though singletons-th and singletons-base are.

I know I've gotten tagged on tickets like this in the past, but I don't remember what action is being requested of me here. It must be a pain to answer this on each such ticket, but is there a page somewhere you can direct me to that describes what I should do to help here? I do want to help keep Stackage consistent and up-to-date, but I really don't know what my next step is here.

Thanks!

bergmark commented 2 years ago

@goldfirere I added https://github.com/commercialhaskell/stackage/blob/master/MAINTAINERS.md#understanding-stackage-issues - does that clarify things?

In this case, you're of course right about th-desugar not being tied to GHC 9.2, but we currently cannot upgrade it unless we upgrade singletons- so we will keep using the older version until the 9.2 switch. th-desugar could be upgraded sooner if support for the new th-desugar was added to the previous version of singletons-, but we usually defer that to the maintainers. Our focus is to have the latest versions of everything compatible, this issue will get resolved with the 9.2 upgrade anyway.

DanBurton commented 2 years ago

I added ghc-syntax-highligher to the list of packages constrained due to us not being on ghc 9.2 yet.

ghc-lib-parser-9.0.1.20210324 (changelog) is out of bounds for: