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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9C9361382C5 for ; Fri, 26 Jun 2020 09:39:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2222E0907; Fri, 26 Jun 2020 09:39:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CE86BE0900 for ; Fri, 26 Jun 2020 09:39:03 +0000 (UTC) Message-ID: <233ada786a31958a050fe21cdbd89792f6ad7a4c.camel@gentoo.org> Subject: Re: [gentoo-dev] [PATCH] profiles/package.deprecated: deprecate python:2.7 From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Date: Fri, 26 Jun 2020 11:38:58 +0200 In-Reply-To: <20200626095158.19489282@sf> References: <20200620135742.2603768-1-slyfox@gentoo.org> <20200620162953.010f09a0@sf> <20200626074257.4bb72e3c@sf> <63A7D0EB-038E-4CD9-B6CF-B45D6A573938@gentoo.org> <20200626095158.19489282@sf> Organization: Gentoo Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-1smiWP9LXbnvfY2n9muC" User-Agent: Evolution 3.36.3 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: 06b508f5-605a-4728-99dd-8347eb0ad811 X-Archives-Hash: 70ee4ba5e1d254653da23182e4c5f7ea --=-1smiWP9LXbnvfY2n9muC Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2020-06-26 at 09:51 +0100, Sergei Trofimovich wrote: > On Fri, 26 Jun 2020 07:29:45 +0000 > Micha=C5=82 G=C3=B3rny wrote: >=20 > > Dnia June 26, 2020 6:42:57 AM UTC, Sergei Trofimovich napisa=C5=82(a): > > > On Sat, 20 Jun 2020 16:29:53 +0100 > > > Sergei Trofimovich wrote: > > > =20 > > > > On Sat, 20 Jun 2020 16:05:38 +0200 > > > > Micha=C5=82 G=C3=B3rny wrote: > > > > =20 > > > > > On Sat, 2020-06-20 at 14:57 +0100, Sergei Trofimovich wrote: = =20 > > > > > > Give maintainers the chance to act and flag packages that pull = in =20 > > > python:2.7. =20 > > > > > > Signed-off-by: Sergei Trofimovich > > > > > > --- > > > > > > profiles/package.deprecated | 4 ++++ > > > > > > 1 file changed, 4 insertions(+) > > > > > >=20 > > > > > > diff --git a/profiles/package.deprecated =20 > > > b/profiles/package.deprecated =20 > > > > > > index a756e845f47..bb661571962 100644 > > > > > > --- a/profiles/package.deprecated > > > > > > +++ b/profiles/package.deprecated > > > > > > @@ -17,6 +17,10 @@ > > > > > > =20 > > > > > > #--- END OF EXAMPLES --- > > > > > > =20 > > > > > > +# Sergei Trofimovich (2020-06-20) > > > > > > +# Deprecated. Consider poring to python 3 and drop support for= =20 > > > python2. =20 > > > > > > +dev-lang/python:2.7 > > > > > > + > > > > > > # Sergei Trofimovich (2020-02-22) > > > > > > # virtual/libstdc++ has only one sys-libs/libstdc++-v3 provide= r. > > > > > > # Use that instead. Or even better use none of them. It's a = =20 > > > > > =20 > > > > =20 > > > > > It will trigger the same for packages that support *only* > > > > > Python 2.7, as well as these that support 2.7 in addition to 3 = =20 > > > because =20 > > > > > they have 2.7 deps. =20 > > > >=20 > > > > If we expect actions by developers on both cases I don't see a =20 > > > problem with that. > > >=20 > > > Pushed as: > > > https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3D79d65d6641cfc0= ef7b44df491c390e8c880e3049 > > > with full text being: > > >=20 > > > +# Sergei Trofimovich (2020-06-26) > > > +# Deprecated. > > > +# - optional python:2.7 dependency should be dropped if no reverse > > > +# dependencies are using it. > > > +# - mandatory python:2.7 depepndency will require package porting > > > +# or package removal if no reverse dependencies are using it. > > > +dev-lang/python:2.7 =20 > >=20 > > You've just introduced 829 CI warnings >=20 > That's the intention. >=20 > > effectively disabling the ability to distinguish *new* problems in thes= e packages. >=20 > Correct. Citing above: >=20 > "If we expect actions by developers on both cases I don't see a problem = with that." >=20 > I assume we still do. Not exactly. You've pinpointed the wrong target. First of all, we want people to support Python 3. Removing support for Python 2 is a secondary goal. Flagging packages that support Python 2 in addition to Python 3 and cause no trouble in py2 cleanup is doubtful. Flagging packages that support 2+3 because of their revdeps is not helpful at all. It's just noise to the maintainer who can't remove py2 because of revdeps. Flagging dev-python/pypy* which needs py2 but is entirely outside the eclass system is not helpful at all. --=20 Best regards, Micha=C5=82 G=C3=B3rny --=-1smiWP9LXbnvfY2n9muC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQGTBAABCgB9FiEEx2qEUJQJjSjMiybFY5ra4jKeJA4FAl71wjJfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEM3 NkE4NDUwOTQwOThEMjhDQzhCMjZDNTYzOUFEQUUyMzI5RTI0MEUACgkQY5ra4jKe JA6aWAgAx1kaygH7t6WYhzOdUuS9nbfeZaVVDqB4T7cp5MP8M7IEGtrZzMnrI3N1 EsWn311cm5WTdsI+xxn6qW9RwT0G+Eb+Bnf5Qm7Aw7YZHUPecAnvgW9HtS+7DZhc ctprHAMqmeWVgOlBr4pSpd4V0KGKncoYsPYZg12PixPRz2fli30TmYAkSNjNaSr/ tNz3fnxiRscpXhaaWCZUUy3OC/Zy+ETdB6cPKlKwsvgT08+pW8sEU+9lPyCeuGY9 DJe+V7LypsowVzx6HUa6s6wKN77MnXewORKeMfNkal6M1hSs4jtd499CL7SGBg1X ThMbQpA/LTntIHjc//Yi2p9gCmUZtA== =RDGH -----END PGP SIGNATURE----- --=-1smiWP9LXbnvfY2n9muC--