diff --git a/pipes-lines.cabal b/pipes-lines.cabal
--- a/pipes-lines.cabal
+++ b/pipes-lines.cabal
@@ -1,8 +1,8 @@
 name:                pipes-lines
-version:             1.0.2
+version:             1.0.3.1
 synopsis:            Pipes for grouping by lines with carriage returns.
 description:
-  `pipes-lens` contains utility functions for splitting lines that involve carriage returns aka lines ending in \\r\\n
+  `pipes-lines` contains utility functions for splitting lines that involve carriage returns aka lines ending in \\r\\n
   .
   These are utility functions that were omitted from pipes-bytestring and pipes-text
 homepage:            https://github.com/mindreader/pipes-lines
@@ -23,8 +23,8 @@
                        Pipes.Text.Lines
   other-modules:       Pipes.Lines
   build-depends:
-    base >= 4.7 && < 5,
-    pipes >= 4 && < 5,
+    base >= 4.7 && < 5.0,
+    pipes >= 4.0 && < 5.0,
     pipes-group >= 1.0 && < 2.0,
     bytestring >= 0.10 && < 0.12,
     text >= 1.2 && < 2.0
@@ -41,8 +41,8 @@
                      , mtl >= 2.2 && < 3
                      , pipes >= 4 && < 5
                      , pipes-group >= 1.0 && < 2.0
-                     , lens
-                     , QuickCheck
+                     , lens >= 4.0
+                     , QuickCheck >= 2.0
   ghc-options:         -threaded -rtsopts -with-rtsopts=-N -Wall
   default-language:    Haskell2010
 
diff --git a/test/Spec.hs b/test/Spec.hs
--- a/test/Spec.hs
+++ b/test/Spec.hs
@@ -57,7 +57,7 @@
 arbitraryNetworkString :: Gen String
 arbitraryNetworkString = do
   n <- choose (1,1500)
-  (<> "\r\n") . concat <$> vectorOf n (frequency [(15, arbitrary), (1, return "\r\n")])
+  (<> "\r\n") . concat <$> vectorOf n (frequency [(15, arbitrary), (10, return "\r"), (10, return "\r"), (1, return "\r\n")])
 
 newtype SomeWords = SomeWords [String] deriving Show
 
