Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Python 3.5
Date: Sun, 29 Oct 2017 11:21:10
Message-Id: 6e5da18c-c021-c9ed-101a-c7551719170d@gmail.com
In Reply to: Re: [gentoo-user] Python 3.5 by Peter Humphrey
1 On 29/10/2017 11:11, Peter Humphrey wrote:
2 > On Sun, 29 Oct 2017 19:31:46 +1100
3 > Adam Carter <adamcarter3@×××××.com> wrote:
4 >
5 >>> On my amd64 arch machine I;
6 >>> emerged python 3.5
7 >>> eselected python 3.5
8 >>> edited make.conf to set PYTHON_TARGETS to "python2_7 python3_5"
9 >>> running emerge -pv --depclean =python-3.4.5 to see what needs to be
10 >>> rebuilt Then tryed to rebuild those packages to allow removal of 3.4,
11 >>> however, it looks like that I would then have to change
12 >>> PYTHON_SINGLE_TARGET to 3.5 too, and some other packages still require
13 >>> it to be set to 2.7, so i've bailed out of trying to get rid of 3.4 on
14 >>> that box. I'll leave PYTHON_TARGETS at "python2_7 python3_5" unless I
15 >>> find something that also needs 3.4 in there.
16 >>>
17 >>> Failure came fast, example;
18 >> The following REQUIRED_USE flag constraints are unsatisfied:
19 >> python? ( at-most-one-of ( python_targets_python3_4
20 >> python_targets_python3_5 python_targets_python3_6 )
21 >>
22 >> So ive unset PYTHON_TARGETS and PYTHON_SINGLE_TARGET again.
23 >
24 > Do you actually need any python entries in make.conf? I'm running happily
25 > here without any. I just let the profile and ebuilds sort out what they
26 > need.
27 >
28
29
30 For the most part, and for the regular user, that is generally fine. The
31 devs and profile maintainers take care of all the fiddly bits and ensure
32 that the settings are correct across the tree when they update the
33 profile to use the next Pythn version
34
35 For some users (aka the typical Gentoo'er) that doesn't really cut it.
36 Maybe the user wants to fiddle with python-3.5 before the profile is
37 ready for it.
38
39 Maybe the user wants to use some nifty new package or take advantage of
40 new features in python-3.5. This is the thing R0b0t1 was referring to.
41 In that case, the user must do for himself what the profile maintainers
42 do for you. That user also gets to keep all the shiny broken bits whilst
43 figuring out what to set for what
44
45 --
46 Alan McKinnon
47 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] Python 3.5 R0b0t1 <r030t1@×××××.com>