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

Unify development requirements #923

Merged
merged 1 commit into from
Mar 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and follow the [guidelines](https://jazzband.co/about/guidelines).
## Project Contribution Guidelines

Here are a few additional or emphasized guidelines to follow when contributing to pip-tools:
- Install pip-tools in development mode and its test dependencies with `pip install -e .[testing]`.
- Check with `tox -e checkqa` to see your changes are not breaking the style conventions.
- Always provide tests for your changes.
- Give a clear one-line description in the PR (that the maintainers can add to [CHANGELOG](CHANGELOG.md) afterwards).
Expand Down
5 changes: 0 additions & 5 deletions dev-requirements.txt

This file was deleted.

4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ def read_file(filename):
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
setup_requires=["setuptools_scm"],
install_requires=["click>=7", "six", "pip>=20.0"],
extras_require={
"testing": ["mock", "pytest", "pytest-rerunfailures"],
"coverage": ["pytest-cov"],
},
zip_safe=False,
entry_points={
"console_scripts": [
Expand Down
7 changes: 3 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ envlist =
skip_missing_interpreters = True

[testenv]
extras =
testing
coverage: coverage
deps =
pipmaster: -e git+https://github.com/pypa/pip.git@master#egg=pip
pip20.0: pip==20.0.*
mock
pytest!=5.1.2
pytest-rerunfailures
coverage: pytest-cov
setenv =
piplatest: PIP=latest
pipmaster: PIP=master
Expand Down