Giter VIP home page Giter VIP logo

Comments (8)

The-Compiler avatar The-Compiler commented on June 12, 2024 4

Note the immediate fix for this is for pytest-parallel to add the missing py dependency. As a workaround, you can install py yourself and things should start working.

In the long run, however, pytest-parallel should stop depending on pylib entirely, since we (pytest/pylib maintainers) want to sunset it. It's only used for logging. I'm not too familiar with py.log, but the Python stdlib logging might be a suitable replacement?

from pytest-parallel.

The-Compiler avatar The-Compiler commented on June 12, 2024 2

No need to pin, just add py to your dependencies manually.

from pytest-parallel.

The-Compiler avatar The-Compiler commented on June 12, 2024

See pytest-dev/pytest#10420 (comment) for a similar issue. If pytest-parallel needs things in pylib outside of py.path, it should declare py as a dependency properly, which it currently does not.

from pytest-parallel.

huntzhan avatar huntzhan commented on June 12, 2024

got it, thx

from pytest-parallel.

The-Compiler avatar The-Compiler commented on June 12, 2024

@huntzhan Huh? This is a bug in pytest-parallel, so this shouldn't be closed until it's fixed here.

from pytest-parallel.

huntzhan avatar huntzhan commented on June 12, 2024

@huntzhan Huh? This is a bug in pytest-parallel, so this shouldn't be closed until it's fixed here.

Oh, I thought there's another issue to track the similar issue. Reopen again.

from pytest-parallel.

huntzhan avatar huntzhan commented on June 12, 2024

@The-Compiler Thanks for your instruction!

from pytest-parallel.

kevlened avatar kevlened commented on June 12, 2024

Please see #119 (comment)

Unfortunately, I recommend version pinning to pytest 7.1.3 while planning a move to pytest-xdist

from pytest-parallel.

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.