commercialhaskell / stackage

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

Cabal-3.12 #7399

Closed cdornan closed 1 week ago

cdornan commented 6 months ago

Cabal-3.12.0.0 (changelog) (Mikolaj Konarski mikolaj.konarski@funktory.com @Mikolaj) is out of bounds for:

mpilgrem commented 6 months ago

@cdornan, I am curious how this arises, as Cabal-3.12.0.0 is not a boot package of any released version of GHC and package sets do not include GHC boot packages directly.

Mikolaj commented 6 months ago

May this be related to https://github.com/haskell/cabal/issues/9917?

alaendle commented 6 months ago

@mpilgrem I guess due to the fact that Cabal is explicit mentioned here - https://github.com/commercialhaskell/stackage/blob/579b66414cece997c3245dd71d984c2333af88f7/build-constraints.yaml#L473 - so we would use the latest hackage release. Nonetheless this might be a good issue - because at least if we want to switch to ghc 9.10 all the packages mentioned above need to adaopt.

ysangkok commented 4 months ago

@mpilgrem Just for curiosity, how do you determine which packages are boot? I thought it were the packages listed as 'included libraries', but because of what you said I suppose that is not the case. Since Cabal is listed there.

Or was it because GHC 9.10.1 had not been released when you wrote that comment?

andreasabel commented 3 months ago

@alaendle wrote:

Nonetheless this might be a good issue - because at least if we want to switch to ghc 9.10 all the packages mentioned above need to adaopt.

I'd rather close this issue and open one for GHC 9.10 (which would then include those that are blocked because of Cabal < 3.12).

juhp commented 3 months ago

(Well just to write it here too, Cabal shouldn't have been written into the nightly constraints file: this got reverted this week finally, thanks to @mpilgrem - we do not or should not override core libraries in Stackage - unfortunately our tooling doesn't prevent us: though I am not completely sure if stack abides to stackage's overriding?)

In theory I think this ticket could have been helpful to prepare for eventual 9.10 adoption, but the above data is likely already quite out of date... while it could be refreshed... yeah maybe we can open a new ticket when we are close to adopting 9.10. The only reason this ticket appeared so early was that we had added and bumped Cabal by mistake...

mpilgrem commented 3 months ago

@ysangkok, there are various ways to understand which packages are GHC boot packages. They include:

martijnbastiaan commented 3 months ago

doctest-parallel-0.3.1.1 has a revision now

ysangkok commented 3 months ago
juhp commented 1 week ago

Thanks

Closing in favor of new #7547