Closed ocelotl closed 2 years ago
Experiencing the same issue with the latest version of pytest 7.2.0 on different distributions.
@ocelotl This is a bug in pytest-benchmark, due to it depending on py
without declaring it as a dependency. The shim we introduced in pytest (https://github.com/pytest-dev/pytest/pull/10396) intentionally only incudes py.path
and py.error
.
Looks like this has been fixed in pytest-benchmark already: https://github.com/ionelmc/pytest-benchmark/issues/226 - so once a new release with that is out, it should work again.
@b3n3w Hard to say more without more details, but it's also very unlikely that you're seeing an issue in pytest. Check the traceback and the files involved to see the project responsible.
Pinning this for a while for visibility, as we had a duplicate opened already...
note also you can work around by installing py
separately
I solved the issue buy reinstalling vcfstats using pip3.9 install vcfstats
by excluding -U
When I run test cases with 7.2.0 I get this error:
When I do the same thing with pytest 7.1.3 tests pass.
Output of
pip list
when the error happens:Output of `pip list when the error does not happen:
Output of
lsb_release -a
:Minimal example:
Clone opentelemetry-python, run
tox -e py39-opentelemetry-sdk -- opentelemetry-sdk/tests/metrics/
By the way, thanks for all your work, Pytest is a cornerstone of our project!
pip list
from the virtual environment you are using