-
Notifications
You must be signed in to change notification settings - Fork 72
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
test/test*.py
vs. tests/test*.py
#187
Comments
I'm not sure that In my projects, I rely on My instinct is to remove the default altogether, except for the backward-compatibility concerns that could raise. We could, through a deprecation process, wean projects off of reliance on this default. Since it has to do with sdist generation, it's probably not something that needs extended backward compatibility (old sdists are unaffected by any change). |
Yes, backward compatibility is a concern, and changing Whatever changes here, the Python Packaging User Guide should be updated at the same time:
|
Not that I necessarily disagree, but it is not a matter of course. The Python Packaging User Guide currently implies that tests should be included in source distributions (see excerpts above), and the consensus seems to be that tests should not be included in binary distributions. Therefore:
|
Shall we open this issue again? (or open another issue?)
I thought that it must be bug. The remains of issues are:
|
While I do not mind the Python Packaging User Guide referring to either
test/
ortests/
or even a random word as an example of a directory that contains tests, I believe actual code should supporttests/
in addition totest/
:distutils/distutils/command/sdist.py
Lines 295 to 296 in e0787fa
I think most packages out there use
tests/
.See pypa/packaging.python.org#1165 and before that codespell-project/codespell#2592 (comment).
The text was updated successfully, but these errors were encountered: