-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
Use extras_require instead of dev-requirements.txt #318
Conversation
Codecov Report
@@ Coverage Diff @@
## master #318 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 9 9
Lines 756 756
Branches 157 157
=====================================
Hits 756 756 Continue to review full report at Codecov.
|
Someone contributed a change like this to pytest-asyncio, they called the extra 'testing'. pipenv uses '--dev'. Flit uses 'dev-requires'. Maybe standardize on 'dev'? |
I tend to like I’ve invited a public bike shed: https://twitter.com/hynek/status/946022597224955904 :) |
JFTR, I remember why I disliked That’s also stuff that belongs to pipenv’s dev, but it relates to the user’s concept of dev, not of the package. Does it make any sense? |
On the other hand, things like Sphinx and maybe something for benchmarking don't directly correspond to 'testing'. Sure Sphinx runs your doctests but its primary purpose is generating documentation. Linters also don't fall directly in the category of testing. Ideally your dev environment should contain everything we expect for development. If your contribution passes tests but crashes the docs, it's not going to get looked at. |
On the third hand we might be bikeshedding this way too much. I'm basically OK with any of your Twitter poll options. |
Also I see now we have a special docs-requirements.txt. Do we really need to be so granular with our deps? |
The docs thing is for RTD mainly. |
So my current inclination is to call it |
Keep docs-requirements.txt for now, but the plan is to get rid of it.
It’s time for attrs to stop pretending we're an application. :)
I’m just not sure about the name; what is more common?
test
ortests
?