Giter Club home page Giter Club logo

doctest-driver-gen's People

Contributors

andreasabel avatar bergmark avatar dzhus avatar hexirp avatar minoru avatar qrilka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

doctest-driver-gen's Issues

`cabal v2-test` fails for `doctest-driver-gen` with GHC 7.10

Is doctest-driver-gen useable with GHC 7?

$ cabal test -w ghc-7.10.3
...
Build profile: -w ghc-7.10.3 -O1
In order, the following will be built (use -v for more details):
 - doctest-driver-gen-0.3.0.5 (test:doctest-driver-gen-test) (first run)
...
Building test suite 'doctest-driver-gen-test' for doctest-driver-gen-0.3.0.5..
...
Test suite doctest-driver-gen-test: RUNNING...

/var/folders/lg/qcd3v89j59l3m6520kr42bdm0000gn/T/ghc24798_0/ghc_1.hspp:2:8:
    Could not find module ‘Test.DocTest’
    There are files missing in the ‘doctest-0.16.0.1@2dI5NUsDb1iKZ4RIj2rNrH’ package,
    try running 'ghc-pkg check'.
    Use -v to see a list of the files searched for.

Test suite doctest-driver-gen-test: FAIL

The complaint about doctest-0.16.0.1 is unexpected, since doctest-0.20 was used in the build:

$ cabal-plan
...
Direct deps
~~~~~~~~~~~

PkgId (PkgName "doctest-driver-gen") (Ver [0,3,0,5])
CompNameLib
  base-4.8.2.0

PkgId (PkgName "doctest-driver-gen") (Ver [0,3,0,5])
CompNameExe "doctest-driver-gen"
  base-4.8.2.0
  doctest-driver-gen-0.3.0.5

PkgId (PkgName "doctest-driver-gen") (Ver [0,3,0,5])
CompNameTest "doctest-driver-gen-test"
  base-4.8.2.0
  doctest-0.20.0

UPDATE: In a pristine env, the error is also Could not find module ‘Test.DocTest’, but with out references to stale packages: https://github.com/andreasabel/doctest-driver-gen/runs/5175130922?check_suite_focus=true#step:20:37

Out of the box, it seems to work with GHC >= 8 but not with < 8: https://github.com/andreasabel/doctest-driver-gen/runs/5175130998?check_suite_focus=true

Support GHC 9.2

Building on GHC 9.2 works if base is bumped

$ cabal install doctest-driver-gen --allow-newer=doctest-driver-gen:base
Resolving dependencies...
Build profile: -w ghc-9.2.1 -O1
In order, the following will be built (use -v for more details):
 - doctest-driver-gen-0.3.0.4 (lib) (requires download & build)
 - doctest-driver-gen-0.3.0.4 (exe:doctest-driver-gen) (requires download & build)

But the testsuite is blocked on doctest:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.