commercialhaskell / stackage

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

GHC 7.8 cabal restrictive constraints #128

Closed snoyberg closed 10 years ago

snoyberg commented 11 years ago

I'm superseding #43 with this. As the GHC 7.8 release is becoming more imminent, these issues are now becoming more important.

BlogLiterately-diagrams-0.1.2.3 (Brent Yorgey @byorgey byorgey@gmail.com) cannot use:

ChasingBottoms-1.3.0.6 (Neil Mitchell @ndmitchell) cannot use:

accelerate-0.13.0.5 (Ryan Newton ryan.newton@alum.mit.edu @rrnewton @AccelerateHS) cannot use:

active-0.1.0.7 (Brent Yorgey byorgey@gmail.com @diagrams) cannot use:

ad-3.4 (Edward Kmett ekmett@gmail.com @ekmett) cannot use:

adjunctions-3.2.1 (Edward Kmett ekmett@gmail.com @ekmett) cannot use:

arithmoi-0.4.0.3 (Brent Yorgey byorgey@gmail.com) cannot use:

async-2.0.1.4 (FP Complete michael@fpcomplete.com @simonmar) cannot use:

cassava-0.2.2.0 (FP Complete michael@fpcomplete.com @tibbe) cannot use:

charset-0.3.5 (Edward Kmett ekmett@gmail.com @ekmett) cannot use:

circle-packing-0.1.0.2 (Brent Yorgey byorgey@gmail.com) cannot use:

comonad-extras-3.0.1 (Edward Kmett ekmett@gmail.com @ekmett) cannot use:

data-lens-template-2.1.7 (Adam Bergmark adam@edea.se @roconnor) cannot use:

diagrams-builder-0.4.0.6 (Brent Yorgey byorgey@gmail.com @diagrams) cannot use:

diagrams-cairo-0.7 (Brent Yorgey byorgey@gmail.com @diagrams) cannot use:

diagrams-contrib-0.7 (Brent Yorgey byorgey@gmail.com @diagrams) cannot use:

diagrams-haddock-0.2.1 (Brent Yorgey byorgey@gmail.com) cannot use:

diagrams-lib-0.7.1.1 (Brent Yorgey byorgey@gmail.com @diagrams) cannot use:

encoding-0.6.7.2 (FP Complete michael@fpcomplete.com) cannot use:

esqueleto-1.3.4.2 (Felipe Lessa felipe.lessa@gmail.com @meteficha) cannot use:

fclabels-1.1.7.1 (Ryan Newton ryan.newton@alum.mit.edu @sebastiaanvisser) cannot use:

force-layout-0.2 (Brent Yorgey byorgey@gmail.com) cannot use:

graphs-0.5 (Edward Kmett ekmett@gmail.com @ekmett) cannot use:

haskeline-0.7.0.3 (Adam Bergmark adam@edea.se @bergmark) cannot use:

heist-0.13.0.1 (FP Complete michael@fpcomplete.com @snapframework @mightybyte) cannot use:

hscurses-1.4.1.2 (Stefan Wehr wehr@factisresearch.com @skogsbaer) cannot use:

http-types-0.8.1 (michael@snoyman.com @aristidb) cannot use:

intervals-0.2.2 (Brent Yorgey byorgey@gmail.com @ekmett) cannot use:

kan-extensions-3.7 (Edward Kmett ekmett@gmail.com @ekmett) cannot use:

keter-1.0.1.1 (michael@snoyman.com @snoyberg) cannot use:

keys-3.0.3 (Edward Kmett ekmett@gmail.com @ekmett) cannot use:

language-javascript-0.5.8 (Alan Zimmerman @alanz) cannot use:

lens-3.9.2 (Brent Yorgey byorgey@gmail.com @ekmett) cannot use:

monadic-arrays-0.2.1.2 (Edward Kmett ekmett@gmail.com @ekmett) cannot use:

optparse-applicative-0.5.2.1 (Adam Bergmark adam@edea.se @pcapriotti) cannot use:

parallel-3.2.0.3 (Brent Yorgey byorgey@gmail.com) cannot use:

reducers-3.0.2 (Edward Kmett ekmett@gmail.com @ekmett) cannot use:

