aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/common/packages.py
AgeCommit message (Collapse)AuthorFilesLines
2019-12-04[bugfix] functional_py3 failed in ci gatingrexlee87761-2/+2
import pip._internal.main and use correctly JIRA: YARDSTICK-1627 Change-Id: I3613c651e474474329f55adda5b54ce5bf4fd9ca Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2019-07-17Leverage on PBRCédric Ollivier1-3/+3
It fixes requirements and constraints by switching to PBR [1]. It synchronizes requirements with OpenStack stable/stein and then adds constraints to pip calls. It also updates flask-restful-swagger to conform with OpenStack upper-constraints [2] and the pip API calls. It updates the unit tests verifying a few package versions. It stops checking unicodecsv in py3 env which is against the requirements defined in OpenStack. It also skips one test indirectly highlighting that the pip usage is incorrect [3] [1] http://testresults.opnfv.org/functest/dockerslicing/ [2] https://github.com/rantav/flask-restful-swagger/commit/fd418b50723fe1e79f495aa400a8e9f055a5be27 [3] https://github.com/pypa/pip/issues/3889 Change-Id: I635bdb9d7411e619cee911b633fa8ad591a393a0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-09Module to manage pip packagesRodolfo Alonso Hernandez1-0/+87
This new module provides methods to manage Python PIP packages from a URL, from a local directory or from a build PIP package. The implemented commands are: - Install package. - Remove package. - List all installed packages in the system. JIRA: YARDSTICK-910 Change-Id: I8f7d1b77c0c384b801cc6f5e67d8b45ce7c6bfdf Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>