Skip to content

Commit 4c52ad9

Browse files
committed
travis: Use latest pip
As we depend on the cryptography library, and the pip version that comes with Ubuntu Focal isn't new enough to avoid the following error about a rust compiler and pre-built wheels, ensure Travis uses an up-to-date pip. error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip
1 parent 0bfb1c9 commit 4c52ad9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,7 @@ matrix:
217217
hypothesis>=3,<4
218218
coverage>=4.5,<5
219219
"
220-
- python -m pip install --upgrade pip==18.1
221-
- python -m pip install --upgrade setuptools==40.4.3
220+
- pip install --upgrade pip
222221
- pip install -r requirements.txt
223222
- pip list --verbose
224223
script:
@@ -246,8 +245,7 @@ matrix:
246245
python: 3.7
247246
install:
248247
# Install python modules
249-
- python -m pip install --upgrade pip==18.1
250-
- python -m pip install --upgrade setuptools==40.4.3
248+
- pip install --upgrade pip
251249
- pip install tabulate argparse
252250
- pip list --verbose
253251
# Fetch the base branch to compare against

0 commit comments

Comments
 (0)