Gentoo Archives: gentoo-user

From: Arve Barsnes <arve.barsnes@×××××.com>
To: Gentoo <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] override PYTHON_TARGETS to avoid a slot collision
Date: Wed, 16 Dec 2020 10:59:33
Message-Id: CAJjrzcXOhtHuvUG62B_Opdv_k4Qm29SCoRtf-ZWvgou7b4VZAg@mail.gmail.com
In Reply to: Re: [gentoo-user] override PYTHON_TARGETS to avoid a slot collision by Miles Malone
1 On Wed, 16 Dec 2020 at 11:34, Miles Malone
2 <m.malone@××××××××××××××××××.net> wrote:
3 > What's happening when you do emerge -avuDN --with-bdeps=y
4 > --backtrack=100 @world ? Giving portage the flexibility to solve it
5 > with some extra backtracking and increasing the scope to world might
6 > fix it, if not then we can revisit it?
7
8 You should definitely try this first if you haven't.
9
10 > > If the package was good enough before, it's likely still good enough. Where's the problem? I've (unsuccessfully) made these attempts:
11 > >
12 > > # */* PYTHON_TARGETS: python3_6 python3_7 python3_8 python3_9
13 > > #*/* PYTHON_TARGETS: -python3_6 -python3_7 python3_8 python3_9
14 > > # just have one set
15 > > */* PYTHON_TARGETS: python3_8
16
17 Is there any reason that you need to add py3.9 to all packages? If you
18 need it for something special, add it to those packages only, and let
19 portage take care of python targets for you instead of continuously
20 trying these big hammers. Ideally you should have *no* python targets
21 set manually in make.conf or USE files.
22
23 > > The emerge command was:
24 > >
25 > > sudo emerge --verbose=y -vuUD --verbose-conflicts dev-python/setuptools dev-python/setuptools_scm dev-python/certifi dev-python/markupsafe dev-python/jinja dev-libs/libxml2
26
27 Since it seems sphinx is installed with a different set of python
28 targets than what you're trying to update, you should include sphinx
29 in that emerge command to let it update to the same python targets and
30 solve the conflict.
31
32 Regards,
33 Arve

Replies

Subject Author
Re: [gentoo-user] override PYTHON_TARGETS to avoid a slot collision n952162 <n952162@×××.de>