|
From: | Paolo Bonzini |
Subject: | Re: [RFC PATCH 0/9] tests: run python tests under the build/tests/venv environment |
Date: | Fri, 13 May 2022 18:49:53 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 |
On 5/13/22 18:07, Daniel P. Berrangé wrote:
e.g. what if I want to require mypy >= 0.900 for testing, but you have a system package that requires mypy < 0.700?I would expect us to not require packages that are not present in the distros implied by https://www.qemu.org/docs/master/about/build-platforms.html if that was absolutely a must have, then gracefully skip tests if the system version wasn't new enough. The user could always pass --python-env=pip if they want to force new enough
Consider that e.g. RHEL RPMs do not do mypy or pylint in %check, because the version of the linters in RHEL is usually older than what the upstream packages expect.
I don't think it's a good idea for QEMU to support what Red Hat packagers decided was a bad idea to support.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |