Skip to content
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] setup.cfg section test failure #161

Closed
asottile opened this issue Apr 3, 2021 · 1 comment
Closed

[pytest] setup.cfg section test failure #161

asottile opened this issue Apr 3, 2021 · 1 comment

Comments

@asottile
Copy link
Member

asottile commented Apr 3, 2021

In GitLab by @toddrme2178 on Sep 22, 2016, 08:03

I am trying to build flake8 3.0.4 for python 3.5. The python3 setup.py test command fails with error: error in setup.cfg: command 'PyTest' has no such option 'norecursedirs'. This failure is related PyTest Issue 567, where the use of the [pytest] section in setup.cfg causes conflicts with built-in setuptools commands. The solution is to change the section name to [tool:pytest]. In fact, the use of [pytest] is now deprecated.

@asottile
Copy link
Member Author

asottile commented Apr 3, 2021

In GitLab by @toddrme2178 on Sep 22, 2016, 08:08

Mentioned in merge request !124

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant