Closed Bug 1317275 Opened 8 years ago Closed 7 years ago

Run pip v9's new 'pip check' feature during the test run

Categories

(Tree Management :: Treeherder, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

Details

Attachments

(1 file)

The just released pip v9 includes a new `pip check` feature, which ensures there are no incompatibilities in the currently installed Python packages.

This would have caught the issue in bug 1312096, so we should enable it on Travis/runtests.sh.
This would have also saved an hour of debugging whilst working on bug 1324707.

(Turns out djangorestframework-filters had pinned to a less-than-latest version of django-filter, but this wasn't apparent after having updated requirements/common.txt by hand, resulting in obscure exceptions).
Attachment #8890274 - Flags: review?(cdawson)
Attachment #8890274 - Flags: review?(cdawson) → review+
Commit pushed to master at https://github.com/mozilla/treeherder

https://github.com/mozilla/treeherder/commit/270b2b25c1df10435fbb26ebc550601db9f902bb
Bug 1317275 - Run pip check on Travis

Verifies installed packages have compatible dependencies, to help
prevent issues like bug 1324707. This will reduce the time taken to
review pyup bot PRs.

Example output if errors found:
```
Running pip check
celery 3.1.25 has requirement kombu<3.1,>=3.0.37, but you have kombu 4.1.0.
```
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: