Gentoo Archives: gentoo-dev

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