Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: python@g.o
Subject: [gentoo-dev] News item review: python-exec 2.3 reclaims python* symlinks
Date: Sat, 21 Jan 2017 09:49:46
Message-Id: 20170121104927.59fcd40c.mgorny@gentoo.org
1 Please review the following news item. It was requested by users.
2 Preferably I'd like to commit it today.
3
4 --
5
6 Title: python-exec 2.3 reclaims python* symlinks
7 Author: Michał Górny <mgorny@g.o>
8 Content-Type: text/plain
9 Posted: 2017-01-21
10 Revision: 1
11 News-Item-Format: 1.0
12 Display-If-Installed: <app-eselect/eselect-python-20160206
13 Display-If-Installed: <dev-lang/python-exec-2.3
14
15 The new versions of python-exec (2.3 and newer) are reclaiming multiple
16 Python-related symlinks in /usr/bin, most notably /usr/bin/python*. This
17 may result in your package manager reporting file collisions.
18
19 The respective symlinks were previously either unowned and created
20 dynamically by app-eselect/eselect-python, or installed by it. From now
21 on, all Python-related symlinks are installed and handled
22 by python-exec. This ensures that they respect the python-exec
23 configuration files and variables consistently with regular Python
24 packages, and improves their reliability.
25
26 If you are using FEATURES=collision-protect, Portage will reject
27 the upgrade. If this is the case, please temporarily switch to
28 FEATURES=protect-owned for the upgrade.
29
30 If you are using FEATURES=protect-owned, Portage will verbosely warn
31 about the file collisions but will proceed with the upgrade once
32 determining no replaced files are owned. Please disregard the warning.
33
34 The potentially colliding files are:
35
36 * /usr/bin/2to3
37 * /usr/bin/pydoc
38 * /usr/bin/python
39 * /usr/bin/python2
40 * /usr/bin/python3
41 * /usr/bin/python-config
42
43 For more information on python-exec, please see:
44 https://wiki.gentoo.org/wiki/Project:Python/python-exec
45
46
47 --
48 Best regards,
49 Michał Górny
50 <http://dev.gentoo.org/~mgorny/>

Replies