-
Notifications
You must be signed in to change notification settings - Fork 55
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
pytest-flake8 deprecation warning from Pytest #285
Comments
I have read somewhere , a recent update few days back is causing this errors |
@akaihola It is happening with pytest = 7.0.0 update |
Thanks @RishiKumarRay! I guess this is about tholo/pytest-flake8#83 then. |
@akaihola should we fix the version of pytest maybe ? |
I would rather try to contribute a fix to pytest-flake8. And this is just a deprecation warning so far, so we can afford to wait for some time for the contribution to get through. The only downside is the warning appearing in our builds, but that's not too dangerous. Or what do you think? |
@akaihola i totally agree with you we can wait as its just a warning |
But since we do need to fix the same problem in akaihola/pytest-darker#7, we'll probably learn how to fix |
Moving this to milestone 1.5.0, there are a plenty of bugfixes and documentation improvements coming up for a 1.4.2 bugfix release already. |
In tholo/pytest-flake8#83, @jaraco mentions:
He also writes:
I guess I'll take a look at those and copy his solution to akaihola/pytest-darker#7 and maybe try to contribute it to tholo/pytest-flake8#83 as well. |
With
After upgrading to
But after upgrading to But tholo/pytest-flake8#83 is still |
In #361 we're changing the CI setup so Flake8 is run directly in its own workflow instead of through the Pytest plugin. That should make it unnecessary to address this issue. So we could close this issue, right @RishiKumarRay? |
In recent test builds we have:
Maybe there's an update to
pytest-flake8
which updates this behavior and silences the warning?The text was updated successfully, but these errors were encountered: