Bug#982298: dh-python: deprecated test command 'python3.9 setup.py test'

2024-08-24 Thread Simon McVittie
Control: retitle -1 dh-python: pybuild runs `python3.x setup.py test` which no longer works in unstable Control: severity -1 important On Mon, 08 Feb 2021 at 13:22:14 +, Julian Gilbey wrote: > I'm just building a Python module package, and I get the following > warning message: > > I: pybuil

Bug#982298: dh-python: deprecated test command 'python3.9 setup.py test'

2021-10-23 Thread Stefano Rivera
Hi Piotr (2021.10.22_11:06:02_-0700) > I'm doing some testing to see what effect this will have. There are > about 500 affected packages, as far as I can tell. So, about 50 of them fail to build with this change (and a couple go from FTBFS to building successfully): --- setuppy-test-failed 2021-1

Bug#982298: dh-python: deprecated test command 'python3.9 setup.py test'

2021-10-22 Thread Stefano Rivera
Hi Piotr (2021.02.09_03:26:04_-0800) > > > actually… pybuild should invoke something like this: > > > `{interpreter} -m unittest discover -v {args}` > > > so I don't know where "setup.py test" came from. Can you point me to > > pybuild *does* that for distutils plugin. I will not change it in this

Bug#982298: dh-python: deprecated test command 'python3.9 setup.py test'

2021-02-09 Thread Julian Gilbey
On Tue, Feb 09, 2021 at 12:26:04PM +0100, Piotr Ożarowski wrote: > > > actually… pybuild should invoke something like this: > > > `{interpreter} -m unittest discover -v {args}` > > > so I don't know where "setup.py test" came from. Can you point me to > > pybuild *does* that for distutils plugin.

Bug#982298: dh-python: deprecated test command 'python3.9 setup.py test'

2021-02-09 Thread Piotr Ożarowski
> > actually… pybuild should invoke something like this: > > `{interpreter} -m unittest discover -v {args}` > > so I don't know where "setup.py test" came from. Can you point me to pybuild *does* that for distutils plugin. I will not change it in this release cycle as I don't know how many package

Bug#982298: dh-python: deprecated test command 'python3.9 setup.py test'

2021-02-09 Thread Julian Gilbey
On Tue, Feb 09, 2021 at 10:33:53AM +0100, Piotr Ożarowski wrote: > [Julian Gilbey, 2021-02-09] > > > 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 > > >

Bug#982298: dh-python: deprecated test command 'python3.9 setup.py test'

2021-02-09 Thread Piotr Ożarowski
[Julian Gilbey, 2021-02-09] > 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.

Bug#982298: dh-python: deprecated test command 'python3.9 setup.py test'

2021-02-09 Thread Julian Gilbey
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

Bug#982298: dh-python: deprecated test command 'python3.9 setup.py test'

2021-02-08 Thread Piotr Ożarowski
[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 i

Bug#982298: dh-python: deprecated test command 'python3.9 setup.py test'

2021-02-08 Thread Julian Gilbey
Package: dh-python Version: 4.20201102 Severity: normal I'm just building a Python module package, and I get the following warning message: 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 lo