[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/8] Acceptance tests: do not try to reuse packages from the
From: |
Willian Rampazzo |
Subject: |
Re: [PATCH 2/8] Acceptance tests: do not try to reuse packages from the system |
Date: |
Fri, 16 Apr 2021 12:39:16 -0300 |
On Thu, Apr 15, 2021 at 6:52 PM Cleber Rosa <crosa@redhat.com> wrote:
>
> The premise behind the original behavior is that it would save people
> from downloading Avocado (and other dependencies) if already installed
> on the system. To be honest, I think it's extremely rare that the
> same versions described as dependencies will be available on most
> systems. But, the biggest motivations here are that:
>
> 1) Hacking on QEMU in the same system used to develop Avocado leads
> to confusion with regards to the exact bits that are being used;
>
Indeed!
> 2) Not reusing Python packages from system wide installations gives
> extra assurance that the same behavior will be seen from tests run
> on different machines;
>
> With regards to downloads, pip already caches the downloaded wheels
> and tarballs under ~/.cache/pip, so there should not be more than
> one download even if the venv is destroyed and recreated.
>
> Signed-off-by: Cleber Rosa <crosa@redhat.com>
> ---
> tests/Makefile.include | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>