Gentoo Archives: gentoo-user

From: james <garftd@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Python 2.7 removal : problem with Firefox + Spidermonkey
Date: Thu, 30 Jul 2020 00:01:45
Message-Id: daf9877c-5e9e-571d-7c17-115551f67d01@verizon.net
1 On 7/29/20 1:21 PM, Simon Thelen wrote:
2 > [2020-07-29 13:11] Philip Webb <purslow@××××××××.net>
3 > Hi,
4 >> I've removed every other pkg which might require Python-2.7,
5 >> but am stuck with this :
6 >>
7 >> root:605 ~> emerge -cpv python:2.7
8 >>
9 >> Calculating dependencies... done!
10 >> dev-lang/python-2.7.18-r1 pulled in by:
11 >> dev-lang/spidermonkey-60.5.2_p0-r4 requires >=dev-lang/python-2.7.5-r2:2.7[ncurses,sqlite,ssl,threads]
12 >> www-client/firefox-68.10.0 requires dev-lang/python:2.7[ncurses,sqlite,ssl,threads(+)]
13 >>
14 >> Yes, I've looked in package.use & in the ebuilds
15 >> & can't find any source of these requirements : can anyone help ?
16 > The dependencies on python2.7 are being added by the mozcoreconf
17 > eclasses. The firefox requirement is in eclass/mozcoreconf-v6.eclass,
18 > spidermonkey has essentially the same thing but in -v5.eclass
19 >
20
21 I'm down to (9) or so. Periodically, I use this command to see where I am::
22
23
24 eix --installed-with-use python_targets_python2_7
25
26 and in the top of my package.use I have::
27
28 */* PYTHON_TARGETS: python3_6 python3_7 python3_8 python3_9
29
30 */* PYTHON_SINGLE_TARGET: -* python3_7
31 */* PYTHON_TARGETS: -python2_7
32
33
34 There are many variants on these approaches, depending on how
35 aggressively you want to get rid of python 2_7.
36
37 Me, palemoon is my fav browser and it seems to be long term stuck on
38 python 2.7...... Any suggests on a more secure, feature rich browser
39 other than palemoon would be interesting to me to at least test.
40
41 But, this is a system, with thousands of packages from gentoo
42 (gentrified) proper, and dozens of other hacks.
43 and dozens of my own (rev-5) ebuilds I'm too lazy/stupid to update to
44 (rev-7). If I were only smarter and motivated......
45
46
47 As I age, I'm getting lazier; and that includes all things gentoo....
48
49 hth,
50 James

Replies

Subject Author
Re: [gentoo-user] Python 2.7 removal : problem with Firefox + Spidermonkey Walter Dnes <waltdnes@××××××××.org>