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