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 591D7158011 for ; Mon, 20 Sep 2021 15:47:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4072E0931; Mon, 20 Sep 2021 15:47:10 +0000 (UTC) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2131.outbound.protection.outlook.com [40.107.243.131]) (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 6A7DCE08C4 for ; Mon, 20 Sep 2021 15:47:10 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VJJnxHLcgUbvOgPeUZ6JAuPMgL+6Rc6Sy+FMir1qn2XiVYSx2QFyEHRPUgbHxheq4FCxBoXzgEKETUTPDM4vl8i+o6cxk3Xlq+Y3/sGqcezlYYW3bLNBRdOXjqpx7s3lcticv1koeZWw2ajemqdCMOTqDiSwtHqF7yyFupf+EeN5HiJfjk5PzGOjf6PJ83gtCFCB8E4MZaPO7MEhcGUZP2FS6jf0ZXwZ3xjmHouqCDoUgOKkD64rc5Yk0fHv89mfD5zWm5r0GSlQ0oWOHr0hBvbIHqNMGkfX2iNnWokbKOTwzAAM518ptL5QZXy8G/zzAuQ6M01Tc2XiNoJmBkfjXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=uiTBJdNSIIpdQ5M7ZM1YOl+vWHCoBc7d5EzJWFVdBTg=; b=QZxVn4uL4iwesc2H8amNsd5UCaTgRruyrLt5FClYV+oVWS9MDy1nNNTJpZW6/BA6H0OP1UnLrL7Db5HDpvoCIZzkJ2af+8mBHc8htxKDkLdJeCl13la6wIwmp5kqEMJmsW8U+eLrGJNdseiv1d7zrQJHQnK/febubZaFEkDhavUgNvzjq8hdtubyAewLNPC4OpzWpzdFgl24E76mAfklOj1aenFIWekQJCeI0nyOLzX85mYwth+3HNbyihfJOJ0yjsmbqNua/CdTOvKO/mKvoFWs/7L4099qc0495ItVAR0M4gtmbA8lYZ+XIYzHLj0/zQfB/6oWWnVkUYh9g12ZNw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=openeye.net; dmarc=pass action=none header.from=openeye.net; dkim=pass header.d=openeye.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alarmcom.onmicrosoft.com; s=selector2-alarmcom-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uiTBJdNSIIpdQ5M7ZM1YOl+vWHCoBc7d5EzJWFVdBTg=; b=MQ0LDf4VlRFlHrHT5W1NXNYUGIyLCW0oIc6zIqRs6GW/UhKtMG1zFiv0HzKlL4pr2qzEjks9TQ9fezGcqAEoQsluSXseeOl5zF8JgfHhzOWldYjbc1ljQ8tstcwlCdPvFY/17BoDDrca7WWcs5Qbbmjc/Gxxo0YuTlCh8NcDawg= Received: from MW2PR07MB4058.namprd07.prod.outlook.com (2603:10b6:907:9::28) by MW4PR07MB8587.namprd07.prod.outlook.com (2603:10b6:303:100::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.16; Mon, 20 Sep 2021 15:47:09 +0000 Received: from MW2PR07MB4058.namprd07.prod.outlook.com ([fe80::adad:2214:565d:e0ea]) by MW2PR07MB4058.namprd07.prod.outlook.com ([fe80::adad:2214:565d:e0ea%3]) with mapi id 15.20.4457.030; Mon, 20 Sep 2021 15:47:09 +0000 From: Laurence Perkins To: "gentoo-user@lists.gentoo.org" Subject: RE: [gentoo-user] python, my nemesis Thread-Topic: [gentoo-user] python, my nemesis Thread-Index: AQHXrh42lDOkz4HPxkOdzcmvVHBFXKus572AgAAKuQCAABZ/gIAABJlw Date: Mon, 20 Sep 2021 15:47:08 +0000 Message-ID: References: <20210920145049.1ad40d93@comet2.terra.ger> <433d956b8fd9e0bbaba4596848094149110adf48.camel@gentoo.org> <20210920155646.027a276f@comet2.terra.ger> <20210920161717.4d25be84@digimed.co.uk> In-Reply-To: <20210920161717.4d25be84@digimed.co.uk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: lists.gentoo.org; dkim=none (message not signed) header.d=none;lists.gentoo.org; dmarc=none action=none header.from=openeye.net; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: caa3fb68-8450-4146-4a09-08d97c4de7b3 x-ms-traffictypediagnostic: MW4PR07MB8587: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3173; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: toaYliyY9Coqil/V5A0f683ooa1vSeMXCKe0wLKBTbZoBqMHtAEdiQ5dkubKS29aQn+gVPzyFEM/YLG4hQ7rsK6ycQB6lGin4hrl7QFr2bRRb5AHdnRZgn9VyEKr/NU4y+Tdr8TQjR9+BHtQK6jowWOxytqOhnz+s1mOiqST/UI3NForrH1siPR7If+b9C9DraHs4xfN5TXE2POCBYgdwFGrIaHN0Qu2dmZn5XVkM04Gjn+Hai/cC3oBkdmKe/RYDynTG0PbK4zr7EBctD/ESg5pzEY+osybo8hXm9cYNaPkQxtOf/cE3Z6nq+mRH3YXSgkzatHLRgv0aaMXTwos3+vn1LEPGjHK0m9oEXpde+0XvxdUkBpMaGiMSHowjBQ8RqiVZnm4m/Bxaa4bo3C9QQ/tEuCTFXho05RDxP1ePrZ4CbWo+ucHwb/99HZVyjd6oqC7LBJjdT0ScZaRYCr677n5sTY/065nw33hZg0VV5vfRjyaD0pR3k56NUjJaKPu6GGedxPEZ+nWpgqO1HFPv6Gp1PN/d3oVzwg8RyWS5jwo9KCbWEdZEMKmpIpdEkAL1fm8YVaW5mgJdVzgtxvOxsRisOMJIi5ZmAoVl3+5E73LvD+WRladcfnC0sfcT0cvGbII41NlB+68pEpC7QQpvepKSrD/LvxOeC1RZhPfvOoFsSLUZHLNyBLPvS9jBkISdgCyVoTAuBwR80lGoIvG0OQ/O78li6wEuPWHt1XNjNq5B/51rV9km3lsti/i6zYoRvd73RwIG9byC25Fk9Nr9wdfb1nEXpcU4SKLoczDRRU= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW2PR07MB4058.namprd07.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(396003)(376002)(346002)(366004)(39860400002)(136003)(478600001)(7696005)(53546011)(316002)(2906002)(66946007)(122000001)(38100700002)(6506007)(64756008)(966005)(26005)(83380400001)(8936002)(33656002)(6916009)(55016002)(86362001)(5660300002)(186003)(66556008)(71200400001)(76116006)(9686003)(66476007)(38070700005)(52536014)(66446008)(8676002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?EWVaUQCwx8XpoVYzVCocy/Sgsbfk6sCTL/hzP/d1sGk5nrXQq9y5ajzMiX39?= =?us-ascii?Q?rllQN0ulc3zASCjUqKVb4iyv2Y0P2nk75+5weP3iRRT5slaXoV9pK7tJhz/J?= =?us-ascii?Q?dbJ5pEBSwO+ZGDW69UsvwzJjqmDzh0b/dgcvY5DRAl2JN0cSur/8aT+iH94S?= =?us-ascii?Q?nh6XLIBvMeeX51e80Y+4JZSrp4qIGYog6W9E0lExHyHITvsfxnZL6oIJ1t7Q?= =?us-ascii?Q?Cao7yAajGNkKpsuIFLInMBkwp13iXSNbgu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gPxSCn6EdqacsVvIZ7ZJfMdwAECDIMzxX9lwPNWZlxNG3yYjI/G2nF6Pa?= =?us-ascii?Q?DObFLNeLVJGVWczEJgFMSutm9NazeocTbT5eVLu/+k7TzL9le2a+7aAEBb46?= =?us-ascii?Q?6819bsuAg0X6Aaw9pSPC7RIQfJPbKtSdU5kWUByk4rt0HXmDV4utjyaH8Vhd?= =?us-ascii?Q?t+0=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 X-OriginatorOrg: openeye.net X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW2PR07MB4058.namprd07.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: caa3fb68-8450-4146-4a09-08d97c4de7b3 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Sep 2021 15:47:08.9739 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 01aaba89-c0e5-4a25-929f-061e1350d674 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: H8uiCl1K+cvbJDE+TSJFTZeMCXBHNgJyiBBVm4d0185fhR621lRkhNLn3itMXsvBdvbPMCN2shj68lcP+Jpl7Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR07MB8587 X-Archives-Salt: 3c529823-fd8e-4d06-a352-9e3b44424a8c X-Archives-Hash: e24723a61ab3d75cb3438778d68da81c -----Original Message----- From: Neil Bothwick =20 Sent: Monday, September 20, 2021 8:17 AM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] python, my nemesis On Mon, 20 Sep 2021 15:56:46 +0200, Gerrit Kuehn wrote: >> > > ~ # cat /etc/portage/package.use/py >> > > */* PYTHON_TARGETS: -* python3_9 python3_8 >> > > */* PYTHON_SINGLE_TARGET: -* python3_9 >> > > --- =20 >>=20 >> > You should probably not mess with these variables until after your=20 >> > system is 100% updated and consistent. And even then, probably not. >> >=20 >> > With our package manager written in python, you often need old=20 >> > python stuff to build the new python stuff, and disabling the old=20 >> > python stuff will throw a wrench into that. Even in situations where=20 >> > technically some upgrade path exists, the complexity of the python=20 >> > dependencies often means that the package manager will give up=20 >> > before it finds the solution unless the solution is obvious. By=20 >> > tweaking those variables, you make the solution less obvious to it. >>=20 >> Well, this was the suggested way to go, see=20 >> https://www.gentoo.org/support/news-items/2021-05-05-python3-9.html > >That news item is about going from 3.8 to 3.9, you are on 3.7. I'd try rem= oving the -* items are trying again. > > When upgrading really old systems I find it useful to run: export PYTHON_TARGETS=3D"$(eix -I | grep -o "python[23]_[0-9]*" | sort -u)" This will temporarily set the system (for the duration of the current sessi= on) to build for every version of python that is either available for new b= uilds or currently in use. The dependency resolver seems to have an easier= time finding a path when it doesn't think it has to throw away all the cur= rently installed stuff first. Note that this will end up rebuilding a lot more than is technically necess= ary, and then you'll need to rebuild again with the python versions you act= ually want and depclean the extras. Personally though I rather prefer to h= ave the computer do more work instead of spending hours using *my* brain to= find the minimum sized rebuild set to upgrade the system. LMP