You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by GitBox <gi...@apache.org> on 2020/12/07 08:10:20 UTC
[GitHub] [libcloud] micafer opened a new issue #1524: Error in tox tests with python3.8
micafer opened a new issue #1524:
URL: https://github.com/apache/libcloud/issues/1524
## Summary
Tox tests fail in the installation of requisites, in particular libvirt-python.
## Detailed Information
Error obtained using Ubuntu 20.04 with python3.8.
This is the error:
```py
ERROR: Failed building wheel for libvirt-python
Running setup.py clean for libvirt-python
Failed to build libvirt-python
ERROR: pyopenssl 20.0.0 has requirement cryptography>=3.2, but you'll have cryptography 2.8 which is incompatible.
Installing collected packages: libvirt-python, setuptools, pep8, pyflakes, entrypoints, mccabe, pycodestyle, flake8, wrapt, lazy-object-proxy, astroid, isort, pylint, mock, coverage, codecov, requests-mock, more-itertools, attrs, pluggy, py, wcwidth, pytest, pycparser, cffi, cryptography, pyopenssl
Running setup.py install for libvirt-python: started
Running setup.py install for libvirt-python: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /tmp/libcloud/.tox/py3.8/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-c_ftwdmi/libvirt-python/setup.py'"'"'; __file__='"'"'/tmp/pip-install-c_ftwdmi/libvirt-python/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-aq1zo2ia/install-record.txt --single-version-externally-managed --compile --install-headers /tmp/libcloud/.tox/py3.8/include/site/python3.8/libvirt-python
cwd: /tmp/pip-install-c_ftwdmi/libvirt-python/
Complete output (20 lines):
running install
running build
/usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
/tmp/libcloud/.tox/py3.8/bin/python generator.py libvirt /usr/share/libvirt/api/libvirt-api.xml
Found 478 functions in /usr/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 389 wrapper functions
/tmp/libcloud/.tox/py3.8/bin/python generator.py libvirt-qemu /usr/share/libvirt/api/libvirt-qemu-api.xml
Found 5 functions in /usr/share/libvirt/api/libvirt-qemu-api.xml
Found 0 functions in libvirt-qemu-override-api.xml
Generated 3 wrapper functions
Traceback (most recent call last):
File "generator.py", line 2143, in <module>
qemuBuildWrappers(sys.argv[1])
File "generator.py", line 2008, in qemuBuildWrappers
items.sort(key=lambda i: (int(i[1]), i[0]))
File "generator.py", line 2008, in <lambda>
items.sort(key=lambda i: (int(i[1]), i[0]))
ValueError: invalid literal for int() with base 10: 'VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_BLOCK'
error: command '/tmp/libcloud/.tox/py3.8/bin/python' failed with exit status 1
```
It seems an error of libvirt-python 5.9.0 version that is currently installed in the tests (https://github.com/apache/libcloud/blob/trunk/tox.ini#L10).
The error is fixed in version 5.10.0:
https://bugzilla.redhat.com/show_bug.cgi?id=1783796
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [libcloud] stale[bot] commented on issue #1524: Error in tox tests with python3.8 in Ubuntu 20.04
Posted by GitBox <gi...@apache.org>.
stale[bot] commented on issue #1524:
URL: https://github.com/apache/libcloud/issues/1524#issuecomment-868936526
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically marking is as stale. If this issue is not relevant or applicable anymore (problem has been fixed in a new version or similar), please close the issue or let us know so we can close it. On the contrary, if the issue is still relevant, there is nothing you need to do, but if you have any additional details or context which would help us when working on this issue, please include it as a comment to this issue.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@libcloud.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [libcloud] micafer closed issue #1524: Error in tox tests with python3.8 in Ubuntu 20.04
Posted by GitBox <gi...@apache.org>.
micafer closed issue #1524:
URL: https://github.com/apache/libcloud/issues/1524
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@libcloud.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org