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

Add pip check to tox to catch dependency conflicts #924

Closed
wants to merge 2 commits into from
Closed
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
4 changes: 4 additions & 0 deletions docs/source/update_requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ the following script:

cd pynwb
pip install .
pip check # check for package conflicts
pip freeze > requirements.txt

deactivate
Expand Down Expand Up @@ -54,6 +55,9 @@ the following scripts:
# If relevant, you could pip install new requirements now
# pip install -U <name-of-new-requirement>

# Check for any conflicts in installed packages
pip check

# Update list of pinned requirements
pip freeze > $target_requirements

Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ deps =
-rrequirements.txt

commands =
pip check # check for conflicting packages
python test.py -v

# Env to create coverage report locally
Expand Down