packages feed

bytestring-lexing 0.5.0.13 → 0.5.0.14

raw patch · 2 files changed

+31/−17 lines, 2 filesdep ~basedep ~bytestringdep ~tasty-quickcheckPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base, bytestring, tasty-quickcheck

API changes (from Hackage documentation)

Files

CHANGELOG view
@@ -1,3 +1,6 @@+0.5.0.14 (2024-08-29):+    - Updating version bounds for the test suite, and factoring out+      the `Common library-build-depends` stanza. 0.5.0.13 (2024-08-29):     - Updated version bounds for GHC 9.10 0.5.0.11 (2023-11-15):
bytestring-lexing.cabal view
@@ -10,7 +10,7 @@ ----------------------------------------------------------------  Name:           bytestring-lexing-Version:        0.5.0.13+Version:        0.5.0.14 Build-Type:     Simple Stability:      provisional Homepage:       https://wrengr.org/software/hackage.html@@ -69,14 +69,17 @@     Location: https://github.com/wrengr/bytestring-lexing.git  -----------------------------------------------------------------Library+-- This stanza requires Cabal>=2.2:+--    <https://cabal.readthedocs.io/en/latest/cabal-package.html#common-stanzas>+-- While Cabal-2.2 only ships with GHC 8.4.1, the dependencies to+-- build it have essentially the same lower bounds as we do.  (They+-- require bytestring>=0.9.2.1 and deepseq>=1.3)  So users of older+-- GHC should still be able to compile it; and if they can't, then+-- they already can't compile this package.+--+-- N.B., the "import:" field must be the first thing in a stanza.+Common library-build-depends     Default-Language: Haskell2010-    Ghc-Options:     -O2-    Hs-Source-Dirs:  src-    Exposed-Modules: Data.ByteString.Lex.Integral-                     Data.ByteString.Lex.Fractional-    Other-Modules:   Data.ByteString.Lex.Internal-     -- TODO(2021-10-23): bytestring 0.11.0.0 changed the internal     --   representation of ByteStrings to remove the offset.  While     --   they do offer pattern synonyms for backwards combatibility,@@ -85,6 +88,14 @@     Build-Depends:  base              >= 4.9     && < 4.21                  ,  bytestring        >= 0.10.8  && < 0.13 +Library+    Import:          library-build-depends+    Ghc-Options:     -O2+    Hs-Source-Dirs:  src+    Exposed-Modules: Data.ByteString.Lex.Integral+                     Data.ByteString.Lex.Fractional+    Other-Modules:   Data.ByteString.Lex.Internal+ ---------------------------------------------------------------- -- <https://www.haskell.org/cabal/users-guide/developing-packages.html#test-suites> -- You can either:@@ -107,23 +118,23 @@ -- test-framework seems to have no lower bound on base.  Test-Suite test-all-    Default-Language: Haskell2010+    Import:         library-build-depends     Hs-Source-Dirs: test     Type:           exitcode-stdio-1.0     -- HACK: main-is must *not* have ./test/ like it does for executables!     Main-Is:        Main.hs     Other-Modules:  Integral                  ,  Fractional-    -- We must include this library in order for the tests to use-    -- it; but we must not give a version restriction lest Cabal-    -- give warnings.-    Build-Depends:  base              >= 4.5      && < 5-                 ,  bytestring        >= 0.9.2.1  && < 0.13-                 ,  bytestring-lexing+    -- We must include our own library for the tests to use it; but+    -- we must not give a version restriction lest Cabal give warnings.+    -- There's also bug <https://github.com/haskell/cabal/issues/5119>:+    -- if we don't pass -any, then Cabal will fill in ">= 0 && <= $ThisVersion"+    -- which will also give a warning.+    Build-Depends:  bytestring-lexing -any                  ,  tasty             >= 0.10.1.2 && < 1.6                  ,  tasty-smallcheck  >= 0.8.0.1  && < 0.9-                 ,  tasty-quickcheck  >= 0.8.3.2  && < 0.11-                 -- QuickCheck        >= 2.10     && < 2.15+                 ,  tasty-quickcheck  >= 0.8.3.2  && < 0.12+                 -- QuickCheck        >= 2.10     && < 2.16                  -- smallcheck        >= 1.1.1    && < 1.3                  -- lazysmallcheck    >= 0.6      && < 0.7