tdammers / ginger

A Haskell implementation of the Jinja template language.
MIT License
77 stars 13 forks source link

Extend upper bounds of dependencies #79

Closed TravisCardwell closed 1 year ago

TravisCardwell commented 1 year ago

Commit eb33b2bd extended the upper bounds of the mtl and transformers dependencies, but commit 4f53cc8e inadvertently reverted these changes when moving the constraints to a common stanza. This PR fixes this as well as extends the upper bounds for some more dependencies.

The changes adjust the upper bounds of the following dependencies to support the latest versions:

Note that the bytestring upper bound is not adjusted, as the latest version is not used in a released version of GHC yet, and the parsec library does not support it yet.

Here is the cabal.project file that I used to test these versions. IMHO, it might be worthwhile to commit this file (named cabal-bounds-upper.project or similar) to make it easy to adjust and test upper bounds as they change.

packages: ./ginger.cabal

with-compiler: ghc-9.6.2

constraints:
    aeson == 2.2.0.0
  , aeson-pretty == 0.8.10
  , base == 4.18.0.0
  , bytestring == 0.11.4.0
  , containers == 0.6.7
  , data-default == 0.7.1.1
  , filepath == 1.4.100.4
  , http-types == 0.12.3
  , mtl == 2.3.1
  , optparse-applicative == 0.18.1.0
  , parsec == 3.1.16.1
  , process == 1.6.17.0
  , regex-tdfa == 1.3.2.2
  , safe == 0.3.19
  , scientific == 0.3.7.0
  , semigroups == 0.20
  , tasty == 1.4.3
  , tasty-hunit == 0.10.0.3
  , tasty-quickcheck == 0.10.2
  , text == 2.0.2
  , time == 1.12.2
  , transformers == 0.6.1.1
  , unordered-containers == 0.2.19.1
  , utf8-string == 1.0.2
  , vector == 0.13.0.0
  , yaml == 0.11.11.2

If you have time to make a release that includes these changes, I would appreciate it.

tdammers commented 1 year ago

Thanks for this, and sorry for the late response. I'll bake a release ASAP.