Skip to content
Closed
Changes from 1 commit
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
2 changes: 2 additions & 0 deletions cookbooks/travis_build_environment/recipes/pip.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
cwd Chef::Config[:file_cache_path]
code <<-INSTALL_PIP
python3 get-pip.py
python2 get-pip.py
python get-pip.py

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These will break in Focal (it only provides python3, with an optional package symlinking python to it) but are still needed for images for older releases.

We can fix that when we get there though (in particular, we don't know if Travis will be providing the optional symlink), so not insisting on addressing this in this PR...

pip install --upgrade pip setuptools wheel

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this actually necessary? If yes, why only run it for one of the pips?

INSTALL_PIP
not_if 'which pip'
Expand Down