summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Cassiba <samuel@cassi.ba>2018-12-10 16:50:58 -0800
committerSamuel Cassiba <samuel@cassi.ba>2018-12-10 21:00:25 -0800
commite84e56c8f2c0241cda69493a93dd2211dc94b893 (patch)
treefd617f6ffdef28f07c45d49200feaf34dbe4d3b5
parent5ad76e9754b7f96481ebe57079f1d616e7927149 (diff)
Pin setuptools and wheels packages
In order to maintain consistency for pip versions, align pip, wheels, and setuptools. Use OSA as a basis for consistency between deploy projects. Depends-On: I573bd84e1f15b6e9bda8ebb1d8e12fa66970757a Change-Id: I123508ad8c65805f6d95abe5e592e7e761d63142
Notes
Notes (review): Code-Review+2: Christoph Albers <c.albers@x-ion.de> Workflow+1: Jan Klare <j.klare@cloudbau.de> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 08 Jan 2019 16:53:01 +0000 Reviewed-on: https://review.openstack.org/624254 Project: openstack/cookbook-openstack-integration-test Branch: refs/heads/master
-rw-r--r--attributes/default.rb2
-rw-r--r--recipes/setup.rb4
-rw-r--r--spec/setup-redhat_spec.rb2
3 files changed, 5 insertions, 3 deletions
diff --git a/attributes/default.rb b/attributes/default.rb
index addbeaf..3d30725 100644
--- a/attributes/default.rb
+++ b/attributes/default.rb
@@ -60,7 +60,7 @@ when 'fedora', 'rhel' # :pragma-foodcritic: ~FC024 - won't fix this
60 default['openstack']['integration-test']['platform'] = { 60 default['openstack']['integration-test']['platform'] = {
61 tempest_packages: %w(git curl libxslt-devel 61 tempest_packages: %w(git curl libxslt-devel
62 libxml2-devel python-testrepository 62 libxml2-devel python-testrepository
63 libffi-devel python-devel python-setuptools 63 libffi-devel python-devel
64 python-gabbi python-testscenarios 64 python-gabbi python-testscenarios
65 python-ddt), 65 python-ddt),
66 package_overrides: '', 66 package_overrides: '',
diff --git a/recipes/setup.rb b/recipes/setup.rb
index 39592f3..39b361e 100644
--- a/recipes/setup.rb
+++ b/recipes/setup.rb
@@ -82,7 +82,9 @@ tempest_path = '/opt/tempest'
82venv_path = '/opt/tempest-venv' 82venv_path = '/opt/tempest-venv'
83 83
84python_virtualenv venv_path do 84python_virtualenv venv_path do
85 system_site_packages true 85 pip_version '18.0'
86 setuptools_version '40.0.0'
87 wheel_version '0.31.1'
86end 88end
87 89
88python_execute 'install tempest' do 90python_execute 'install tempest' do
diff --git a/spec/setup-redhat_spec.rb b/spec/setup-redhat_spec.rb
index 6960b48..dc3fa46 100644
--- a/spec/setup-redhat_spec.rb
+++ b/spec/setup-redhat_spec.rb
@@ -14,7 +14,7 @@ describe 'openstack-integration-test::setup' do
14 it 'installs tempest dependencies' do 14 it 'installs tempest dependencies' do
15 %w(git curl libxslt-devel 15 %w(git curl libxslt-devel
16 libxml2-devel python-testrepository 16 libxml2-devel python-testrepository
17 libffi-devel python-devel python-setuptools 17 libffi-devel python-devel
18 python-gabbi python-testscenarios 18 python-gabbi python-testscenarios
19 python-ddt).each do |pkg| 19 python-ddt).each do |pkg|
20 expect(chef_run).to upgrade_package(pkg) 20 expect(chef_run).to upgrade_package(pkg)