From a7eec687ea0fdbb7e4227fae85390b70457104fa Mon Sep 17 00:00:00 2001 From: Matthieu Monsch Date: Sat, 4 Apr 2020 11:07:25 -0700 Subject: [PATCH] Trim transitive tracing dependencies Most of the previous entries are not needed anymore. `ip` is the only one which isn't already transitively depended on (I kept it and moved it under its owner). For reference, here is the full list of dependencies $ stack ls dependencies --no-include-base --test HUnit 1.6.0.0 QuickCheck 2.13.1 aeson 1.4.3.0 ansi-terminal 0.9.1 async 2.2.2 attoparsec 0.13.2.2 base-compat 0.10.5 base16-bytestring 0.1.1.6 basement 0.0.10 binary 0.8.6.0 blaze-builder 0.4.1.0 bytestring 0.10.8.2 case-insensitive 1.2.0.11 containers 0.6.0.1 cookie 0.4.4 deepseq 1.4.4.0 directory 1.3.3.0 dlist 0.8.0.6 exceptions 0.10.2 ghc-prim 0.5.3 hashable 1.2.7.0 hspec 2.7.1 hspec-core 2.7.1 hspec-discover 2.7.1 hspec-expectations 0.8.2 http-client 0.6.4 http-types 0.12.3 integer-gmp 1.0.2.0 integer-logarithms 1.0.3 ip 1.5.0 memory 0.14.18 mime-types 0.1.0.9 mtl 2.2.2 network 2.8.0.1 network-uri 2.6.1.0 parsec 3.1.13.0 pretty 1.1.3.6 primitive 0.6.4.0 process 1.6.5.0 quickcheck-io 0.2.0 random 1.1 rts 1.0 scientific 0.3.6.2 setenv 0.1.1.3 splitmix 0.0.2 stm 2.5.0.0 streaming-commons 0.2.1.1 tagged 0.8.6 template-haskell 2.14.0.0 text 1.2.3.1 tf-random 0.5 th-abstraction 0.3.1.0 time 1.8.0.2 time-locale-compat 0.1.1.5 tracing 0.0.4.1 transformers-compat 0.6.5 unix 2.7.2.2 unliftio 0.2.11 unliftio-core 0.1.2.0 unordered-containers 0.2.10.0 uuid-types 1.0.3 vector 0.12.0.3 wide-word 0.1.0.8 zlib 0.6.2 Note that it contains a few entries which are transitive dependencies of packages which are already in the build constraints. For example: * binary < scientific * deepseq < bytestring * integer-gmp < integer-logarithms * process < unliftio * stm < streaming-commons --- build-constraints.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/build-constraints.yaml b/build-constraints.yaml index 97c44de3..1fe060c8 100644 --- a/build-constraints.yaml +++ b/build-constraints.yaml @@ -59,16 +59,6 @@ packages: - flags-applicative - more-containers - tracing - # transitive dependencies for tracing - - ip - - byteslice - - bytesmith - - contiguous - - natural-arithmetic - - primitive-offset - - primitive-unlifted - - run-st - - small-bytearray-builder "Robert Vollmert @robx": - configurator-pg @@ -1072,6 +1062,7 @@ packages: "Andrew Thaddeus Martin @andrewthad": - colonnade < 0 # via profunctors-5.5 - blaze-colonnade < 0 # via profunctors-5.5 + - ip "Chris Allen @bitemyapp": - machines-directory < 0 # via machines-0.7