Skip to content

Commit

Permalink
Install simplejson in devstack venv
Browse files Browse the repository at this point in the history
Workaround to avoid failure due to missing osc dependency
removed in [1]

[1] https://review.opendev.org/c/openstack/python-openstackclient/+/920001

Change-Id: I3f7541e691717186b7c73f10ffabae6fc0c5c9f9
  • Loading branch information
elfosardo committed Jul 25, 2024
1 parent d84b874 commit 6990b06
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inc/python
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ function setup_devstack_virtualenv {
# available on pypi.
python$PYTHON3_VERSION -m venv --system-site-packages $DEVSTACK_VENV
pip_install -U pip setuptools
#NOTE(rpittau): workaround for simplejson removal in osc
# https://review.opendev.org/c/openstack/python-openstackclient/+/920001
pip_install -U simplejson
fi
if [[ ":$PATH:" != *":$DEVSTACK_VENV/bin:"* ]] ; then
export PATH="$DEVSTACK_VENV/bin:$PATH"
Expand Down

0 comments on commit 6990b06

Please sign in to comment.