You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because the module is installing the python-pip package from the OS repo. I think it would be good to have an option to use the newest version from here: https://pip.pypa.io/en/stable/installing/
Edit: I just looked at the latest version and it looks like it does allow you to install the latest version of pip here (in manifests/install.pp):
case $python::provider {
pip: {
# Install pip without pip, see https://pip.pypa.io/en/stable/installing/.
exec { 'bootstrap pip':
command => '/usr/bin/curl https://bootstrap.pypa.io/get-pip.py | python',
unless => '/usr/bin/which pip',
require => Package['python'],
}
# Puppet is opinionated about the pip command name
file { 'pip-python':
ensure => link,
path => '/usr/bin/pip-python',
target => '/usr/bin/pip',
require => Exec['bootstrap pip'],
}
Exec['bootstrap pip'] -> File['pip-python'] -> Package <| provider == pip |>
Package <| title == 'pip' |> {
name => 'pip',
provider => 'pip',
}
Package <| title == 'virtualenv' |> {
name => 'virtualenv',
provider => 'pip',
}
}
Hi,
I am trying to install latest pip (7.1.2) from puppet 3.8.4.
But it only installed very old version (1.5.4).
Is something wrong?
Thank you!
The text was updated successfully, but these errors were encountered: