Skip to content

Commit

Permalink
Fix pycparser installation with older setuptools
Browse files Browse the repository at this point in the history
pycparser version 2.19 has trouble with older versions of setuptools,
see [1]. This is only an issue in queens and older releases.

[1] - pypa/pip#4104

Change-Id: I2a2b707996e86651aa0289636c187208b4b46b33
  • Loading branch information
javierpena committed Oct 16, 2018
1 parent 0ffe9dc commit 842d213
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ fi

# Setup packstack
if [ "${INSTALL_FROM_SOURCE}" = true ]; then
# pycparser 2.19 seems to have trouble with older setuptools versions
$SUDO pip install pycparser==2.18
$SUDO pip install .
export GEM_BIN_DIR=/tmp/packstackgems/bin/
export PUPPETFILE_DIR=/usr/share/openstack-puppet/modules
Expand Down

0 comments on commit 842d213

Please sign in to comment.