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 73B1C158011 for ; Mon, 20 Sep 2021 13:18:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B6B26E08F4; Mon, 20 Sep 2021 13:18:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 402A8E0893 for ; Mon, 20 Sep 2021 13:18:30 +0000 (UTC) Message-ID: <433d956b8fd9e0bbaba4596848094149110adf48.camel@gentoo.org> Subject: Re: [gentoo-user] python, my nemesis From: Michael Orlitzky To: gentoo-user@lists.gentoo.org Date: Mon, 20 Sep 2021 09:18:23 -0400 In-Reply-To: <20210920145049.1ad40d93@comet2.terra.ger> References: <20210920145049.1ad40d93@comet2.terra.ger> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.3 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Archives-Salt: 4968358e-7547-4773-bf08-1668ef4fc57d X-Archives-Hash: 58844b14dfa6df4420f8293c71bb1da6 On Mon, 2021-09-20 at 14:50 +0200, Gerrit Kuehn wrote: > Hi, > > I'd like to update a system that is about 1 year old. I have python3.7 > and python 3.8 installed, 3.7 is the default. After updating the repo, > it was suggested to update portage first (probably useful to support > new EAPI versions). > I read about updating to python 3.9, so I created > > --- > ~ # cat /etc/portage/package.use/py > */* PYTHON_TARGETS: -* python3_9 python3_8 > */* PYTHON_SINGLE_TARGET: -* python3_9 > --- You should probably not mess with these variables until after your system is 100% updated and consistent. And even then, probably not. With our package manager written in python, you often need old python stuff to build the new python stuff, and disabling the old python stuff will throw a wrench into that. Even in situations where technically some upgrade path exists, the complexity of the python dependencies often means that the package manager will give up before it finds the solution unless the solution is obvious. By tweaking those variables, you make the solution less obvious to it.