commercialhaskell / stackage

Stable Haskell package sets: vetted consistent packages from Hackage
https://www.stackage.org/
MIT License
529 stars 807 forks source link

servant-static-th test failures #6090

Closed mihaimaruseac closed 2 years ago

mihaimaruseac commented 3 years ago
Preprocessing library for servant-static-th-1.0.0.0..                                                                                                                                                                                         
Building library for servant-static-th-1.0.0.0..                                                                                                                                                                                              
Preprocessing test suite 'servant-static-th-test' for servant-static-th-1.0.0.0..                                                                                                                                                             
Building test suite 'servant-static-th-test' for servant-static-th-1.0.0.0..                                                                                                                                                                  
[3 of 6] Compiling Spec.ServerSpec                                                                                                                                                                                                            

/var/stackage/work/unpack-dir/unpacked/servant-static-th-1.0.0.0-13269fcc1c871ee1548d31010f0278484318bffbd9b8e0c0bfdfab4e27d6c3d5/test/Spec/ServerSpec.hs:15:36: error:
    Module ‘Test.Tasty.Hspec’ does not export ‘it’
   |
15 | import Test.Tasty.Hspec (testSpec, it)
   |                                    ^^

CC @cdepillabout

cdepillabout commented 3 years ago

@mihaimaruseac How are you generating this error?

I tried compiling servant-static-th with LTS-18.0, and it compiled fine.

I tried compiling it against nightly-2021-06-24, but I got errors that servant isn't available in the package set. How can I reproduce this error?


edit: I was able to reproduce this error by building with cabal. I have a PR open to fix it: https://github.com/cdepillabout/servant-static-th/pull/20

bergmark commented 3 years ago

@cdepillabout please try nightly-2021-06-29

cdepillabout commented 3 years ago

@bergmark Thanks, it looks like it wasn't appearing on the stackage.org website when I tried a few hours ago.

bergmark commented 3 years ago

When we report failures, the snapshot hasn't finished building yet. So there is some lag.

bergmark commented 2 years ago

We're closing this since we upgraded to GHC 9.2.2. Packages that hadn't been updated have been disabled. If so, they are listed in https://github.com/commercialhaskell/stackage/issues/6486. If only tests/benchmarks are disabled you can find mentions of that under skipped-test, expected-test-failures, or expected-benchmark in build-constraints.yaml.