Closed ericwb closed 5 years ago
I wonder if updating to dist: xenial
would be the right solution here?
https://docs.travis-ci.com/user/reference/xenial/
So running heroku apps:info -a precaution
I see the app uses Heroku-16 which maps to Ubuntu 16.04
https://devcenter.heroku.com/articles/stack
So yes, xenial would match up better with our heroku instance anyway.
And python3-pip package on xenial is version 8.1.1-2 https://packages.ubuntu.com/xenial/python3-pip
which won't fix this issue. We need 8.1.2 or higher.
Describe the bug When installing Bandit 1.6.0, Precaution fails with error:
This occurs because the pip version you are installing with is very old.
Similar issue: https://github.com/kennethreitz/requests/issues/4006
Use
pip install -U pip
. Also, don't there is no reason to usepip3
instead ofpip
. Justpip
works fine in Python 3+To Reproduce When Bandit version 1.6.0 is installed in build, it fails. See logs
Expected behavior Should not experience this traceback.
Screenshots https://travis-ci.org/vmware/precaution/builds/532278770
Additional context n/a