-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[CI] Deprecations in pytest==7.0.0
make tests fail
#3079
Comments
This issue also seems to apply to
|
pytest-flake8
and pytest==7.0.0
pytest==7.0.0
make tests fail
The warning was turned into an error by our pytest config, and thus resulted in test failures. There's an existing issue for pytest-flake8¹ that's 3 months old now with no movement so far. setuptools is also dealing with the same warnings.² If other issues arise that aren't fixed upstream, a longer term solution could be doing what we do with mypy and simply invoke flake8 directly instead of via a pytest plugin. ¹ tholo/pytest-flake8#83 ² pypa/setuptools#3079
This issue probably affects every project based on jaraco/skeleton. Maybe it would be best to address it there. |
The issue also affects pytest-black and pytest-mypy, but those are still disabled on this project. It may also affect pytest-checkdocs. Confirmed pytest-checkdocs is not affected. |
Reported the issue to jaraco/skeleton#57. |
Merged as 8c0228f. |
I'm addressing a follow-up issue in pytest-dev/pytest#9616. |
Pytest 7 that just came out a few hours ago is currently issuing a deprecation warning for
pytest-flake8
, which makessetuptools
tests to fail:This problem seems to be already reported in the project issue tracker: tholo/pytest-flake8#83.
As a temporary workaround I believe we can take one of the following approaches:
pytest.ini
pytest-flake8
pytest
test dependency.Probably the first approach is the most straight forward?
The text was updated successfully, but these errors were encountered: