[stack] this compiles without allow-newer, allow-older

Don't know if cabal works though
parent bac174eb
......@@ -16,14 +16,13 @@ module Main where
import Common
import Data.Aeson
import Data.List (nub)
import Data.Text qualified as T
import GHC.IO.Encoding
import GHC.Stack
import Gargantext.Core.Viz.Phylo
import Gargantext.Core.Viz.Phylo.API.Tools
import Gargantext.Core.Viz.Phylo.PhyloExport (toPhyloExport, dotToFile)
import Gargantext.Core.Viz.Phylo.PhyloMaker (toPhylo, toPhyloWithoutLink)
import Gargantext.Core.Viz.Phylo.PhyloTools (printIOMsg, printIOComment, setConfig, toPeriods, getTimePeriod, getTimeStep)
import Gargantext.Core.Viz.Phylo.PhyloTools (printIOMsg, printIOComment, setConfig)
import Paths_gargantext
import Prelude
import Shelly
......
......@@ -210,8 +210,8 @@ source-repository-package
location: https://github.com/garganscript/smtp-mail.git
tag: d9a2df6354c1e42bb050853feadacb30c76366d3
allow-older: *
allow-newer: *
-- allow-older: *
-- allow-newer: *
package gargantext
ghc-options: -fwrite-ide-info -hiedir=".stack-work/hiedb"
......
......@@ -63,7 +63,11 @@ common defaults
default-language: Haskell2010
build-depends:
base >=4.7 && <5
, aeson ^>= 2.2.1.0
, aeson ^>= 2.1.2.1
, bytestring ^>= 0.11.5.2
, text ^>= 2.0.2
, time ^>= 1.12.2
, vector ^>= 0.12.3.0
common optimized
ghc-options:
......@@ -72,7 +76,23 @@ common optimized
-rtsopts
-with-rtsopts=-N
-Wmissing-signatures
common tests
import: defaults
build-depends:
QuickCheck ^>= 2.14.2
, hspec ^>= 2.7.10
, hspec-core
, hspec-expectations >= 0.8 && < 0.9
, hspec-wai
, hspec-wai-json
, tasty ^>= 1.5
, tasty-hspec
, tasty-hunit
, tasty-quickcheck
, tasty-smallcheck
, validity ^>= 0.12.3.0
-- When enabled, it swaps the hashing algorithm
-- with a quicker (and less secure) version, which
-- runs faster in tests.
......@@ -446,7 +466,7 @@ library
HSvm ^>= 0.1.1.3.22
, KMP ^>= 0.2.0.0
, MissingH ^>= 1.4.3.0
, MonadRandom ^>= 0.5.3
, MonadRandom ^>= 0.6
, QuickCheck ^>= 2.14.2
, Unique ^>= 0.4.7.8
, accelerate ^>= 1.3.0.0
......@@ -457,16 +477,15 @@ library
, ansi-terminal
, array ^>= 0.5.4.0
, async ^>= 2.2.4
, attoparsec ^>= 0.13.2.5
, attoparsec ^>= 0.14.4
, auto-update ^>= 0.1.6
, base16-bytestring ^>= 1.0.2.0
, base64-bytestring ^>= 1.1.0.0
, base64-bytestring ^>= 1.2.1.0
, bimap >= 0.5.0
, blaze-html ^>= 0.9.1.2
, blaze-markup ^>= 0.8.2.8
, blaze-svg ^>= 0.3.6.1
, boolexpr ^>= 0.2
, bytestring ^>= 0.10.12.0
, boolexpr ^>= 0.3
, case-insensitive ^>= 1.2.1.0
, cassava ^>= 0.5.2.0
, cereal ^>= 0.5.8.2
......@@ -494,26 +513,26 @@ library
, exceptions ^>= 0.10.4
, extended-reals ^>= 0.2.4.0
, extra ^>= 1.7.9
, fast-logger ^>= 3.0.5
, fast-logger ^>= 3.2.2
, fclabels ^>= 2.0.5
, fgl ^>= 5.7.0.3
, fgl ^>= 5.8.0.0
, filelock ^>= 0.1.1.5
, filepath ^>= 1.4.2.1
, fmt
, formatting ^>= 7.1.3
, formatting ^>= 7.2.0
, full-text-search ^>= 0.2.1.4
, fullstop ^>= 0.1.4
, gargantext-graph >=0.1.0.0
, gargantext-prelude
, graphviz ^>= 2999.20.1.0
, hashable ^>= 1.3.0.0
, hashable ^>= 1.4.3.0
, haskell-igraph ^>= 0.10.4
, hlcm ^>= 0.2.2
, hsinfomap ^>= 0.1
, hsparql ^>= 0.3.8
, hstatistics ^>= 0.3.1
, http-api-data ^>= 0.4.2
, http-client ^>= 0.6.4.1
, http-api-data ^>= 0.5
, http-client ^>= 0.7.14
, http-client-tls ^>= 0.3.5.3
, http-conduit ^>= 2.3.8
, http-media ^>= 0.8.0.0
......@@ -525,7 +544,7 @@ library
, ini ^>= 0.4.1
, insert-ordered-containers ^>= 0.2.5.1
, iso639
, jose ^>= 0.8.4
, jose ^>= 0.10
, json-stream ^>= 0.4.2.4
, lens >= 5.2.2 && < 5.3
, lens-aeson < 1.3
......@@ -551,15 +570,15 @@ library
, network-uri ^>= 2.6.4.1
, opaleye ^>= 0.9.6.1
, openalex
, pandoc ^>= 2.14.0.3
, pandoc ^>= 3.0.1
, parallel ^>= 3.2.2.0
, parsec ^>= 3.1.14.0
, patches-class ^>= 0.1.0.1
, patches-map ^>= 0.1.0.1
, path ^>= 0.8.0
, path-io ^>= 1.6.3
, path ^>= 0.9.5
, path-io ^>= 1.8.1
, postgresql-simple ^>= 0.6.4
, pretty-simple ^>= 4.0.0.0
, pretty-simple ^>= 4.1.2.0
, probability ^>= 0.2.7
, process ^>= 1.6.13.2
, product-profunctors ^>= 0.11.0.3
......@@ -572,14 +591,14 @@ library
, rdf4h ^>= 3.1.1
, regex-compat ^>= 0.95.2.1
, regex-tdfa ^>= 1.3.1.2
, replace-attoparsec ^>= 1.4.5.0
, resource-pool ^>= 0.2.3.2
, replace-attoparsec ^>= 1.5.0.0
, resource-pool ^>= 0.4.0.0
, resourcet ^>= 1.2.4.3
, safe ^>= 0.3.19
, scientific ^>= 0.3.7.0
, semigroups ^>= 0.19.2
, semigroups ^>= 0.20
, serialise ^>= 0.2.4.0
, servant >= 0.18.3 && < 0.20
, servant ^>= 0.20.1
, servant-auth ^>= 0.4.0.0
, servant-auth-client ^>= 0.4.1.0
, servant-auth-server ^>=0.4.6.0
......@@ -587,30 +606,28 @@ library
, servant-blaze ^>= 0.9.1
, servant-cassava ^>= 0.10.1
, servant-client >= 0.18.3 && < 0.20
, servant-client-core >= 0.18.3 && < 0.20
, servant-client-core ^>= 0.20
, servant-ekg ^>= 0.3.1
, servant-flatten ^>= 0.2
, servant-job >= 0.2.0.0
, servant-multipart ^>= 0.12.1
, servant-server >= 0.18.3 && < 0.20
, servant-server ^>= 0.20
, servant-swagger ^>= 1.1.10
, servant-swagger-ui ^>= 0.3.5.3.5.0
, servant-xml-conduit >= 0.1.0.4
, simple-reflect ^>= 0.3.3
, singletons ^>= 2.7
, singletons ^>= 3.0.2
, singletons-th >= 3.1
, snowball ^>= 1.0.0.1
, split ^>= 0.2.3.4
, stm ^>= 2.5.0.1
, swagger2 ^>= 2.6
, swagger2 ^>= 2.8.7
, taggy-lens ^>= 0.1.2
, tagsoup ^>= 0.14.8
, template-haskell ^>= 2.16.0.0
, template-haskell ^>= 2.19.0.0
, temporary ^>= 1.3
, text ^>= 1.2.4.1
, text-conversions ^>= 0.3.1
, text-metrics ^>= 0.3.2
, time ^>= 1.9.3
, time-locale-compat ^>= 0.1.1.5
, timezone-series ^>= 0.1.13
, transformers ^>= 0.5.6.2
......@@ -621,8 +638,7 @@ library
, uri-encode ^>= 1.5.0.7
, utf8-string ^>= 1.0.2
, uuid ^>= 1.3.15
, validity ^>= 0.11.0.1
, vector ^>= 0.12.3.0
, validity ^>= 0.12.0.2
, wai >= 3.2.4
, wai-app-static ^>= 3.1.7.3
, wai-cors ^>= 0.2.7
......@@ -630,12 +646,12 @@ library
, wai-websockets ^>= 3.0.1.2
, warp ^>= 3.3.20
, websockets ^>= 0.12.7.3
, wikiparsec ^>= 1.2.0
, wikiparsec ^>= 2.1.0
, wreq ^>= 0.5.3.3
, xml-conduit ^>= 1.9.1.3
, xml-types ^>= 0.3.8
, yaml ^>= 0.11.8.0
, zip ^>= 1.7.2
, zip ^>= 2.0.0
, zlib ^>= 0.6.2.3
executable gargantext-admin
......@@ -651,7 +667,6 @@ executable gargantext-admin
extra
, gargantext
, gargantext-prelude
, text
executable gargantext-cli
import:
......@@ -665,7 +680,6 @@ executable gargantext-cli
bin/gargantext-cli
build-depends:
async ^>= 2.2.4
, bytestring ^>= 0.10.12.0
, cassava ^>= 0.5.2.0
, containers ^>= 0.6.5.1
, extra ^>= 1.7.9
......@@ -676,9 +690,7 @@ executable gargantext-cli
, optparse-generic ^>= 1.4.7
, protolude ^>= 0.3.3
, split ^>= 0.2.3.4
, text ^>= 1.2.4.1
, unordered-containers ^>= 0.2.16.0
, vector ^>= 0.12.3.0
executable gargantext-db-obfuscation
import:
......@@ -698,7 +710,6 @@ executable gargantext-db-obfuscation
, gargantext-prelude
, optparse-simple
, postgresql-simple ^>= 0.6.4
, text
executable gargantext-import
import:
......@@ -715,8 +726,7 @@ executable gargantext-import
extra ^>= 1.7.9
, gargantext
, gargantext-prelude
, servant-server ^>= 0.18.3
, text ^>= 1.2.4.1
, servant-server ^>= 0.20
executable gargantext-init
import:
......@@ -732,7 +742,6 @@ executable gargantext-init
, extra ^>= 1.7.9
, gargantext
, gargantext-prelude
, text ^>= 1.2.4.1
executable gargantext-invitations
import:
......@@ -747,7 +756,6 @@ executable gargantext-invitations
extra ^>= 1.7.9
, gargantext
, gargantext-prelude
, text ^>= 1.2.4.1
executable gargantext-phylo
import:
......@@ -777,7 +785,6 @@ executable gargantext-phylo
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -O2 -Wmissing-signatures
build-depends:
async ^>= 2.2.4
, bytestring ^>= 0.10.12.0
, cassava ^>= 0.5.2.0
, containers ^>= 0.6.5.1
, cryptohash ^>= 0.11.9
......@@ -789,10 +796,7 @@ executable gargantext-phylo
, optparse-generic ^>= 1.4.7
, parallel ^>= 3.2.2.0
, split ^>= 0.2.3.4
, text ^>= 1.2.4.1
, time ^>= 1.9.3
, unordered-containers ^>= 0.2.16.0
, vector ^>= 0.7.3
executable gargantext-server
import:
......@@ -813,9 +817,7 @@ executable gargantext-server
, ini ^>= 0.4.1
, optparse-generic ^>= 1.4.7
, postgresql-simple ^>= 0.6.4
, text ^>= 1.2.4.1
, unordered-containers ^>= 0.2.16.0
, vector ^>= 0.7.3
executable gargantext-upgrade
import:
......@@ -832,11 +834,9 @@ executable gargantext-upgrade
, gargantext
, gargantext-prelude
, postgresql-simple ^>= 0.6.4
, text ^>= 1.2.4.1
test-suite garg-test-tasty
import:
defaults
import: tests
type: exitcode-stdio-1.0
main-is: drivers/tasty/Main.hs
other-modules:
......@@ -876,28 +876,21 @@ test-suite garg-test-tasty
test
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
build-depends:
QuickCheck ^>= 2.14.2
, aeson-qq
aeson-qq
, async ^>= 2.2.4
, boolexpr ^>= 0.2
, bytestring ^>= 0.10.12.0
, boolexpr ^>= 0.3
, case-insensitive
, conduit ^>= 1.3.4.2
, containers ^>= 0.6.5.1
, crawlerArxiv
, duckling ^>= 0.2.0.0
, extra ^>= 1.7.9
, fast-logger ^>= 3.0.5
, fast-logger ^>= 3.2.2
, fmt
, gargantext
, gargantext-prelude
, hspec ^>= 2.7.10
, hspec-core
, hspec-expectations >= 0.8 && < 0.9
, hspec-wai
, hspec-wai-json
, http-api-data
, http-client ^>= 0.6.4.1
, http-api-data ^>= 0.5
, http-client ^>= 0.7.14
, http-client-tls ^>= 0.3.5.3
, http-types
, lens >= 5.2.2 && < 5.3
......@@ -913,33 +906,24 @@ test-suite garg-test-tasty
, quickcheck-instances ^>= 0.3.25.2
, raw-strings-qq
, recover-rtti >= 0.4 && < 0.5
, resource-pool >= 0.2.3.2 && < 0.2.4
, resource-pool ^>= 0.4.0.0
, servant-auth
, servant-auth
, servant-auth-client
, servant-client
, servant-job
, servant-server
, servant-server ^>= 0.20
, shelly >= 1.9 && < 2
, stm ^>= 2.5.0.1
, tasty ^>= 1.5
, tasty-hspec
, tasty-hunit
, tasty-quickcheck
, tasty-smallcheck
, template-haskell
, text ^>= 1.2.4.1
, time ^>= 1.9.3
, template-haskell ^>= 2.19.0.0
, tmp-postgres >= 1.34.1 && < 1.35
, unordered-containers ^>= 0.2.16.0
, validity ^>= 0.11.0.1
, wai
, wai-extra
, warp
test-suite garg-test-hspec
import:
defaults
import: tests
type: exitcode-stdio-1.0
main-is: drivers/hspec/Main.hs
other-modules:
......@@ -961,29 +945,22 @@ test-suite garg-test-hspec
test
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
build-depends:
QuickCheck ^>= 2.14.2
, aeson-qq
aeson-qq
, async ^>= 2.2.4
, boolexpr ^>= 0.2
, bytestring ^>= 0.10.12.0
, boolexpr ^>= 0.3
, case-insensitive
, conduit ^>= 1.3.4.2
, containers ^>= 0.6.5.1
, crawlerArxiv
, duckling ^>= 0.2.0.0
, extra ^>= 1.7.9
, fast-logger ^>= 3.0.5
, fast-logger ^>= 3.2.2
, fmt
, gargantext
, gargantext-prelude
, hspec ^>= 2.7.10
, hspec-core
, hspec-expectations >= 0.8 && < 0.9
, hspec-wai
, hspec-wai-json
, http-api-data
, http-api-data ^>= 0.5
, http-types
, http-client ^>= 0.6.4.1
, http-client ^>= 0.7.14
, http-client-tls ^>= 0.3.5.3
, lens >= 5.2.2 && < 5.3
, monad-control >= 1.0.3 && < 1.1
......@@ -998,46 +975,43 @@ test-suite garg-test-hspec
, quickcheck-instances ^>= 0.3.25.2
, raw-strings-qq
, recover-rtti >= 0.4 && < 0.5
, resource-pool >= 0.2.3.2 && < 0.2.4
, resource-pool ^>= 0.4.0.0
, servant-auth
, servant-auth-client
, servant-client
, servant-job
, servant-server
, servant-server ^>= 0.20
, shelly >= 1.9 && < 2
, stm ^>= 2.5.0.1
, tasty ^>= 1.5
, tasty-hspec
, tasty-hunit
, tasty-quickcheck
, tasty-smallcheck
, template-haskell
, text ^>= 1.2.4.1
, time ^>= 1.9.3
, template-haskell ^>= 2.19.0.0
, tmp-postgres >= 1.34.1 && < 1.35
, unordered-containers ^>= 0.2.16.0
, validity ^>= 0.11.0.1
, wai
, wai-extra
, warp
benchmark garg-bench
import:
defaults
, optimized
main-is: Main.hs
hs-source-dirs: bench
type: exitcode-stdio-1.0
other-modules:
Paths_gargantext
build-depends: base
, bytestring
, deepseq
, gargantext
, gargantext-prelude
, tasty-bench
build-depends:
, deepseq
, gargantext
, gargantext-prelude
, tasty-bench
ghc-options: "-with-rtsopts=-T -A32m"
if impl(ghc >= 8.6)
ghc-options: "-with-rtsopts=--nonmoving-gc"
executable gargantext-phylo-profile
import:
defaults
, optimized
main-is: Main.hs
other-modules:
Paths_gargantext
......@@ -1047,16 +1021,12 @@ executable gargantext-phylo-profile
default-extensions: GHC2021
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -O2 -Wmissing-signatures
build-depends:
base
, bytestring
aeson ^>= 2.1.2.1
, async
, cryptohash
, directory
, gargantext
, gargantext-prelude
, shelly
, text
, async
, cryptohash
, aeson
, split
, vector
, directory
default-language: Haskell2010
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment