-
-
Notifications
You must be signed in to change notification settings - Fork 615
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
Unify development requirements #923
Conversation
atugushev
commented
Oct 7, 2019
•
edited
Loading
edited
- removes dev-requirements.txt in favor of extras_require in setup.py
- adds testing and coverage extras
- adds instruction to install pip-tools in development mode with test dependencies in CONTRIBUTING.md
- updates tox.ini to use extras
- unpins pytest dependency, since the fix has already released
FTR, pip==8.1.1 can't handle environment markers, that's why tox installs pytest>=5 which is incompatible with python2. |
Can we please stop support Python 2 and pip==8.1.1? 😎 |
Should tox be added to the dev requirements? |
Hello @georgek,
I don't think so. The idea is to have one place for development requirements which can be used by |
OK, this actually makes the distinction much more clear as |
It would be nice to have this info in |
When I run |
We use pre-commit now. All the dependencies are in |
|
@georgek probably |
@georgek, could you file a separate issue so that we can discuss it there? |
small aside, I've been looking at https://github.com/theacodes/nox lately, and am quite impressed with it as a replacement for |
49b7e95
to
eebba03
Compare
Codecov Report
@@ Coverage Diff @@
## master #923 +/- ##
=======================================
Coverage 99.41% 99.41%
=======================================
Files 34 34
Lines 2411 2411
Branches 297 297
=======================================
Hits 2397 2397
Misses 8 8
Partials 6 6 Continue to review full report at Codecov.
|
@jayvdb I've added a factor specific setting to avoid installing pytest>5 on python2. A hack, but looks good to me. |
That approach is ok. The alternatives are messier. |
Let's do it in |
eebba03
to
556eed8
Compare