On Mon, Feb 08, 2021 at 02:32:23PM +0100, Piotr Ożarowski wrote: > [Julian Gilbey, 2021-02-08] > > I: pybuild base:232: python3.9 setup.py test > > running test > > WARNING: Testing via this command is deprecated and will be removed in a > > future version. Users looking for a generic test entry point independent of > > test runner are encouraged to use tox. > > > > Since it is dh-python that runs this command, presumably it is > > dh-python that should change it, or maybe I'm wrong? > > if your package uses pytest or nose{,2} then just add appropriate build > dependency (like: python3-pytest) and above command will not be used. > See pybuild's manual for more details
Hi Piotr, It doesn't: it uses unittest. I guess I could depend on python3-pytest anyway, and that might solve it, but it seems a little strange to depend on python3-pytest when the package uses unittest. But then maybe I haven't understood something correctly. Best wishes, Julian