Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
Date: Thu, 04 Jun 2020 21:48:17
Message-Id: b23e1e2b-d950-7b92-9ac4-ca9481e55055@gmail.com
In Reply to: [gentoo-user] docutils needing py2.7, but not wanting py2.7? by Caveman Al Toraboran
1 Caveman Al Toraboran wrote:
2 > if i exec: "emerge -avDuNt --quiet-build=y @world":
3 >
4 > > These are the packages that would be merged, in reverse order:
5 > >
6 > > Calculating dependencies... done!
7 > >
8 > > The following USE changes are necessary to proceed:
9 > > (see "package.use" in the portage(5) man page for more details)
10 > > #
11 > > >=dev-python/docutils-0.16 -python_targets_python2_7
12 > >
13 > > Would you like to add these changes to your config files? [Yes/No]
14 >
15 > so >=dev-python/docutils-0.16 doesn't want
16 > python_targets_python2_7. let's remove it then by
17 > adding:
18 >
19 > >=dev-python/docutils-0.16 -python_targets_python2_7
20 >
21 > into: /etc/portage/package.use/stuff
22 >
23 > but then i get this:
24 >
25 > > The following USE changes are necessary to proceed:
26 > > (see "package.use" in the portage(5) man page for more details)
27 > > # required by dev-python/m2r-0.2.1::gentoo[-test]
28 > > # required by dev-python/automat-20.2.0::gentoo
29 > > # required by dev-python/twisted-20.3.0::gentoo
30 > > # required by www-servers/tornado-6.0.4::gentoo
31 > > # required by dev-python/ipykernel-5.1.4::gentoo[-test]
32 > > # required by dev-python/ipyparallel-6.2.3::gentoo
33 > > # required by dev-python/ipython-7.5.0::gentoo[smp]
34 > > # required by @selected
35 > > # required by @world (argument)
36 > > >=dev-python/docutils-0.16 python_targets_python2_7
37 > >
38 > > Would you like to add these changes to your config files? [Yes/No]
39 >
40 > which i guess means that docutils wants py2.7.
41 >
42 >
43 > any idea how to handle this situation?
44 >
45 >
46 >
47
48
49 That is sort of a circular problem.  It doesn't want it, then it does. 
50 Thoughts?  Could it be that one of the other packages is still using
51 py2.7 and it needs to be disabled for them as well?  I would think
52 emerge would catch that and tell you that is what it needs but maybe
53 not.  It may not even be something you can toggle with a USE flag for
54 some reason. 
55
56 That's the only thing I can think of at the moment.  Maybe someone else
57 has a idea or it will hit me while I'm killing weeds in the garden.  You
58 know how it is.  You think about something when you are doing something
59 else.  lol 
60
61 Dale
62
63 :-)  :-)