GithubHelp home page GithubHelp logo

Comments (5)

cjw296 avatar cjw296 commented on August 19, 2024

Where and how are you running the tests? CircleCI seems happy, which suggests you're doing something different.

from sybil.

mgorny avatar mgorny commented on August 19, 2024

I think what makes the difference is that I'm running them on tmpfs which just happens to order files differently here.

cd /tmp
git clone https://github.com/simplistix/sybil
cd sybil
PYTHONPATH=. pytest

from sybil.

cjw296 avatar cjw296 commented on August 19, 2024

Okay, and why are you doing that?

My inclination here is just to close this ticket with "sorry, run the tests like the CI does", they also pass for me fine on macOS for local dev, so please try and provide a compelling reason for what you're doing...

from sybil.

mgorny avatar mgorny commented on August 19, 2024

Gentoo's purpose in running tests on production systems is to ensure that packages that are installed on production systems actually work and potential issues that aren't trivially reproducible are caught before they explode in users' face.

In this case, it's not "me being wrong vs CI being right". It's just a case of unpredictable ordering that can be influenced by random factors (like files being extracted/checked out in specific order). FWICS the file list was sorted prior to the mentioned commit and the mentioned commit removed sorting for some reason.

Would it be of any help if I created a PR to fix that? As I said, one of the failures can be trivially resolved by restoring sort. I'm working on the other one still.

from sybil.

mgorny avatar mgorny commented on August 19, 2024

As I suspected, the fix is trivial and does not have any downsides. I've filed #35 with it.

from sybil.

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.