From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9C646158041 for ; Sat, 9 Mar 2024 14:32:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20AB3E2A72; Sat, 9 Mar 2024 14:32:26 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 46F17E2A6A; Sat, 9 Mar 2024 14:32:25 +0000 (UTC) Message-ID: Subject: [gentoo-dev] Please migrate your distutils-r1 ebuilds to use PEP517 builds From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev-announce@lists.gentoo.org Cc: gentoo-dev@lists.gentoo.org Date: Sat, 09 Mar 2024 15:32:19 +0100 Organization: Gentoo Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-S5PLrj4DYBo4+zDxw18m" User-Agent: Evolution 3.50.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 X-Archives-Salt: 2c918972-ad7c-4052-a781-50df4e3f8db9 X-Archives-Hash: 78a6e5a3a4d05454b2547c483da45391 --=-S5PLrj4DYBo4+zDxw18m Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Please consider the "legacy" build mode to be strongly deprecated, both in distutils-r1 and upstream (to the point that sole presence of packages installed that way triggers deprecation warnings elsewhere, sigh). Therefore, if you haven't done that already, please look into converting your packages to use PEP517 builds (DISTUTILS_USE_PEP517, installing .dist-info rather than .egg*). We'd like to eventually remove the legacy code paths from the eclass, as they are not well- tested at this point, and they certainly are lacking, compared to the newer code paths. This also applies to overlay maintainers, since overlays will be affected once we remove old code paths. The migration guide is here: https://projects.gentoo.org/python/guide/migration.html#migrating-to-pep-51= 7-builds While at it, please also look at replacing `distutils_enable_tests setup.py` with one of the other test runners, as running `setup.py test` has been deprecated upstream as well. Or running `setup.py` at all, but the latter is less likely to suddenly stop working. --=20 Best regards, Micha=C5=82 G=C3=B3rny --=-S5PLrj4DYBo4+zDxw18m Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQFGBAABCgAwFiEEx2qEUJQJjSjMiybFY5ra4jKeJA4FAmXscvMSHG1nb3JueUBn ZW50b28ub3JnAAoJEGOa2uIyniQO6eYH/jEBkPdgCA9giw/3EpLKXhkMFLuzqNzm r9wxXPg33XBzVKQhlGxJcxgn8NJWt9M+Xlw2yquoPhge9l691J+BU/Zo/tesp3Fp E9JWFJQ1MNzBmbk6/CTdbLXpZs5ROo7/QLZdKl4BmYqZilYnYakO/bZV+rCvSgeE uXoUOaj4vA3+e+ibBaqnoizh2msT2pUxqrbLi4rg3ZPrzG/QJIrax6hiYQFuRNSb MFDJzlxIfB8cxMtRT3rlNjleOK05WZlSX+OaLKHG6VL4zOSrPYN/KN4U4KKtaatA d/NvPE9YNwNHm3cwcn9GeH/OYMaV+85eH7H32qo+yCnSfnaBOkKhuNw= =gPao -----END PGP SIGNATURE----- --=-S5PLrj4DYBo4+zDxw18m--