Skip to content

Commit

Permalink
Revert "install LIBS_FROM_GIT using python 2 and 3 where appropriate"
Browse files Browse the repository at this point in the history
All the OpenStack projects should be able to run under Python 3 now so
the fallback installation of the Python 2 libraries should not be
needed any longer. This also avoids the problem of script files
installed by the libraries sometimes being overwritten by the Python 2
version leading to incorrect execution later, as discussed in
http://lists.openstack.org/pipermail/openstack-discuss/2019-September/009226.html

This reverts commit a2eb894.

Change-Id: I1cdb7e4a209872f1620be556b7278879a4b86df5
  • Loading branch information
Peter Penchev committed Sep 9, 2019
1 parent 650769a commit 16bccbc
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions inc/python
Expand Up @@ -380,16 +380,6 @@ function setup_dev_lib {
fi
local name=$1
local dir=${GITDIR[$name]}
if python3_enabled; then
# Turn off Python 3 mode and install the package again,
# forcing a Python 2 installation. This ensures that all libs
# being used for development are installed under both versions
# of Python.
echo "Installing $name again without Python 3 enabled"
USE_PYTHON3=False
setup_develop $bindep $dir
USE_PYTHON3=True
fi
setup_develop $bindep $dir
}

Expand Down

0 comments on commit 16bccbc

Please sign in to comment.