On Tue, Jul 05, 2022 at 08:56:11AM +0100, Neil Bothwick wrote: > On Tue, 5 Jul 2022 15:31:38 +0800, William Kenworthy wrote: > > > I did read the news item and set the systems as above with multiple > > python targets - there is no mention of python-exec and its role in > > which python version is in use for packages that just call "python". > > Perhaps I should have been clearer - what I see is with multiple python > > targets present the python ebuild automatically selects the latest > > version that is stable via python-exec - ok, some would want that. But > > what it should do is respect the users choice of running version and not > > automaticly overide it without asking. It looks like python-exec is the > > controlling factor so I'll try CONFIG_PROTECTon that file and manually > > manage it via ansible. > > It is already CONFIG_PROTECTed, I had to approve the changes in the usual > way before they went ahead. What I find slightly odd is that this file is > also managed by eselect-python, but that is not installed by default. I > would have expected it to be part of @system.
This change is described in https://www.gentoo.org/support/news-items/2021-01-30-python-preference-to-follow-python-targets.html Petr

