[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] tests/acceptance: Do not install paramiko modul
From: |
David Gibson |
Subject: |
Re: [Qemu-devel] [PATCH] tests/acceptance: Do not install paramiko module by default |
Date: |
Sat, 31 Aug 2019 11:05:44 +1000 |
User-agent: |
Mutt/1.12.1 (2019-06-15) |
On Fri, Aug 30, 2019 at 03:51:39PM -0300, Eduardo Habkost wrote:
> On Fri, Aug 30, 2019 at 08:40:33PM +0200, Philippe Mathieu-Daudé wrote:
> > The paramiko Python module has many dependencies. Some of them
> > are not pure Python, such cryptography module which requires to
> > be built and linked with OpenSSL.
> >
> > When native libraries and header are missing on the host, the
> > error reported is not very helpful:
> >
> > $ make check-venv
> > VENV tests/venv
> > PIP tests/requirements.txt
> > Command "tests/venv/bin/python -u -c "import setuptools,
> > tokenize;__file__='/tmp/pip-build-la4el5r5/cryptography/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-1efs22iz-record/install-record.txt
> > --single-version-externally-managed --compile --install-headers
> > tests/venv/include/site/python3.6/cryptography" failed with error code 1 in
> > /tmp/pip-build-la4el5r5/cryptography/
> >
> > Since currently the tests depending on paramiko are targetting
> > very specific uses, we can avoid the strong dependency on the
> > paramiko module, to let systems where it does not build properly
> > work the rest of the tests.
> > If paramiko is manually installed, the tests using it will be
> > automatically run.
> >
> > Fixes: c47c336e870
> > Reported-by: David Gibson <address@hidden>
> > Suggested-by: Cleber Rosa <address@hidden>
> > Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
>
> Thanks! Queued on python-next.
Yay!
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature