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 4DA5D138350 for ; Sun, 12 Jan 2020 22:55:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C7DD9E0DF4; Sun, 12 Jan 2020 22:55:41 +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 5BAFDE0DEE for ; Sun, 12 Jan 2020 22:55:41 +0000 (UTC) Received: from [192.168.1.13] (c-73-173-172-109.hsd1.md.comcast.net [73.173.172.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kumba) by smtp.gentoo.org (Postfix) with ESMTPSA id 1863334DFD7 for ; Sun, 12 Jan 2020 22:55:40 +0000 (UTC) Subject: Re: [gentoo-dev] unsanctioned python 2.7 crusade To: gentoo-dev@lists.gentoo.org References: <15005ba1-1a1b-5d71-dbe3-7834b79ee733@gentoo.org> <9630692.nUPlyArG6x@tuxk10> <390fadf1-4a72-24b8-049e-1ab5925590da@gentoo.org> From: Joshua Kinard Openpgp: preference=signencrypt Message-ID: <8fe11208-3cc6-2227-b4d8-9d76aaf90130@gentoo.org> Date: Sun, 12 Jan 2020 17:55:34 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 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 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Archives-Salt: 1cf71187-d8fb-44d8-b3f8-0ecfe2a4cc91 X-Archives-Hash: bd6e0cc31194a3022a13edcce18443b7 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. >>> >>> So, no packaging of >=setuptools-45.0.0 until the end of 2020? Do >>> you want to >>> freeze all python libs that upstreams are dropping py27 support >>> from? >>> >> >> 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. >> >> 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. >> > > https://setuptools.readthedocs.io/en/latest/history.html#v45-0-0 At least you didn't squirrel that behind a lmgtfy link 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. Or we can just continue down the current Mad Max methodology and leave it to every developer for themselves. -- Joshua Kinard Gentoo/MIPS kumba@gentoo.org rsa6144/5C63F4E3F5C6C943 2015-04-27 177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943 "The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between." --Emperor Turhan, Centauri Republic