repa-3.2.3.3 (FP Complete michael@fpcomplete.com) cannot use:

representable-functors-3.2.0.1 (Edward Kmett ekmett@gmail.com @ekmett) cannot use:

snap-0.13.0.3 (FP Complete michael@fpcomplete.com @snapframework) cannot use:

stringsearch-0.3.6.4 (michael@snoyman.com) cannot use:

temporary-1.1.2.4 (Brent Yorgey byorgey@gmail.com) cannot use:

th-lift-0.5.5 (Felipe Lessa felipe.lessa@gmail.com) cannot use:

type-eq-0.3 (Adam Bergmark adam@edea.se @glehel) cannot use:

unbounded-delays-0.1.0.5 (FP Complete michael@fpcomplete.com @basvandijk) cannot use:

vault-0.3.0.2 (michael@snoyman.com @HeinrichApfelmus) cannot use:

ndmitchell commented 11 years ago

I have never heard of ChasingBottoms before today, so suspect you are after NilsAndersDanielsson rather than me for that.

ekmett commented 11 years ago

So far I've closed out:

I'll keep chipping away as time permits.

ekmett commented 11 years ago

Fixed:

This leaves two big projects that fall under my purview that have large open change sets and bigger issues: lens and ad.

Each of those will likely take a fair bit more time to fix.

snoyberg commented 11 years ago

@ndmitchell ChasingBottoms is used by the unordered-containers test suite. It's complete chance who that package would end up being assigned to.

ndmitchell commented 11 years ago

I have had zero success contacting Nils - if anyone has a working email address for him, please do share.

snoyberg commented 11 years ago

Nils just merged and released a patch I sent him, so ChasingBottoms is now fixed: http://hdiff.luite.com/cgit/ChasingBottoms/commit/?id=079e8ca9cdb6e6d9c75e4a4e89921fdb35555577

snoyberg commented 10 years ago

OK, here's the newest set of issues:

FenwickTree-0.1 (Michal J. Gajda @mgajda) cannot use:

Octree-0.5.1 (Michal J. Gajda @mgajda) cannot use:

accelerate-0.14.0.0 (Ryan Newton ryan.newton@alum.mit.edu @AccelerateHS) cannot use:

ad-3.4 (Edward Kmett ekmett@gmail.com @ekmett) cannot use:

arithmoi-0.4.0.3 (Brent Yorgey byorgey@gmail.com) cannot use:

async-2.0.1.4 (FP Complete michael@fpcomplete.com @simonmar) cannot use:

cassava-0.2.2.0 (FP Complete michael@fpcomplete.com @tibbe) cannot use:

circle-packing-0.1.0.2 (Brent Yorgey byorgey@gmail.com) cannot use:

data-lens-template-2.1.7 (Adam Bergmark adam@bergmark.nl @roconnor) cannot use:

diagrams-builder-0.4.2 (Brent Yorgey byorgey@gmail.com @diagrams) cannot use:

diagrams-cairo-1.0 (Brent Yorgey byorgey@gmail.com @diagrams) cannot use:

diagrams-lib-1.0.0.1 (Brent Yorgey byorgey@gmail.com @diagrams) cannot use:

esqueleto-1.3.4.2 (Felipe Lessa felipe.lessa@gmail.com @meteficha) cannot use:

fay-0.18.1.2 (Adam Bergmark adam@bergmark.nl @faylang) cannot use:

fclabels-2.0.0.5 (Ryan Newton ryan.newton@alum.mit.edu @sebastiaanvisser) cannot use:

force-layout-0.2 (Brent Yorgey byorgey@gmail.com) cannot use:

hPDB-examples-1.0 (Michal J. Gajda @mgajda) cannot use:

heist-0.13.0.3 (Adam Bergmark adam@bergmark.nl @snapframework) cannot use:

hscurses-1.4.1.2 (Stefan Wehr wehr@factisresearch.com @skogsbaer) cannot use:

kan-extensions-3.7 (Edward Kmett ekmett@gmail.com @ekmett) cannot use:

language-javascript-0.5.8 (Alan Zimmerman @alanz) cannot use:

lens-3.9.2 (Brent Yorgey byorgey@gmail.com @ekmett) cannot use:

lifted-async-0.1.0 (michael@snoyman.com @maoe) cannot use:

quickcheck-instances-0.3.3 (Mario Blazevic blamario@yahoo.com @aslatter) cannot use:

repa-3.2.3.3 (FP Complete michael@fpcomplete.com) cannot use:

snap-0.13.1.2 (FP Complete michael@fpcomplete.com @snapframework) cannot use:

temporary-1.1.2.4 (Roman Cheplyaka roma@ro-che.info) cannot use:

type-eq-0.3 (Adam Bergmark adam@bergmark.nl @glehel) cannot use:

unbounded-delays-0.1.0.5 (FP Complete michael@fpcomplete.com @basvandijk) cannot use:

vault-0.3.0.2 (michael@snoyman.com @HeinrichApfelmus) cannot use:

mgajda commented 10 years ago

Thanks. These three have been fixed by uploading new versions.

On 12/09/2013 12:21 PM, Michael Snoyman wrote:

FenwickTree-0.1 (Michal J. Gajda @mgajda https://github.com/mgajda) cannot use:

  • base-4.7.0.0 -- <4.7

Octree-0.5.1 (Michal J. Gajda @mgajda https://github.com/mgajda) cannot use:

  • base-4.7.0.0 -- >=4.0 && <4.7

hPDB-examples-1.0 (Michal J. Gajda @mgajda https://github.com/mgajda) cannot use:

  • base-4.7.0.0 -- <4.7
glaebhoerl commented 10 years ago
sebastiaanvisser commented 10 years ago

Is there an API-freeze on template-haskell already? How can I know?

At first fclabels package was broken with the new TH, then it got fixed automatically because they reversed the API changes (I guess). If TH is still in flux it doesn't make sense for me to test my package and increase the upper bounds for now.

snoyberg commented 10 years ago

@glehel I do intend to support versions 7.4, 7.6, and 7.8 of GHC simultaneously. It's possible for some packages to be selectively excluded based on the GHC version. So whatever you and @feuerbach decide to do will be fine with me. It would be nice if these changes happened sooner rather than later so we can get some serious build testing with GHC 7.8.

@sebastiaanvisser I think TH is pretty stable at this point, though there aren't any guarantees.

UnkindPartition commented 10 years ago

@glehel I know this functionality is in the new base, but I (or, rather, my users) would like to keep compatibility with older GHCs (7.4 and 7.6).

It would be nice if type-eq could provide this compatibility, but if you decide to discontinue the package, I can hack around it in haskell-names itself.

@sebastiaanvisser nice pic :)

glaebhoerl commented 10 years ago

@snoyberg @feuerbach OK, I'll see what I can do (and when).

maoe commented 10 years ago

I just relaxed the upper bound for base in lifted-async and uploaded it to Hackage. It still fails to build with GHC HEAD because async fails, though.

bergmark commented 10 years ago

process shouldn't be a problem for fay, but i'll wait until haskell-names is ok.

glaebhoerl commented 10 years ago

If anyone could point me to an x86-32 linux build of a recent GHC 7.8 nightly/snapshot I can download, that would be a big help.

Edit: not relevant any more

glaebhoerl commented 10 years ago

Sorry for taking so long, I finally had some time to do this. I've uploaded type-eq-0.4 which works with GHC 7.8 and base-4.7.

How to handle the Typeable changes is quite perplexing for a package like this. For now I'm just following the path of least resistance, which basically means that under GHC 7.8 plain Typeable means the new kind-polymorphic one from Data.Typeable, while the formerly provided functions using Typeable1..7 are still provided, and get them from Data.OldTypeable.

There was only one function that haskell-names actually uses though, so hopefully this should be ok.

(btw: hi, I renamed myself, I used to be glehel)

aslatter commented 10 years ago

I've uploaded quickcheck-instances-0.3.5 which has more permissive upper bounds for array.

UnkindPartition commented 10 years ago

Thanks @glaebhoerl, that was pretty fast!

UnkindPartition commented 10 years ago

I've uploaded haskell-names-0.3.2.4 which builds with GHC 7.8, although --allow-newer is needed for temporary (unix dependency, cc @batterseapower) and data-lens-template (template-haskell dependency, cc @roconnor)

byorgey commented 10 years ago

Uploaded force-layout-0.2.0.1.

byorgey commented 10 years ago

cirlcle-packing-0.1.0.3 has been uploaded. Currently looking into arithmoi which is affected by some primop changes in base-4.7. See https://bitbucket.org/dafis/arithmoi/issue/4/equality-primop-type-error-under-base-47 .

sebastiaanvisser commented 10 years ago

fclabels-2.0.1 has been uploaded. The dependency on template-haskell has been widened.

byorgey commented 10 years ago

The rest of my packages (diagrams-lib, diagrams-cairo, diagrams-builder) are stuck on lens. lens-3.10 defines Foldable and Traversable instances for (,), Either, and Const, but these are now provided in base-4.7.

ekmett commented 10 years ago

Let me fix that.

ekmett commented 10 years ago

Try 3.10.1

byorgey commented 10 years ago

@ekmett: I get a different compile error now. Should I file an issue over at the lens repo?

ekmett commented 10 years ago

Please do. I just fired off a fix for that one issue. I don't have 7.8 installed at the moment to test with.

tibbe commented 10 years ago

cassava-0.3.0.0 supports array-0.5.0.0. Do you also need new releases in the 0.2 series?

snoyberg commented 10 years ago

No, 0.3 should be fine. I was actually just running some Stackage builds, so I ran GHC 7.7.20131211, and got the following:

accelerate-0.14.0.0 (Ryan Newton ryan.newton@alum.mit.edu @AccelerateHS) cannot use:

ad-3.4 (Edward Kmett ekmett@gmail.com @ekmett) cannot use:

arithmoi-0.4.0.3 (Brent Yorgey byorgey@gmail.com) cannot use:

bytestring-show-0.3.5.5 (Ketil Malde) cannot use:

data-lens-template-2.1.7 (Adam Bergmark adam@bergmark.nl @roconnor) cannot use:

diagrams-builder-0.4.2 (Brent Yorgey byorgey@gmail.com @diagrams) cannot use:

diagrams-cairo-1.0 (Brent Yorgey byorgey@gmail.com @diagrams) cannot use:

diagrams-lib-1.0.0.1 (Brent Yorgey byorgey@gmail.com @diagrams) cannot use:

esqueleto-1.3.4.2 (Felipe Lessa felipe.lessa@gmail.com @meteficha) cannot use:

fay-0.18.1.3 (Adam Bergmark adam@bergmark.nl @faylang) cannot use:

heist-0.13.0.3 (Adam Bergmark adam@bergmark.nl @snapframework) cannot use:

hscurses-1.4.1.2 (Stefan Wehr wehr@factisresearch.com @skogsbaer) cannot use:

kan-extensions-3.7 (Edward Kmett ekmett@gmail.com @ekmett) cannot use:

lens-3.9.2 (Brent Yorgey byorgey@gmail.com @ekmett) cannot use:

repa-3.2.3.3 (FP Complete michael@fpcomplete.com) cannot use:

snap-0.13.1.2 (FP Complete michael@fpcomplete.com @snapframework) cannot use:

threepenny-gui-0.4.0.2 (FP Complete michael@fpcomplete.com) cannot use:

unbounded-delays-0.1.0.5 (FP Complete michael@fpcomplete.com @basvandijk) cannot use:

So we're getting a lot closer.

bergmark commented 10 years ago

fay 0.19.1 allows process 1.2.*

ekmett commented 10 years ago

What is capping lens at 3.9.2, diagrams?

byorgey commented 10 years ago

It was diagrams, but the latest diagrams release (as of earlier this week) uses lens-4.0. I don't know if there's anything else still blocking it.

ekmett commented 10 years ago

Fair enough. I wasn't actively doing maintenance on the 3.9 branch, so I was trying to figure out if I needed to start.

snoyberg commented 10 years ago

Barring a few specific packages which I've explicitly excluded for GHC 7.8, upper bounds are now resolved. I'm running a Stackage build with 7.8.0rc2 now, and (probably Sunday morning) will start providing feedback on broken packages.