Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/226729

Change subject: contint: install pip 7.1.0 from pypi
......................................................................

contint: install pip 7.1.0 from pypi

pip evolves quickly, install 7.1.0from pypi. Note that requires the
system package python-pip to be able to install pip.

Left a link to upstream ChangeLog for later reference:
https://pip.pypa.io/en/latest/news.html

Change-Id: Ida0a79fa8d7258b1a7fe0ba79921eb667bfed03b
---
M modules/contint/manifests/packages/python.pp
1 file changed, 11 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/29/226729/1

diff --git a/modules/contint/manifests/packages/python.pp 
b/modules/contint/manifests/packages/python.pp
index 2d93ee5..c38284b 100644
--- a/modules/contint/manifests/packages/python.pp
+++ b/modules/contint/manifests/packages/python.pp
@@ -6,17 +6,26 @@
     require_package( # Let us compile python modules:
         'build-essential',
         'python-dev',
-        'python-pip',
+        'python-pip',  # Needed to install pip from pypi
         'libmysqlclient-dev',  # For python SQLAlchemy
         'libxml2-dev',   # For python lxml
         'libxslt1-dev',  # For python lxml
         'libffi-dev', # For python requests[security]
     )
+
+    # Bring in fresh pip. The Trusty package does not provide wheels cache
+    # https://pip.pypa.io/en/latest/news.html
+    package { 'pip':
+        ensure   => '7.1.0',
+        provider => 'pip',
+        require  => Package['python-pip'],  # eggs and chicken
+    }
+
     # Bring tox/virtualenv... from pip  T46443
     package { 'tox':
         ensure   => '1.9.2',
         provider => 'pip',
-        require  => Package['python-pip'],
+        require  => Package['pip'],  # Fresh pip version
     }
 
     # Python 3

-- 
To view, visit https://gerrit.wikimedia.org/r/226729
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ida0a79fa8d7258b1a7fe0ba79921eb667bfed03b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Hashar <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to