Unit tests fail with cryptography < 1.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-magnumclient |
New
|
Undecided
|
Jason Dunsmore |
Bug Description
Trying to run the unit tests with any version of cryptography < 1.6 fails with the following errors:
=======
FAIL: magnumclient.
tags: worker-3
-------
Empty attachments:
stderr
stdout
Traceback (most recent call last):
File "magnumclient/
tls_
File "/tmp/venv/
return func(*args, **keywargs)
File "magnumclient/
self.
File "magnumclient/
stdout, stderr = self.shell(command)
File "magnumclient/
_shell.
File "magnumclient/
args.
File "<decorator-
File "magnumclient/
return func(*args, **kwargs)
File "magnumclient/
tls = _generate_
File "magnumclient/
backend=
File "/tmp/venv/
_default_
File "/tmp/venv/
"Multibackend cannot be initialized with no backends. If you "
ValueError: Multibackend cannot be initialized with no backends. If you are seeing this error when trying to use default_backend() please try uninstalling and reinstalling cryptography.
Ran 351 tests in 1.108s (+0.055s)
FAILED (id=17, failures=8)
Based on https:/
Changed in python-magnumclient: | |
assignee: | nobody → Jason Dunsmore (jasondunsmore) |
This issue was fixed in the openstack/ requirements 1.1.0 release.