Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Fixing setuptools version
Browse files Browse the repository at this point in the history
Until pypa/setuptools#945 closes, we are
tagging setuptools to latest known working version.

Change-Id: I4d6a04fac12afcceacd33fcea2c4d009f8e62c2c
  • Loading branch information
arxcruz committed Jan 25, 2017
1 parent 5c25c36 commit ebf252c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions roles/validate-tempest/templates/configure-tempest.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,17 @@ cd {{ working_dir }}/tempest
git clone https://github.com/redhat-openstack/tempest {{ working_dir }}/tempest
cd {{ working_dir }}/tempest
virtualenv --no-site-packages .venv
./tools/with_venv.sh pip install -U pip setuptools
# Fix version for setuptools due https://github.com/pypa/setuptools/issues/945
./tools/with_venv.sh pip install -U pip setuptools==33.1.1
./tools/with_venv.sh pip install junitxml httplib2 -r test-requirements.txt -r requirements.txt
{% endif %}

{% elif tempest_source == "upstream" %}
git clone https://github.com/openstack/tempest {{ working_dir }}/tempest
cd {{ working_dir }}/tempest
virtualenv --no-site-packages .venv
./tools/with_venv.sh pip install -U pip setuptools
# Fix version for setuptools due https://github.com/pypa/setuptools/issues/945
./tools/with_venv.sh pip install -U pip setuptools==33.1.1
./tools/with_venv.sh pip install junitxml httplib2 -r test-requirements.txt -r requirements.txt
cp /usr/share/openstack-tempest-*/tools/config_tempest.py ./tools/
cp /usr/share/openstack-tempest-*/tools/run-tests.sh ./tools/
Expand Down

0 comments on commit ebf252c

Please sign in to comment.