bjornbm / dimensional

Dimensional library variant built on Data Kinds, Closed Type Families, TypeNats (GHC 7.8+).
BSD 3-Clause "New" or "Revised" License
102 stars 16 forks source link

Metadata update from Hackage? #207

Closed bjornbm closed 5 years ago

bjornbm commented 5 years ago

@hvr updated the metadata for dimensional-1.3 on Hackage on 2019-02-09 (see https://hackage.haskell.org/package/dimensional-1.3/revisions/):

The first change makes sense since we dropped support for GHC < 8.0.1, but I do not understand the reason for the second change? Email sent to @hvr to try to clarify (but feel free to answer here instead!).

bjornbm commented 5 years ago

Once this is sorted out we should re-enable dimensional in Stackage. See https://github.com/commercialhaskell/stackage/pull/4275. Currently the checklist items fail due to the benchmark constraint:

Resolver 'nightly-2019-03-20' does not have a matching compiler to build some or all of your package(s). ghc-8.6.4 cannot be used for these packages:

  • dimensional base version 4.12.0.0 found
  • dimensional requires <4.7 && >=4.9 && <5
mihaimaruseac commented 5 years ago

We can also enable the package on Stackage with benchmarks disabled, if needed

mihaimaruseac commented 5 years ago

Don't want to put words/actions to @hvr, but I think the change in base is because base should always have upper bounds, everywhere? I recall there being a consensus both on Stackage and Hackage to have that, but I might be wrong.

bjornbm commented 5 years ago

Thanks @mihaimaruseac. For enabling with benchmarks disabled (which seems like a reasonable approach), it isn't quite clear to me from the comments build-constraints.yaml if dimensional should go into expected-benchmark-failures: or skipped-benchmarks:?

mihaimaruseac commented 5 years ago

skipped-benchmarks since we don't want to compile them

bjornbm commented 5 years ago

@hvr replied to my email made another revision.

I've updated our cabal file to be consistent with @hvr's revisions.

Thanks @hvr and @mihaimaruseac!