zuul-jobs/roles/tox
Elod Illes 44b4702eb3 Fix Editable Git install package name parsing
In pip 19.0 release [1] the

 Editable Git installs without a remote now freeze as editable. (#4759) [2]

bug is fixed. Now the output of pip freeze for such package looks like:

 # Editable Git install with no remote (neutron==10.0.8.dev66)
 -e /home/zuul/src/git.openstack.org/openstack/neutron

instead of:

 ## !! Could not determine repository location
 neutron==10.0.8.dev66

Since for listing the package names the module uses the lines that contains
'==' the new behaviour leaves some garbage in front of the package name. So
in case the string contains '(' then remove the first part of the string.

[1] https://pip.pypa.io/en/stable/news/#id15
[2] https://github.com/pypa/pip/issues/4759

Change-Id: I3573c067f63a09f22377612f53c80c80252965e4
2019-01-24 21:36:52 +00:00
..
defaults Combine tox-siblings and tox roles 2017-11-29 15:34:08 -06:00
library Fix Editable Git install package name parsing 2019-01-24 21:36:52 +00:00
tasks Revert "Extract pep8 messages for inline comments" 2018-10-18 09:11:38 +00:00
__init__.py Enable Python 2.7 unit tests 2018-08-17 10:23:20 +10:00
README.rst Combine tox-siblings and tox roles 2017-11-29 15:34:08 -06:00

Runs tox for a project

Role Variables

Environment variables to pass in to the tox run.

Path to a pip constraints file. Will be provided to tox via UPPER_CONSTRAINTS_FILE environment variable if it exists.