GithubHelp home page GithubHelp logo

Comments (6)

sternenseemann avatar sternenseemann commented on July 29, 2024 1

Stackage should update the manually added constraint for persistent-test to match the other persistent-* packages and ideally build and run the tests for persistent-sqlite and any other packages if possible.

from stackage.

DanBurton avatar DanBurton commented on July 29, 2024
  1. the persistent-sqlite-2.13.1.1 cabal file doesn't specify the bound, which means stackage's constraint solving allowed for the older version.
  2. persistent-sqlite is listed as an expected test failure citing an old issue, which is why the LTS build was considered a success and published, even if that test suite failed.

I do see in the constraints for LTS 20 that range: <2.13.1.3 is used to specifically keep it at the older version, though I'm not sure exactly why this was done.

from stackage.

ncfavier avatar ncfavier commented on July 29, 2024

persistent-test 2.13.1.3 requires persistent 2.14, which might be a problem.

from stackage.

sternenseemann avatar sternenseemann commented on July 29, 2024

This problem also affects persistent-postgresql now.

Here stackage couldn't be expected to figure it out, as running a postgresql db during the test suite is a bit tricky.

I do see in the constraints for LTS 20 that range: <2.13.1.3 is used to specifically keep it at the older version, though I'm not sure exactly why this was done.

As @ncfavier says, persistent-test 2.13.1.3 requires persistent >= 2.14 which is not in stackage. I suspect the extra constraint is necessary, as the dependency on persistent-test is always without constraint, maybe the constraint solver would then pick the latest version and give up instead of backtracking.

from stackage.

alaendle avatar alaendle commented on July 29, 2024

Is there something we could do/clarify from stackage side? Should we re-enable the testing of persistent-sqlite?

from stackage.

alaendle avatar alaendle commented on July 29, 2024

From now on we expect the tests of persistent-sqlite to succeed - and I've found no manual constraints on persistent-* packages (so everything should stay up-to-date - according to PVP on LTS versions). If there is still something strange in latest nightly or lts please reopen to let me know.

from stackage.

Related Issues (20)

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.