markandrus/twilio-haskell

Stack install fails

Closed this issue · 4 comments

When I do a stack install twilio I get errors about my current packages not being within the constraints for install. Namely these: http://puu.sh/oZA9H.png

It sounds like the .cabal file needs updated with dependencies that are more current?

@SnowySailor thanks for the report. I think you are right—we may be able to loosen the constraints here. I will try to take a look at this tomorrow and see if the more recent versions will work.

@markandrus Sounds like a plan. Thanks.

@SnowySailor I loosened the bounds in 093b0c5. Since it passed Travis CI, I think it is safe to also loosen the bounds for the current twilio-0.1.3.1 package on Hackage.

I have just loosened them now, so can you please retry?

Thanks,
Mark

EDIT: I'm having trouble getting stack to pick up the new revision with stack update and stack install. Perhaps it will be easier to just release a 0.1.3.2… but I thought the revision functionality on Hackage was specifically for these scenarios.

Closing this issue, because I think it should work now. There is a Twilio blog post about it. Also just tried myself:

$ stack install twilio
[1 of 2] Compiling Main             ( /Users/mroberts/.stack/setup-exe-src/setup-mPHDZzAJ.hs, /Users/mroberts/.stack/setup-exe-src/setup-mPHDZzAJ.o )
[2 of 2] Compiling StackSetupShim   ( /Users/mroberts/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /Users/mroberts/.stack/setup-exe-src/setup-shim-mPHDZzAJ.o )
Linking /Users/mroberts/.stack/setup-exe-cache/x86_64-osx/tmp-Cabal-simple_mPHDZzAJ_1.22.5.0_ghc-7.10.3 ...
byteable-0.1.1: using precompiled package
base64-bytestring-1.0.0.1: using precompiled package
fail-4.9.0.0: using precompiled package
hourglass-0.2.10: using precompiled package
cereal-0.5.1.0: download
case-insensitive-1.2.0.6: download
memory-0.13: using precompiled package
cereal-0.5.1.0: configure
cookie-0.4.2: download
asn1-types-0.3.2: using precompiled package
cereal-0.5.1.0: build
cookie-0.4.2: configure
cookie-0.4.2: build
case-insensitive-1.2.0.6: configure
case-insensitive-1.2.0.6: build
asn1-encoding-0.9.3: configure
asn1-encoding-0.9.3: build
cookie-0.4.2: copy/register
case-insensitive-1.2.0.6: copy/register
cryptonite-0.15: download
http-types-0.9: download
http-types-0.9: configure
http-types-0.9: build
cryptonite-0.15: configure
asn1-encoding-0.9.3: copy/register
cryptonite-0.15: build
asn1-parse-0.9.4: configure
asn1-parse-0.9.4: build
asn1-parse-0.9.4: copy/register
mime-types-0.1.0.7: using precompiled package
network-2.6.2.1: configure
Package network uses a custom Cabal build, but does not use a custom-setup stanza
Not using the explicit setup deps approach based on configuration
Strongly recommend fixing the package's cabal file
http-types-0.9: copy/register
network-uri-2.6.1.0: using precompiled package
pem-0.2.2: using precompiled package
random-1.1: using precompiled package
cereal-0.5.1.0: copy/register
syb-0.6: using precompiled package
aeson-0.11.2.0: download
network-2.6.2.1: build
safe-0.3.9: configure
Package network uses a custom Cabal build, but does not use a custom-setup stanza
Not using the explicit setup deps approach based on configuration
Strongly recommend fixing the package's cabal file
safe-0.3.9: build
aeson-0.11.2.0: configure
aeson-0.11.2.0: build
safe-0.3.9: copy/register
unexceptionalio-0.3.0: using precompiled package
errors-2.1.2: configure
errors-2.1.2: build
errors-2.1.2: copy/register
zlib-0.6.1.1: download
zlib-0.6.1.1: configure
zlib-0.6.1.1: build
network-2.6.2.1: copy/register
Package network uses a custom Cabal build, but does not use a custom-setup stanza
Not using the explicit setup deps approach based on configuration
Strongly recommend fixing the package's cabal file
Package network uses a custom Cabal build, but does not use a custom-setup stanza
Not using the explicit setup deps approach based on configuration
Strongly recommend fixing the package's cabal file
socks-0.5.5: configure
socks-0.5.5: build
zlib-0.6.1.1: copy/register
streaming-commons-0.1.15.5: download
streaming-commons-0.1.15.5: configure
streaming-commons-0.1.15.5: build
socks-0.5.5: copy/register
streaming-commons-0.1.15.5: copy/register
http-client-0.4.28: download
http-client-0.4.28: configure
http-client-0.4.28: build
http-client-0.4.28: copy/register
cryptonite-0.15: copy/register
x509-1.6.3: configure
x509-1.6.3: build
x509-1.6.3: copy/register
x509-store-1.6.1: configure
x509-store-1.6.1: build
x509-store-1.6.1: copy/register
x509-system-1.6.3: configure
x509-system-1.6.3: build
x509-validation-1.6.3: configure
x509-validation-1.6.3: build
x509-system-1.6.3: copy/register
x509-validation-1.6.3: copy/register
aeson-0.11.2.0: copy/register
tls-1.3.8: configure
tls-1.3.8: build
tls-1.3.8: copy/register
connection-0.2.5: configure
connection-0.2.5: build
connection-0.2.5: copy/register
http-client-tls-0.2.4: download
http-client-tls-0.2.4: configure
http-client-tls-0.2.4: build
http-client-tls-0.2.4: copy/register
twilio-0.1.3.2: download
twilio-0.1.3.2: configure
twilio-0.1.3.2: build
twilio-0.1.3.2: copy/register
Completed 35 action(s).