Browse Source

Pin get-pip.py to 3.2

As get-pip.py evolves based on pip 10, while we're still using
pip 9, changes in the way it can be used are causing problems.

For example, the ability to use --download is no longer there.

As such, let's pin to a known good version and leave it at that
until we no longer need to use this script. Version 3.2 maps to
pip 7.1.2 which fulfills our needs.

Closes-Bug: 1779534
Change-Id: I5a4d4096457d84fcf3a9e21a6873dd61f2a456fc
Jesse Pretorius 9 months ago
parent
commit
6c00fab455
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      defaults/main.yml

+ 2
- 2
defaults/main.yml View File

@@ -18,8 +18,8 @@
18 18
 pip_install_package_state: "latest"
19 19
 
20 20
 ## Path to pip download/installation script.
21
-pip_upstream_url: https://bootstrap.pypa.io/get-pip.py
22
-pip_fallback_url: https://raw.githubusercontent.com/pypa/get-pip/master/get-pip.py
21
+pip_upstream_url: https://bootstrap.pypa.io/3.2/get-pip.py
22
+pip_fallback_url: https://raw.githubusercontent.com/pypa/get-pip/master/3.2/get-pip.py
23 23
 
24 24
 # Allow the deployer to force pip to download locally to the deployment host
25 25
 # and copy it to the remote container for installation. Useful for environments

Loading…
Cancel
Save