From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-dev+bounces-90005-garchives=archives.gentoo.org@lists.gentoo.org> 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 6EF42138350 for <garchives@archives.gentoo.org>; Mon, 13 Jan 2020 00:21:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 688DCE0E57; Mon, 13 Jan 2020 00:21:14 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 7F110E0E22 for <gentoo-dev@lists.gentoo.org>; Mon, 13 Jan 2020 00:21:13 +0000 (UTC) Received: from linux1.home (cpe-70-124-168-176.austin.res.rr.com [70.124.168.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: williamh) by smtp.gentoo.org (Postfix) with ESMTPSA id DE9F734DFEF; Mon, 13 Jan 2020 00:21:11 +0000 (UTC) Received: (nullmailer pid 30753 invoked by uid 1000); Mon, 13 Jan 2020 00:21:09 -0000 Date: Sun, 12 Jan 2020 18:21:09 -0600 From: William Hubbs <williamh@gentoo.org> To: gentoo-dev@lists.gentoo.org Cc: kumba@gentoo.org Subject: Re: [gentoo-dev] unsanctioned python 2.7 crusade Message-ID: <20200113002109.GA30479@linux1.home> Mail-Followup-To: gentoo-dev@lists.gentoo.org, kumba@gentoo.org References: <CAHmME9qRcahsTHju527n0Figd7o8d7-tS_ZmdFBgUBALms5xAg@mail.gmail.com> <CAGfcS_=zjnTO-OH4kbWbBTQRPTnbPq_8G7J9UQdifr+V_drkhw@mail.gmail.com> <15005ba1-1a1b-5d71-dbe3-7834b79ee733@gentoo.org> <9630692.nUPlyArG6x@tuxk10> <390fadf1-4a72-24b8-049e-1ab5925590da@gentoo.org> <e64dfb6902b302f8be89f763b4a87ea165e4d5ff.camel@gentoo.org> <8fe11208-3cc6-2227-b4d8-9d76aaf90130@gentoo.org> <248003461021ea2a5e275fcd423fea47192a680f.camel@gentoo.org> Precedence: bulk List-Post: <mailto:gentoo-dev@lists.gentoo.org> List-Help: <mailto:gentoo-dev+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org> 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 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wRRV7LY7NUeQGEoC" Content-Disposition: inline In-Reply-To: <248003461021ea2a5e275fcd423fea47192a680f.camel@gentoo.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Archives-Salt: 2e3b8856-c12e-4054-ac5e-28e7b2d5d091 X-Archives-Hash: c4dfea2ac2ba2fd18e7fcf1ff2498f5c --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 13, 2020 at 12:17:36AM +0100, David Seifert wrote: > On Sun, 2020-01-12 at 17:55 -0500, Joshua Kinard wrote: > > On 1/12/2020 17:46, David Seifert wrote: > > > On Sun, 2020-01-12 at 17:43 -0500, Joshua Kinard wrote: > > > > On 1/12/2020 17:32, Andreas Sturmlechner wrote: > > > > > On Sonntag, 12. Januar 2020 23:07:24 CET Joshua Kinard wrote: > > > > > > It might be worthwhile to treat the removal of Python-2.7 > > > > > > from > > > > > > the tree in > > > > > > the same manner as an EAPI deprecation and removal, given how > > > > > > ingrained it > > > > > > is due to its longevity. That will minimize the whiplash- > > > > > > effect > > > > > > of emerge > > > > > > complaining about slot conflicts and dependency > > > > > > conflicts. Like > > > > > > I just ran > > > > > > into w/ setuptools-45.0.0.0's release. > > > > >=20 > > > > > So, no packaging of >=3Dsetuptools-45.0.0 until the end of 2020? > > > > > Do > > > > > you want to=20 > > > > > freeze all python libs that upstreams are dropping py27 support > > > > > from? > > > > >=20 > > > >=20 > > > > Not saying not to package it. Right now, the issue seems to be > > > > it > > > > causes > > > > dependency conflicts in emerge's depgraph parsing when > > > > PYTHON_TARGETS > > > > includes python2_7 support. Remove that and stick with python3_* > > > > only, then > > > > other packages that need python2_7 will whine. > > > >=20 > > > > Did setuptools-45.0.0 remove all python2 support? I looked at > > > > the > > > > commit > > > > log, and it's only the title that any meaningful hint that it may > > > > have, > > > > "dev-python/setuptools: Bump to 45.0.0 (py3 only)". If it did, > > > > then > > > > that > > > > change is the right change, but anyone with a userland that has a > > > > mix > > > > of > > > > python2 and python3 is going to have difficulty getting that > > > > update > > > > to merge > > > > in, so I really can't go higher than setuptools-44.0.0 for the > > > > time > > > > being. > > > >=20 > > >=20 > > > https://setuptools.readthedocs.io/en/latest/history.html#v45-0-0 > >=20 > > At least you didn't squirrel that behind a lmgtfy link </smirk> > >=20 > > In any event, it's clear the tree does not seem set up real well to > > handle > > the random removal or deprecation of python2 support. And > > considering > > python2.7 isn't dead //yet//, I have to question the wisdom of > > removing > > packages that still support 2.7, and also wonder if there's a way to > > be more > > graceful in handling updates to packages whose upstream decides to > > remove > > python2 support. > >=20 > > Or we can just continue down the current Mad Max methodology and > > leave it to > > every developer for themselves. > >=20 >=20 > Or - you know - you could help? Talk is cheap, gracefully removing py2 > from the tree is the hard part. A quick grep tells me we have 4388 > ebuilds in the tree with python_targets_python2_7 in IUSE. Have fun > devising a plan (and then doing the actual work). Pro-tip: "Don't > remove py2" is not an actual plan when many important core dependencies > have started removing py2 already. Joshua and all, I am not on the python team either, but I want to drop this link here for reference in case you haven't seen it. https://python3statement.org tl;dr: python 2.7 was actually deprecated in 2015 with support extended to 2020-01-01 so folks would have time to transition off of it. All of the upstreams on that list will be dropping support for python 2.7 this year if they haven't already done so. Given that, I think it is going to be extremely difficult to keep py 2.7 in the main tree. William --wRRV7LY7NUeQGEoC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQTVeuxEZo4uUHOkQAluVBb0MMRlOAUCXhu38AAKCRBuVBb0MMRl OMB8AKCAbpdEUBvg6V3mBmpFiPX3BZJo8gCeMNL9bz3JPaxYgFXeL9aWLJFb4W4= =5JGY -----END PGP SIGNATURE----- --wRRV7LY7NUeQGEoC--