Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] python, my nemesis
Date: Mon, 20 Sep 2021 15:17:32
Message-Id: 20210920161717.4d25be84@digimed.co.uk
In Reply to: Re: [gentoo-user] python, my nemesis by Gerrit Kuehn
1 On Mon, 20 Sep 2021 15:56:46 +0200, Gerrit Kuehn wrote:
2
3 > > > ~ # cat /etc/portage/package.use/py
4 > > > */* PYTHON_TARGETS: -* python3_9 python3_8
5 > > > */* PYTHON_SINGLE_TARGET: -* python3_9
6 > > > ---
7 >
8 > > You should probably not mess with these variables until after your
9 > > system is 100% updated and consistent. And even then, probably not.
10 > >
11 > > With our package manager written in python, you often need old python
12 > > stuff to build the new python stuff, and disabling the old python
13 > > stuff will throw a wrench into that. Even in situations where
14 > > technically some upgrade path exists, the complexity of the python
15 > > dependencies often means that the package manager will give up before
16 > > it finds the solution unless the solution is obvious. By tweaking
17 > > those variables, you make the solution less obvious to it.
18 >
19 > Well, this was the suggested way to go, see
20 > https://www.gentoo.org/support/news-items/2021-05-05-python3-9.html
21
22 That news item is about going from 3.8 to 3.9, you are on 3.7. I'd try
23 removing the -* items are trying again.
24
25
26 --
27 Neil Bothwick
28
29 "We demand rigidly defined areas of doubt and uncertainty!"

Replies

Subject Author
Re: [gentoo-user] python, my nemesis Gerrit Kuehn <gerrit.kuehn@×××××××.de>
RE: [gentoo-user] python, my nemesis Laurence Perkins <lperkins@×××××××.net>