pbr tests fail with virtualenv-20+
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PBR |
New
|
Undecided
|
Unassigned |
Bug Description
When running `tox -e py37`, I get the following failure:
```
=======
Failed 1 tests - output below:
=======
pbr.tests.
-------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/tmp/pbr/
self._setUp()
File "/tmp/pbr/
virtualenv.
AttributeError: module 'virtualenv' has no attribute 'create_
Captured traceback-1:
~~~~~~~
Traceback (most recent call last):
File "/tmp/pbr/
self._setUp()
File "/tmp/pbr/
virtualenv.
AttributeError: module 'virtualenv' has no attribute 'create_
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/pbr/
raise SetupError(details)
fixtures.
Captured stdout:
~~~~~~~~~~~~~~~~
Initialized empty Git repository in /tmp/tmpnx2bzw9
[master (root-commit) 0e18ca0] test commit
4 files changed, 19 insertions(+)
create mode 100644 4
create mode 100644 requirements.txt
create mode 100644 setup.cfg
create mode 100644 setup.py
```
The issue disappears if I force virtualenv < 20.