Sync install_venv_common.py from oslo-incubator
This is needed to ensure that when using run_tests.sh requirements are handled correctly. Both requirements.txt and test-requirements.txt need to be handed to pip at the same time to ensure that all dependencies are satisfied and we don't upgrade a package to be outside of the version constraints set by requirements.txt when installing dependencies for the packages in test-requirements.txt. Change-Id: I89bcf4e44b7274dca535e8e1d2eeb0adb142cabb
This commit is contained in:
@@ -119,8 +119,7 @@ class InstallVenv(object):
|
||||
self.pip_install('setuptools')
|
||||
self.pip_install('pbr')
|
||||
|
||||
self.pip_install('-r', self.requirements)
|
||||
self.pip_install('-r', self.test_requirements)
|
||||
self.pip_install('-r', self.requirements, '-r', self.test_requirements)
|
||||
|
||||
def post_process(self):
|
||||
self.get_distro().post_process()
|
||||
|
||||
Reference in New Issue
Block a user