-
Notifications
You must be signed in to change notification settings - Fork 805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revision of semigroupoids-5.0.0.4 broke lts-3.x #3185
Comments
@RyanGlScott Maybe you could provide some more information? |
In the grand scheme of things, is this a Stackage issue («due to revisions, snapshots are not really snapshots») or a Hackage issue («tightening of lower bounds is allowed and one can do something other than https://github.com/haskell-infra/hackage-trustees/blob/master/cookbook.md#best-practice-for-managing-meta-data »)? |
https://github.com/haskell-infra/hackage-trustees/blob/master/revisions-information.md seems to suggest that you can do whatever you want to bounds on dependencies via revisions. So, assuming revisions exist and they aren't going anywhere (which seems like a good assumption), it must be something that has to be dealt with by stackage or by stack. Any package author being able to break any old snapshot at any time doesn't sound good. p.s. I'm assuming this bug report is accurate, it looks like it is but I didn't actually try it myself yet. |
relevant: ekmett/semigroupoids#62 |
@unclechu: I can't seem to replicate this. Can you give more information about what you did to get that error? Also what is your version of stack? I'm on v1.6.3 I tried creating a new stack project, setting the resolver to lts-3.22 and adding the semigroupoids package as a dependency. It appears to build fine with no warning or error. It's possible I screwed something up, but I'm not seeing what. |
Any lts-6 and onward, and nightlies roughly around 2016-05-25 and onward all specify hackage revisions, so that they are not affected by these mutations to cabal metadata. @kadoban I can reproduce it by running We should consider a stack modification that makes older snapshots more reliable. Perhaps by matching revisions by the latest revision at the time of the snapshot release. Hopefully revisions come with date info. |
@mgsloan That's odd, I tried that too and couldn't reproduce with that command either. |
Huh! You might already have that semigroupoids built, or some other form of caching. Curious! |
@kadoban Maybe something is cached? I also couldn't reproduce it in CI builds until I remove cache of |
Oh, that's interesting. Maybe I already had 'tagged' built or something? I noticed it did actually build semigroupoids when I tried, so I figured that was enough, but I didn't consider any caching beyond that really. I'll try later with a clean .stack and etc. |
I think my experience meshes with @unclechu . We ran into this same issue (with |
@jberryman $ env HOME=/tmp/foobar stack build |
I found a temporary solution, I just added explicit revision of semigroups package to |
Thanks to @snoyberg for the hint in his PR so I can solve it right now. |
Got this error when building the project: ``` Configuring semigroupoids-5.0.1... setup: At least the following dependencies are missing: tagged >=0.8.5 && <1 && ==0.8.3 ``` This was caused by a revision done to some old Stackage releases: ekmett/semigroupoids#71 commercialhaskell/stackage#3185 It is fixed by relaxing the dependency constraints a bit as suggested by @ekmett.
Revision have been made 6 January:
https://hackage.haskell.org/package/semigroupoids-5.0.0.4/revisions/
Even latest
lts-3.22
havetagged-0.8.2
but minimal acceptable version in new revision is0.8.5
, so, build that depends onlts-3.12
fails with this error:Is there any solution to use original revisions to prevent this mess?
The text was updated successfully, but these errors were encountered: