From acd03cbd2b9cde8973eacdc04af457321a8e996a Mon Sep 17 00:00:00 2001 From: Vitaly Bragilevsky Date: Fri, 20 Sep 2024 12:57:42 +0300 Subject: [PATCH] update deps --- hid-examples.cabal | 64 ++++++++++++++++++++++----------------------- package.yaml | 65 ++++++++++++++++++++++++++++++---------------- 2 files changed, 75 insertions(+), 54 deletions(-) diff --git a/hid-examples.cabal b/hid-examples.cabal index 6853217..ccfc2e9 100644 --- a/hid-examples.cabal +++ b/hid-examples.cabal @@ -4,7 +4,7 @@ cabal-version: 2.0 -- -- see: https://github.com/sol/hpack -- --- hash: 9050cc5d7568fbd5de24ce3d7ac4f4cc191ce2b4e2e758ceb7e0290efcafae26 +-- hash: 44b7d0895edf9c9753f7b782bbadab17db47d5d92166e223011db18c56254a4c name: hid-examples version: 0.5 @@ -102,7 +102,7 @@ library ipgen-lib ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans build-depends: base >=4.12 && <5 - , hedgehog >=0.5 && <1.5 + , hedgehog >=0.5 && <1.6 , iplookup-lib default-language: Haskell2010 @@ -139,7 +139,7 @@ library radar-lib Radar hs-source-dirs: ch02/radar - ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans + ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans -Wno-error=x-partial build-depends: base >=4.12 && <5 default-language: Haskell2010 @@ -163,14 +163,14 @@ library rpc-lib base >=4.12 && <5 , bytestring >=0.10 && <0.13 , cereal ==0.5.* - , crypton-connection ==0.3.* + , crypton-connection >=0.3 && <0.5 , exceptions ==0.10.* , haskell-src-exts >=1.20 && <1.24 , haskell-src-meta >=0.6 && <0.9 , mtl >=2.0 && <2.4 - , network >=2.8 && <3.2 + , network >=2.8 && <3.3 , network-simple >=0.4.5 && <0.5 - , template-haskell >=2.13 && <2.22 + , template-haskell >=2.13 && <2.23 default-language: Haskell2010 library shunting-yard @@ -178,7 +178,7 @@ library shunting-yard ShuntingYard, Expr hs-source-dirs: expr - ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans + ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans -Wno-error=x-partial build-depends: base >=4.12 && <5 , expr-simple @@ -199,7 +199,7 @@ executable api-servant , blaze-html ==0.9.* , servant-blaze >=0.7 && <0.10 , servant-server >=0.14 && <0.21 - , warp >=3.2 && <3.4 + , warp >=3.2 && <3.5 default-language: Haskell2010 executable api-stage0 @@ -330,7 +330,7 @@ executable copy ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans build-depends: base >=4.12 && <5 - , filepath >=1.4.1 && <1.5 + , filepath >=1.4.1 && <1.6 , resourcet >=1.2 && <1.4 , streaming >=0.2.2 && <0.4 , streaming-bytestring >=0.1.7 && <0.4 @@ -365,14 +365,14 @@ executable covid , base >=4.12 && <5 , bytestring >=0.10 && <0.13 , containers >=0.5 && <0.8 - , lens >=4.17 && <5.3 + , lens >=4.17 && <5.4 , resourcet >=1.2 && <1.4 , streaming >=0.2.2 && <0.4 , streaming-bytestring >=0.1.7 && <0.4 , streaming-utils ==0.2.* , text >=1.2 && <2.2 , text-show >=3.0 && <4 - , time >=1.8 && <1.13 + , time >=1.8 && <1.15 default-language: Haskell2010 executable csv-simple @@ -455,7 +455,7 @@ executable door-gen build-depends: base >=4.12 && <5 , singletons ==3.0.* - , singletons-base >=3.0 && <3.4 + , singletons-base >=3.0 && <3.5 default-language: Haskell2010 executable dots @@ -546,7 +546,7 @@ executable du base >=4.12 && <5 , directory ==1.3.* , extra >=1.5 && <1.8 - , filepath >=1.4.1 && <1.5 + , filepath >=1.4.1 && <1.6 , mtl >=2.0 && <2.4 , optparse-applicative >=0.14 && <0.19 , text >=1.2 && <2.2 @@ -562,7 +562,7 @@ executable dynvalues-gadt Paths_hid_examples other-extensions: GADTs - ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans + ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans -Wno-error=x-partial build-depends: base >=4.12 && <5 default-language: Haskell2010 @@ -584,7 +584,7 @@ executable elevator , fin >=0.1 && <0.4 , mtl >=2.0 && <2.4 , singletons ==3.0.* - , singletons-base >=3.0 && <3.4 + , singletons-base >=3.0 && <3.5 default-language: Haskell2010 executable evalrpn1 @@ -593,7 +593,7 @@ executable evalrpn1 EvalRPN hs-source-dirs: expr/rpn - ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans + ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans -Wno-error=x-partial build-depends: base >=4.12 && <5 , mtl >=2.0 && <2.4 @@ -605,7 +605,7 @@ executable evalrpn2 EvalRPNTrans hs-source-dirs: expr/rpn - ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans + ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans -Wno-error=x-partial build-depends: base >=4.12 && <5 , mtl >=2.0 && <2.4 @@ -624,7 +624,7 @@ executable evalrpn3 UndecidableInstances InstanceSigs LambdaCase - ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans + ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans -Wno-error=x-partial build-depends: base >=4.12 && <5 , mtl >=2.0 && <2.4 @@ -777,7 +777,7 @@ executable hello-th ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans build-depends: base >=4.12 && <5 - , template-haskell >=2.13 && <2.22 + , template-haskell >=2.13 && <2.23 default-language: Haskell2010 executable interleaving @@ -814,7 +814,7 @@ executable ipgen build-depends: base >=4.12 && <5 , exceptions ==0.10.* - , hedgehog >=0.5 && <1.5 + , hedgehog >=0.5 && <1.6 , ipgen-lib , optparse-applicative >=0.14 && <0.19 default-language: Haskell2010 @@ -851,7 +851,7 @@ executable isprime IsPrime hs-source-dirs: ch09/isprime - ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans + ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans -Wno-error=x-partial build-depends: base >=4.12 && <5 , isprime-lib @@ -867,7 +867,7 @@ executable lens-ex ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans build-depends: base >=4.12 && <5 - , lens >=4.17 && <5.3 + , lens >=4.17 && <5.4 default-language: Haskell2010 executable logging @@ -909,7 +909,7 @@ executable mstr-literals ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans -Wno-missing-signatures -Wno-incomplete-patterns build-depends: base >=4.12 && <5 - , template-haskell >=2.13 && <2.22 + , template-haskell >=2.13 && <2.23 default-language: Haskell2010 executable mvar-deadlocks @@ -1093,7 +1093,7 @@ executable predicates ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans -Wno-missing-signatures -Wno-incomplete-patterns build-depends: base >=4.12 && <5 - , template-haskell >=2.13 && <2.22 + , template-haskell >=2.13 && <2.23 default-language: Haskell2010 executable prefix-postfix @@ -1103,7 +1103,7 @@ executable prefix-postfix ShuntingYard hs-source-dirs: expr - ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans + ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans -Wno-error=x-partial build-depends: base >=4.12 && <5 , mtl >=2.0 && <2.4 @@ -1119,7 +1119,7 @@ executable projectors ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans build-depends: base >=4.12 && <5 - , template-haskell >=2.13 && <2.22 + , template-haskell >=2.13 && <2.23 default-language: Haskell2010 executable pub-sub @@ -1144,7 +1144,7 @@ executable radar ch02/radar other-extensions: DeriveAnyClass - ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans + ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans -Wno-error=x-partial build-depends: base >=4.12 && <5 , fmt >=0.5 && <0.7 @@ -1225,7 +1225,7 @@ executable stockquotes , fmt >=0.5 && <0.7 , optparse-applicative >=0.14 && <0.19 , text >=1.2 && <2.2 - , time >=1.8 && <1.13 + , time >=1.8 && <1.15 default-language: Haskell2010 executable strategies @@ -1351,7 +1351,7 @@ executable suntimes , optparse-applicative >=0.14 && <0.19 , req >=2.0 && <3.14 , text >=1.2 && <2.2 - , time >=1.8 && <1.13 + , time >=1.8 && <1.15 , transformers >=0.5 && <0.7 default-language: Haskell2010 @@ -1521,7 +1521,7 @@ executable vocab1 main-is: vocab1.hs hs-source-dirs: ch01 - ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans + ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans -Wno-error=x-partial build-depends: base >=4.12 && <5 , text >=1.2 && <2.2 @@ -1620,8 +1620,8 @@ test-suite iplookup-test ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wno-unused-top-binds -Wno-orphans -Wno-type-defaults build-depends: base >=4.12 && <5 - , filepath >=1.4.1 && <1.5 - , hedgehog >=0.5 && <1.5 + , filepath >=1.4.1 && <1.6 + , hedgehog >=0.5 && <1.6 , hspec >=2.10 && <2.12 , ipgen-lib , iplookup-lib diff --git a/package.yaml b/package.yaml index 8466754..bd7b211 100644 --- a/package.yaml +++ b/package.yaml @@ -27,7 +27,7 @@ data-files: - data/tests/iplookup/*.* - data/benchmarks/iplookup/*.* -tested-with: GHC == 9.4.7, GHC == 9.6.3 +tested-with: GHC == 9.4.7, GHC == 9.6.4 dependencies: base >=4.12 && <5 @@ -57,6 +57,8 @@ executables: main: vocab1.hs other-modules: [] dependencies: text >=1.2 && <2.2 + ghc-options: + - -Wno-error=x-partial vocab2: source-dirs: ch01 main: vocab2.hs @@ -81,6 +83,8 @@ executables: - DeriveAnyClass dependencies: - fmt >=0.5 && <0.7 + ghc-options: + - -Wno-error=x-partial # 2.2 person-derived: source-dirs: ch02/person @@ -109,7 +113,7 @@ executables: - bytestring >=0.10 && <0.13 - blaze-html >=0.9 && <0.10 - optparse-applicative >=0.14 && <0.19 - - time >=1.8 && <1.13 + - time >=1.8 && <1.15 - text >=1.2 && <2.2 - fmt >=0.5 && <0.7 - Chart >=1.8 && <1.10 @@ -160,6 +164,8 @@ executables: dependencies: - text-show >=3.0 && <4 - mtl >=2.0 && <2.4 + ghc-options: + - -Wno-error=x-partial dicegame: source-dirs: ch05 main: dicegame.hs @@ -187,12 +193,16 @@ executables: other-modules: [EvalRPN] dependencies: - mtl >= 2.0 && < 2.4 + ghc-options: + - -Wno-error=x-partial evalrpn2: source-dirs: expr/rpn main: evalrpn2.hs other-modules: [EvalRPNTrans] dependencies: - mtl >= 2.0 && < 2.4 + ghc-options: + - -Wno-error=x-partial evalrpn3: source-dirs: expr/rpn main: evalrpn3.hs @@ -206,12 +216,14 @@ executables: - UndecidableInstances - InstanceSigs - LambdaCase + ghc-options: + - -Wno-error=x-partial du: source-dirs: du main: Main.hs dependencies: - mtl >=2.0 && <2.4 - - filepath >= 1.4.1 && < 1.5 + - filepath >= 1.4.1 && < 1.6 - directory >= 1.3 && < 1.4 - unix-compat >= 0.5 && < 0.8 - optparse-applicative >= 0.14 && < 0.19 @@ -248,7 +260,7 @@ executables: dependencies: - mtl >= 2.0 && < 2.4 - transformers >=0.5 && <0.7 - - time >=1.8 && <1.13 + - time >=1.8 && <1.15 - text >=1.2 && <2.2 - exceptions >= 0.10 && < 0.11 - aeson >= 1.2 && < 2.3 @@ -282,7 +294,7 @@ executables: - ipgen-lib - exceptions >= 0.10 && < 0.11 - optparse-applicative >= 0.14 && < 0.19 - - hedgehog >= 0.5 && < 1.5 + - hedgehog >= 0.5 && < 1.6 # Chapter 9 unboxed: main: ch09/unboxed.hs @@ -296,6 +308,8 @@ executables: dependencies: - isprime-lib - timeit >= 2.0 && < 2.1 + ghc-options: + - -Wno-error=x-partial # Chapter 10 iplookup-simulation: main: ip/iplookup-simulation.hs @@ -360,6 +374,9 @@ executables: main: ch11/dynvalues-gadt.hs other-extensions: - GADTs + ghc-options: + - -Wno-error=x-partial + expr-gadt: main: expr/gadts/Main.hs other-extensions: @@ -412,19 +429,19 @@ executables: main: Main.hs other-modules: [ Hello ] dependencies: - - template-haskell >=2.13 && <2.22 + - template-haskell >=2.13 && <2.23 projectors: source-dirs: ch12/th/projectors/ main: Main.hs other-modules: [ Projectors ] dependencies: - - template-haskell >=2.13 && <2.22 + - template-haskell >=2.13 && <2.23 predicates: source-dirs: ch12/th/predicates/ main: Main.hs other-modules: [ Predicates ] dependencies: - - template-haskell >=2.13 && <2.22 + - template-haskell >=2.13 && <2.23 ghc-options: - -Wno-missing-signatures - -Wno-incomplete-patterns @@ -433,7 +450,7 @@ executables: main: Main.hs other-modules: [ Str ] dependencies: - - template-haskell >=2.13 && <2.22 + - template-haskell >=2.13 && <2.23 ghc-options: - -Wno-missing-signatures - -Wno-incomplete-patterns @@ -482,7 +499,7 @@ executables: dependencies: - servant-server >=0.14 && <0.21 - servant-blaze >=0.7 && <0.10 - - warp >=3.2 && < 3.4 + - warp >=3.2 && < 3.5 - aeson >= 1.2 && < 2.3 - blaze-html >=0.9 && <0.10 unsafe-elevator: @@ -511,7 +528,7 @@ executables: - StandaloneDeriving dependencies: - singletons >= 3.0 && < 3.1 - - singletons-base >= 3.0 && < 3.4 + - singletons-base >= 3.0 && < 3.5 ghc-options: - -Wno-unticked-promoted-constructors elevator: @@ -527,7 +544,7 @@ executables: - fin >= 0.1 && < 0.4 - dec >= 0.0.3 && < 0.1 - singletons >= 3.0 && < 3.1 - - singletons-base >= 3.0 && < 3.4 + - singletons-base >= 3.0 && < 3.5 - mtl >=2.0 && <2.4 ghc-options: - -Wno-unticked-promoted-constructors @@ -553,7 +570,7 @@ executables: - streaming >=0.2.2 && <0.4 - streaming-bytestring >=0.1.7 && <0.4 - resourcet >=1.2 && <1.4 - - filepath >= 1.4.1 && < 1.5 + - filepath >= 1.4.1 && < 1.6 csv-simple: main: ch14/csv-simple.hs dependencies: @@ -567,17 +584,17 @@ executables: lens-ex: main: ch14/lens-ex.hs dependencies: - - lens >= 4.17 && < 5.3 + - lens >= 4.17 && < 5.4 covid: source-dirs: ch14/covid main: Main.hs dependencies: - bytestring >=0.10 && <0.13 - - time >=1.8 && <1.13 + - time >=1.8 && <1.15 - text >=1.2 && <2.2 - text-show >=3.0 && <4 - containers >= 0.5 && < 0.8 - - lens >= 4.17 && < 5.3 + - lens >= 4.17 && < 5.4 - streaming-utils >=0.2 && <0.3 - streaming-bytestring >=0.1.7 && <0.4 - streaming >=0.2.2 && <0.4 @@ -744,6 +761,8 @@ internal-libraries: source-dirs: ch02/radar exposed-modules: Radar other-modules: [] + ghc-options: + - -Wno-error=x-partial expr-simple: source-dirs: expr exposed-modules: Expr @@ -765,6 +784,8 @@ internal-libraries: - expr-simple - mtl >=2.0 && <2.4 - text-show >=3.0 && <4 + ghc-options: + - -Wno-error=x-partial # Chapter 8 iplookup-lib: source-dirs: ip/lookup @@ -788,7 +809,7 @@ internal-libraries: other-modules: [] dependencies: - iplookup-lib - - hedgehog >= 0.5 && < 1.5 + - hedgehog >= 0.5 && < 1.6 # Chapter 9 isprime-lib: source-dirs: ch09/isprime @@ -807,11 +828,11 @@ internal-libraries: - bytestring >=0.10 && <0.13 - mtl >=2.0 && <2.4 - cereal >= 0.5 && <0.6 - - network >= 2.8 && <3.2 - - crypton-connection >= 0.3 && <0.4 + - network >= 2.8 && <3.3 + - crypton-connection >= 0.3 && <0.5 - network-simple >=0.4.5 && <0.5 - exceptions >= 0.10 && < 0.11 - - template-haskell >= 2.13 && <2.22 + - template-haskell >= 2.13 && <2.23 - haskell-src-exts >= 1.20 && <1.24 - haskell-src-meta >= 0.6 && < 0.9 tests: @@ -851,9 +872,9 @@ tests: - tasty-hspec >= 1.1 && < 1.3 - hspec >= 2.10 && < 2.12 - tasty-hedgehog >= 0.1 && < 1.5 - - hedgehog >= 0.5 && < 1.5 + - hedgehog >= 0.5 && < 1.6 - tasty-golden >= 2.3 && < 2.4 - - filepath >= 1.4.1 && < 1.5 + - filepath >= 1.4.1 && < 1.6 ghc-options: - -Wno-type-defaults iplookup-doctest: