devstack/tests
Doug Hellmann 94129c7d02 allow config to manage python3 use explicitly
Add variables ENABLED_PYTHON3_PACKAGES and DISABLED_PYTHON3_PACKAGES to
work like ENABLED_SERVICES and DISABLED_SERVICES and to manage which
packages are installed using Python 3. Move the list of whitelisted
packages in pip_install to the default for ENABLED_PYTHON3_PACKAGES,
except swift which is not enabled by default for now.

Add enable_python3_package and disable_python3_package functions to make
editing the variables from local.conf easier.

Add python3_enabled_for and python3_disabled_for functions to check the
settings against packages being installed by pip.

Update pip_install to check if python3 is disabled for a service, then
see if it is explicitly enabled, and only then fall back to looking at
the classifiers in the packaging metadata.

Update pip_install messages to give more detail about why the choice
between python 2 and 3 is being made for a given package.

Change-Id: I69857d4e11f4767928614a3b637c894bcd03491f
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-10 16:08:14 +00:00
..
fake-service.sh Run processes without screen 2014-09-09 13:54:01 +01:00
run-process.sh Fix comment typos in inc/ and tests/ directories 2015-11-30 20:25:17 +09:00
test_functions.sh Add dependency for hexdump 2016-03-22 09:34:04 +11:00
test_ini_config.sh Introduce iniget_sections function 2015-12-29 09:42:35 +00:00
test_ip.sh Cleanup test_ip.sh to give more consistent output 2015-05-28 10:40:55 +10:00
test_libs_from_pypi.sh Remove heat code from devstack tree 2016-11-15 15:00:43 +05:30
test_localconf.sh add local.conf modifying functions 2016-07-01 12:50:18 +00:00
test_meta_config.sh Warn instead of die on undefined config names 2016-12-12 09:55:32 -05:00
test_package_ordering.sh Fix sorting on LC_ALL=C platforms 2016-03-08 12:00:15 -05:00
test_python.sh allow config to manage python3 use explicitly 2017-01-10 16:08:14 +00:00
test_refs.sh make run_tests.sh run devstack unit tests 2014-11-18 11:33:47 +00:00
test_truefalse.sh Detect blank variable in trueorfalse 2015-10-09 19:07:50 +11:00
test_vercmp.sh Add vercmp function 2015-11-19 09:37:33 +11:00
test_worlddump.sh Add worlddump unit test 2015-07-01 06:29:27 +10:00
unittest.sh Merge "Add vercmp function" 2016-01-29 05:21:09 +00:00