[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 08/11] python: add 'make check-venv' invocation
From: |
Willian Rampazzo |
Subject: |
Re: [PATCH 08/11] python: add 'make check-venv' invocation |
Date: |
Fri, 25 Jun 2021 16:01:06 -0300 |
On Fri, Jun 25, 2021 at 3:38 PM John Snow <jsnow@redhat.com> wrote:
>
> On 6/25/21 2:36 PM, Willian Rampazzo wrote:
> > Maybe, it may confuse people using `make check-venv` under `tests`.
> > Anyway, I'm not opposed to it.
> >
> > Reviewed-by: Willian Rampazzo<willianr@redhat.com>
>
> I have to admit there's much about Python packaging that is confusing :)
>
Oh, the comment was not so related to packaging, but to QEMU itself.
> Can you elaborate on your point for me, though?
Under the `tests` folder, `make check-venv` creates the Python venv
for the tests. It does not run the tests. The `make check-venv` under
the `pyhton` folder proposed here will actually run the tests in the
venv. My comment was related to people already used to the behavior of
`make` under the `tests` folder.
I don't think it is this patch fault and I think this makes more sense
than what we currently have under the `tests` folder. Maybe it is just
a matter of organizing the `tests` folder `make` command.
>
> --js
>
- Re: [PATCH 03/11] python: Re-lock pipenv at *oldest* supported versions, (continued)
[PATCH 06/11] python: rename 'venv-check' target to 'check-pipenv', John Snow, 2021/06/25
[PATCH 08/11] python: add 'make check-venv' invocation, John Snow, 2021/06/25
Re: [PATCH 08/11] python: add 'make check-venv' invocation, Wainer dos Santos Moschetta, 2021/06/28
[PATCH 07/11] python: update help text for check-tox, John Snow, 2021/06/25
[PATCH 09/11] python: Update help text on 'make check', 'make develop', John Snow, 2021/06/25