Re: git: aa1913df7f3f - main - devel/py-responses: switch to USES=pytest

From: Po-Chuan Hsieh <sunpoet_at_freebsd.org>
Date: Wed, 23 Nov 2022 21:03:18 UTC
On Mon, Nov 21, 2022 at 9:58 PM Dmitry Marakasov <amdmi3@amdmi3.ru> wrote:

> * Po-Chuan Hsieh (sunpoet@freebsd.org) wrote:
> > On Mon, Nov 7, 2022 at 8:28 PM Dmitry Marakasov <amdmi3@freebsd.org>
> wrote:
> >
> >     The branch main has been updated by amdmi3:
> >
> >     URL: https://cgit.FreeBSD.org/ports/commit/?id=
> >     aa1913df7f3f2f46e4b276b5c1b4e6d647ed70a4
> >
> >     commit aa1913df7f3f2f46e4b276b5c1b4e6d647ed70a4
> >     Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
> >     AuthorDate: 2022-11-07 12:14:58 +0000
> >     Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
> >     CommitDate: 2022-11-07 12:27:46 +0000
> >
> >         devel/py-responses: switch to USES=pytest
> >
> >
> > Please stop doing this.
> > It should be USE_PYTHON=pytest, not USES=pytest.
> > Furthermore, all existing USES=pytest should be changed to
> USE_PYTHON=pytest.
>
> Sorry, but you can't just tell me to stop using the framework I've
> introduced, without at least notifying me beforehand of that there's
> now a duplicate framework which is now preferred.


> In fact unfortunately I will not stop unless all the ports are
> converted to USE_PYTHON=pytest and USES=pytest removed (which you
> should've done in the first place to save everybodys time and avoid
> ambiguity) as I have a lot of pending commits with migration to
> USES=pytest I don't feel like redoing unless I have to.
>
> Thank you for your work anyway, this looks more flexible whan
> USES=pytest.
>

Sorry for not reminding you earlier. I've submitted a review [1] of the
earlier version to you, therefore I guess you're aware of this change.
Months later, I committed the updated version which adds support for more
test frameworks.

Anyway, thank you for converting your ports to USE_PYTHON=pytest.
Please feel free to enhance the pytest support in Mk/Uses/python.mk.

[1] https://reviews.freebsd.org/D35069


> --
> Dmitry Marakasov   .
> amdmi3@amdmi3.ru  ..:  https://github.com/AMDmi3  https://amdmi3.ru/
>
>