Gentoo Archives: gentoo-dev

From: "Haelwenn (lanodan) Monnier" <contact@×××××××××.me>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Migrate away from python-2 or not
Date: Fri, 29 Nov 2019 15:40:26
Message-Id: 20191129154016.GA837@cloudsdale.the-delta.net.eu.org
In Reply to: Re: [gentoo-dev] Migrate away from python-2 or not by Mathy Vanvoorden
1 [2019-11-29 14:49:12+0100] Mathy Vanvoorden:
2 > > I tried removing python2 on a handful of test systems over the last week
3 > > ... it's back everywhere.
4 > >
5 > >
6 > I attempted the same over the last couple of days as I was thinking "It's
7 > going anyway, why not get a head start?". I had to do the following:
8 >
9 > * Remove metagen
10 > * Remove rr
11 > * Update kodi and related packages to 9999 (I know they are working on
12 > getting their 19.0 package out asap because of the 2.7 EOL)
13 > * Update clang and related packages to 9.0.0
14 > * Remove python dependency in libdbusmenu (it's not needed, PR here:
15 > https://github.com/gentoo/gentoo/pull/13790)
16 > * Port gnome-doc-utils to python3 (
17 > https://github.com/gentoo/gentoo/pull/13791)
18 > * Remove qt-creator as it depends on clang 8, changing USE to -clang would
19 > also work but not really using it anyway atm
20 > * Remove gconf dep from discord-bin (
21 > https://github.com/gentoo/gentoo/pull/13793)
22 > * Remove gconf dep from spotify (https://github.com/gentoo/gentoo/pull/13794
23 > )
24 > * Update gcr to 3.34.0 (https://github.com/gentoo/gentoo/pull/13798)
25 > * Unmask a number of other packages that luckily did have updated versions
26 > available: samba, talloc, javatoolkit, tdb, tevent, ldb, itstool,
27 > dropbox-cli, nodejs
28 > * Unmerge typing (now provided by python package)
29 > * Reinstall m2crypto, python-typing, scons
30 > * Reinstall crda with patch in https://bugs.gentoo.org/693728
31 > * Manually fix some packages that were not being selected for emerge by -N:
32 > m2crypto, virtual/python-typing, typing, scons
33 >
34 > Unfortunately I was not able to completely purge python2.7 from my system.
35 > The base package is still installed as it is required to build qtwebkit,
36 > qtwebengine, zziplib, firefox and spidermonkey. At least however I am now
37 > running with -python_targets_python2_7 so there's that.
38
39 Been running my server without python2 since… 2019-11-16 I thought it
40 was more than that but still quite a lot considering that I kept clang-8
41 for a while before switching to clang-9 on it. (I use clang as main
42 compiler, I'm also deprecating gcc so prefer to play it safe)
43
44 I still have a bunch of stuff on my desktop&laptop requiring python2,
45 like nodejs or renpy but it's getting quite better in the last months,
46 one I'm trully fearing about how it will go is dev-util/scons, I guess
47 a lot of patches will be required on the releases.
48
49 I think this kind of discussion might be better on the forums or
50 a user list btw.