Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warning: showVersion #10

Open
langston-barrett opened this issue Aug 14, 2018 · 0 comments
Open

Deprecation warning: showVersion #10

langston-barrett opened this issue Aug 14, 2018 · 0 comments

Comments

@langston-barrett
Copy link
Contributor

The following deprecation warning shows up when building abcBridge:

[1 of 1] Compiling Main             ( /home/travis/build/GaloisInc/abcBridge/dist-newstyle/build/x86_64-linux/ghc-8.4.3/abcBridge-0.17.1/setup/setup.hs, /home/travis/build/GaloisInc/abcBridge/dist-newstyle/build/x86_64-linux/ghc-8.4.3/abcBridge-0.17.1/setup/Main.o )
/home/travis/build/GaloisInc/abcBridge/dist-newstyle/build/x86_64-linux/ghc-8.4.3/abcBridge-0.17.1/setup/setup.hs:111:51: warning: [-Wdeprecations]
    In the use of ‘showVersion’
    (imported from Distribution.Version, but defined in Distribution.Types.Version):
    Deprecated: "Use prettyShow. This function will be removed in Cabal-3.0 (estimated Oct 2018)"
    |
111 |     putStrLn $ unwords ["Cabal library version:", showVersion Distribution.Simple.Utils.cabalVersion]
    |                                                   ^^^^^^^^^^^
/home/travis/build/GaloisInc/abcBridge/dist-newstyle/build/x86_64-linux/ghc-8.4.3/abcBridge-0.17.1/setup/setup.hs:117:28: warning: [-Wdeprecations]
    In the use of ‘showVersion’
    (imported from Distribution.Version, but defined in Distribution.Types.Version):
    Deprecated: "Use prettyShow. This function will be removed in Cabal-3.0 (estimated Oct 2018)"
    |
117 |         ([(packageVersion, showVersion version)] ++ filter ((/=packageVersion) . fst) env)
    |                            ^^^^^^^^^^^
Linking /home/travis/build/GaloisInc/abcBridge/dist-newstyle/build/x86_64-linux/ghc-8.4.3/abcBridge-0.17.1/setup/setup ...

See https://travis-ci.org/GaloisInc/abcBridge/jobs/414719905#L545.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant