eggzilla / BlastHTTP

Haskell cabal libary for submission and result retrieval from the NCBI Blast REST webservice
GNU General Public License v3.0
5 stars 2 forks source link

BlastHTTP-1.2.1 build failure with http-conduit-2.3 #1

Open DanBurton opened 6 years ago

DanBurton commented 6 years ago

As seen on the Stackage build server:

Building library for BlastHTTP-1.2.1..
[1 of 1] Compiling Bio.BlastHTTP    ( src/Bio/BlastHTTP.hs, dist/build/Bio/BlastHTTP.o )

src/Bio/BlastHTTP.hs:89:5: error:
    Variable not in scope:
      withManager
        :: (Manager -> m0 (Network.HTTP.Conduit.Response L8.ByteString))
           -> IO (Network.HTTP.Conduit.Response L8.ByteString)
   |
89 |     withManager $ httpLbs req
   |     ^^^^^^^^^^^

I was able to reproduce the error locally like so:

stack unpack BlastHTTP-1.2.1 && cd BlastHTTP-1.2.1
edit stack.yaml # add the following stack.yaml
stack build
# stack.yaml
resolver: nightly-2018-03-10
extra-deps:
- http-conduit-2.3.0
DanBurton commented 6 years ago

I've removed BlastHTTP from the Stackage nightly build plan, and unfortunately it won't appear in the initial LTS 11 release.

To get back into nightly, open a PR on the Stackage repo as usual. To get into LTS 11, open an issue on https://github.com/fpco/lts-haskell/issues.

eggzilla commented 6 years ago

Hi, thanks for the info, I am already looking into it