Issues with containers and vector on Github

Erik de Castro Lopo mle+hs at mega-nerd.com
Mon Jul 29 00:20:53 UTC 2024


Hi,

Unfortunately, the repo at the below commit does not build with `ghc-9.10.1`.

The changes required are:

```
diff --git a/containers-tests/containers-tests.cabal b/containers-tests/containers-tests.cabal
index 5d3ea2b8..b58374e5 100644
--- a/containers-tests/containers-tests.cabal
+++ b/containers-tests/containers-tests.cabal
@@ -37,7 +37,7 @@ common deps
   build-depends:
       array    >=0.4.0.0
     , base     >=4.10    && <5
-    , deepseq  >=1.2     && <1.5
+    , deepseq  >=1.2     && <1.6
     , template-haskell
 
 common test-deps
@@ -54,7 +54,7 @@ common benchmark-deps
   import: deps
   build-depends:
       containers-tests
-    , deepseq           >=1.1.0.0 && <1.5
+    , deepseq           >=1.1.0.0 && <1.6
     , tasty-bench       >=0.3.1   && <0.4
 
 -- Copy of containers library,
```

Erik

Erik de Castro Lopo wrote:

> Hi,
> 
> This commit:
> 
>   commit f5d0b13251291c3bd1ae396f3e6c8b0b9eaf58b0 (HEAD -> erikd/test-version)
>   Author: David Feuer <David.Feuer at gmail.com>
>   Date:   Wed Sep 27 08:12:31 2023 -0400
> 
> Contains the `containers/src` tree which is only one line different from
> the release tarball on Hackage. The only difference is that the Git
> tree has an extra markdown file.
> 
> Would be highly appreciative of a tag being added to this commit.
> 
> Thanks,
> Erik
> 
> Erik de Castro Lopo wrote:
> 
> > Hi,
> > 
> > Looking at this some more, I realize that the Git history is now somewhat
> > garbled.
> > 
> > I am going to try to compare the versions at git commits in the history
> > with the 0.7 tarball on Hackage. :crossed_fingers:
> > 
> > Erik
> > 
> > David Feuer wrote:
> > 
> > > I didn't do it; Soumik did. I can try to look, but things are still crazy
> > > here.
> > > 
> > > On Sun, Jul 28, 2024, 7:21 PM Erik de Castro Lopo <mle+hs at mega-nerd.com>
> > > wrote:
> > > 
> > > > Hi David,
> > > >
> > > > I just sat down to look at this today and saw that you seem to have done
> > > > this over the weekend in commit 8ede1fce858db46c48e8c6f7fd1977b78025b75c.
> > > >
> > > > However, there is still no 0.7 tag and the script used to update
> > > > `strict-containers` depends on the tag.
> > > >
> > > > Cheers,
> > > > Erik
> > > >
> > > > David Feuer wrote:
> > > >
> > > > > I don't see a relevant branch on GitHub, but take a look at this tag:
> > > > > https://github.com/haskell/containers/tree/v0.7
> > > > > The last few commits there should be everything relevant that needs to be
> > > > > harmonized.
> > > > >
> > > > >
> > > > > On Thu, Jul 18, 2024, 6:17 PM Erik de Castro Lopo <mle+hs at mega-nerd.com>
> > > > > wrote:
> > > > >
> > > > > > Hi David,
> > > > > >
> > > > > > Any update on this?
> > > > > >
> > > > > > THanks,
> > > > > > Erik
> > > > > >
> > > > > > David Feuer wrote:
> > > > > >
> > > > > > > Hmmm .... I'll look into that.
> > > > > > >
> > > > > > > On Sun, Jul 14, 2024, 6:28 PM Erik de Castro Lopo <
> > > > mle+hs at mega-nerd.com>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > I would like to bring you attention to ywo issues:
> > > > > > > >
> > > > > > > >   https://github.com/haskell/vector/issues/496
> > > > > > > >   https://github.com/haskell/containers/issues/1012
> > > > > > > >
> > > > > > > > Both libraries list this mailing list as maintainers and the
> > > > versions
> > > > > > > > of both libraries on Github are seemingly behind the versions on
> > > > > > > > Hackage.
> > > > > > > >
> > > > > > > > I am currently working on updating the `strict-containers` package
> > > > > > > > to work with `ghc-9.10`,
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > >
> > > > https://github.com/haskellari/strict-containers/issues/14#issuecomment-2227496213
> > > > > > > >
> > > > > > > > but this package uses a script to pull `containers`,
> > > > > > `unordered-containers`
> > > > > > > > and `vector` from Github and then generate code from versions it
> > > > has
> > > > > > pull.
> > > > > > > > However it uses  git tags and git tags for the latest versions of
> > > > the
> > > > > > > > above two libraries is missing.
> > > > > > > >
> > > > > > > > I would very much appreciate it if someone could rectify this
> > > > situation
> > > > > > > > as soon as possible.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Erik
> > > > > > > > --
> > > > > > > >
> > > > ----------------------------------------------------------------------
> > > > > > > > Erik de Castro Lopo
> > > > > > > > http://www.mega-nerd.com/
> > > > > > > > _______________________________________________
> > > > > > > > Libraries mailing list
> > > > > > > > Libraries at haskell.org
> > > > > > > > http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
> > > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > ----------------------------------------------------------------------
> > > > > > Erik de Castro Lopo
> > > > > > http://www.mega-nerd.com/
> > > > > >
> > > >
> > > >
> > > > --
> > > > ----------------------------------------------------------------------
> > > > Erik de Castro Lopo
> > > > http://www.mega-nerd.com/
> > > >
> > 
> > 
> > -- 
> > ----------------------------------------------------------------------
> > Erik de Castro Lopo
> > http://www.mega-nerd.com/
> > _______________________________________________
> > Libraries mailing list
> > Libraries at haskell.org
> > http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
> 
> 
> -- 
> ----------------------------------------------------------------------
> Erik de Castro Lopo
> http://www.mega-nerd.com/
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries


-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the Libraries mailing list