From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: "python setup.py test" is deprecated Date: Mon, 05 Aug 2019 14:03:06 +0200 Message-ID: <87blx33jlx.fsf@devup.no> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40730) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hubho-0003Eb-Rc for guix-devel@gnu.org; Mon, 05 Aug 2019 08:03:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hubhn-0001dJ-T4 for guix-devel@gnu.org; Mon, 05 Aug 2019 08:03:12 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:56783) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hubhn-0001aH-Kr for guix-devel@gnu.org; Mon, 05 Aug 2019 08:03:11 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 1D61A21BF7 for ; Mon, 5 Aug 2019 08:03:09 -0400 (EDT) Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id 88063380079 for ; Mon, 5 Aug 2019 08:03:08 -0400 (EDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl1IGvoACgkQoqBt8qM6 VPrVqwf/aMtvE3jYTGiOlm/rZszm/ipHFU90fWb2funQfmaR8tPRKOC/iArrFCT/ Gaf/tO0w1MLnxYXP7okKdCV8eL2YMpu+1M6LvSWzu4zSwSNyPLqvlNFkele99t61 E0vHQgM1QGHOlH9UKy1jT7mHE5MszzxSthsIs1Ry3Pa7FW/pMUt+jd5rSoyksIE0 c0vJT8zvXHligDPvfUnldiPvqj+RYYt8SPqHRkirnX3MlJrH5S8eSrYk408Z1CUt X4/dbbHEYEg+WkwqcuPAKD5vvwTXSS5jdYui5Feo9cgaizgGscnHmrTqCx6+/NFC 5teaZ7JEhLi2OMpn+BxVnLDsXhEDNw== =cpki -----END PGP SIGNATURE----- --=-=-=--