Comments (8)
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.
No need to pin, just add py
to your dependencies manually.
from pytest-parallel.
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.
got it, thx
from pytest-parallel.
@huntzhan Huh? This is a bug in pytest-parallel, so this shouldn't be closed until it's fixed here.
from pytest-parallel.
@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.
@The-Compiler Thanks for your instruction!
from pytest-parallel.
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)
- Could you pls release master ASAP for support python3.9 HOT 6
- OSError: [WinError 87] 'pytest --tests-per-worker auto' in terminal (pycharm, windows) HOT 2
- Maintainers needed HOT 5
- Is it possible to have a separate log for each process? HOT 2
- Runs with dynamically predefined thread names are sticks
- If tests call code that `fork()`s, use of this plugin often leads to crashes on Mac OS High Sierra and onward, *even when number of workers is set to 1*
- Control auto worker count through environment variable
- The plugin does not fire any setup / tear down events for child threads make it extremely hard to implement extensions
- not compatible with django HOT 1
- Fatal Python error: _enter_buffered_busy: could not acquire lock for <_io.BufferedWriter name=5> at interpreter shutdown, possibly due to daemon threads
- Many tests fail
- Duplicated tests when running with allure-pytest
- Using pytest parallel to generate reports results in data corruption
- Pytest-parallel is failing to run
- “generator raised StopIteration” on latest parallel version
- setUpClass method executed once per test with multiple workers
- Global state in parallel tests
- do not create thread if tests_per_worker==1
- Consider moving project to pytest-dev for maintenance HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytest-parallel.