-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility issue with pytest 7.2: Package py
is used but not listed as dependency
#226
Comments
py
is used but not listed as dependencypy
is used but not listed as dependency
This is needed since `py` is used but not explicitly listed. Pytest 7.2 no longer requires `py`, which breaks pytest-benchmark with this version of pytest. Fixes #226
It would be great if a release could be made with that change 😉 |
Just FYI, instead of depending on |
@nicoddemus what's the difference between those 2 TerminalWriters? |
None, we vendored pytest-xdist just did the same thing (importing |
@nicoddemus alright I've changed to what you've suggested but it turns out there were other issues, not sure if I've fixed correctly, can you take a look at c2e860f ? |
At first glance it looks good! Given there were more changes than just an import, you might consider releasing a hotfix which just adds the |
Hi, thanks for the quick fix on the issue! When will |
Just released |
@ionelmc when will it be on conda-forge? Referring to this specifically: https://github.com/conda-forge/pytest-benchmark-feedstock |
" This reverts commit 6387ded.
@pyrito I don't own that repository not do I know much about conda packaging so that question would be best answered by opening an issue in that repository. I doubt they have notifications for releases so it's best to just ping the maintainers. |
This is required for the upgrade to `pytest` 7.2.1 to succeed. See: ionelmc/pytest-benchmark#226 See: #584 See: https://github.com/NicolasT/gptsum/actions/runs/4013857661
The package
py
is used at least here but is not listed in the dependencies.Until version 7.1.x, Pytest would require
py
, but this has been dropped with Pytest 7.2, leading to the following error:This is fixed by explicitly manually installing
py
or addingpy
to the project.The text was updated successfully, but these errors were encountered: