guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"python setup.py test" is deprecated


From: Marius Bakke
Subject: "python setup.py test" is deprecated
Date: Mon, 05 Aug 2019 14:03:06 +0200
User-agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2 (x86_64-pc-linux-gnu)

Hello,

Pythons setuptools are deprecating the "python setup.py test" command:

https://github.com/pypa/setuptools/issues/1684

As you may know, "python setup.py test" is what python-build-system does
during the 'check' phase.

I'm not sure what we should do about it, and there does not seem to be
an established "community consensus" yet.  I suppose many packages will
be migrating to Pytest and/or Tox?  Perhaps we could check package
inputs and try to guess the correct test command?

Something to keep in mind for future python-build-system improvements...

PS: Apparently "python setup.py install" is going away too:
https://github.com/pypa/setuptools/issues/1684#issuecomment-508302910

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]