* [gentoo-user] Why is depclean trying to remove python-3.4.1?
@ 2014-12-05 9:23 Mick
2014-12-05 9:27 ` Alec Ten Harmsel
0 siblings, 1 reply; 6+ messages in thread
From: Mick @ 2014-12-05 9:23 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 2360 bytes --]
I have selected python 3.4 set with eselect:
eselect python list
Available Python interpreters:
[1] python2.7
[2] python3.3
[3] python3.4 *
This is what I have installed:
eix -l dev-lang/python
[I] dev-lang/python
Available versions:
(2.7)
2.7.7 [-berkdb build doc examples gdbm hardened ipv6 +ncurses
+readline sqlite +ssl +threads tk +wide-unicode wininst +xml ELIBC="uclibc"]
~ 2.7.8 [-berkdb build doc examples gdbm hardened ipv6 +ncurses
+readline sqlite +ssl +threads tk +wide-unicode wininst +xml ELIBC="uclibc"]
(3.2)
3.2.5-r6 [build doc examples gdbm hardened ipv6 +ncurses
+readline sqlite +ssl +threads tk +wide-unicode wininst +xml ELIBC="uclibc"]
(3.3)
3.3.5-r1 [build doc examples gdbm hardened ipv6 +ncurses
+readline sqlite +ssl +threads tk wininst +xml ELIBC="uclibc"]
(3.4)
~ 3.4.0 [build examples gdbm hardened ipv6 +ncurses +readline
sqlite +ssl +threads tk wininst +xml ELIBC="uclibc"]
3.4.1 [build examples gdbm hardened ipv6 +ncurses +readline
sqlite +ssl +threads tk wininst +xml ELIBC="uclibc"]
~ 3.4.2 [build examples gdbm hardened ipv6 +ncurses +readline
sqlite +ssl +threads tk wininst +xml ELIBC="uclibc"]
Installed versions: 2.7.7(2.7)(08:57:14 08/22/14)(gdbm ipv6 ncurses
readline sqlite ssl threads wide-unicode xml -berkdb -build -doc -examples -
hardened -tk -wininst ELIBC="-uclibc")
3.3.5-r1(3.3)(09:00:09 08/22/14)(gdbm ipv6 ncurses
readline sqlite ssl threads xml -build -doc -examples -hardened -tk -wininst
ELIBC="-uclibc")
3.4.1(3.4)(00:44:46 10/14/14)(gdbm ipv6 ncurses
readline sqlite ssl threads xml -build -examples -hardened -tk -wininst
ELIBC="-uclibc")
Homepage: http://www.python.org/
Description: An interpreted, interactive, object-oriented
programming language
Why does depclean want to remove python-3.4.1?
>>> These are the packages that would be unmerged:
dev-lang/python
selected: 3.4.1
protected: none
omitted: 2.7.7 3.3.5-r1
All selected packages: =dev-lang/python-3.4.1
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Why is depclean trying to remove python-3.4.1?
2014-12-05 9:23 [gentoo-user] Why is depclean trying to remove python-3.4.1? Mick
@ 2014-12-05 9:27 ` Alec Ten Harmsel
2014-12-05 11:37 ` Mick
2014-12-08 4:29 ` Adam Carter
0 siblings, 2 replies; 6+ messages in thread
From: Alec Ten Harmsel @ 2014-12-05 9:27 UTC (permalink / raw
To: gentoo-user
On 12/05/2014 04:23 AM, Mick wrote:
> I have selected python 3.4 set with eselect:
>
> eselect python list
> Available Python interpreters:
> [1] python2.7
> [2] python3.3
> [3] python3.4 *
afaik eselect means nothing to portage's dependency solver.
>
> This is what I have installed:
>
> eix -l dev-lang/python
> [I] dev-lang/python
> Available versions:
> (2.7)
> 2.7.7 [-berkdb build doc examples gdbm hardened ipv6 +ncurses
> +readline sqlite +ssl +threads tk +wide-unicode wininst +xml ELIBC="uclibc"]
> ~ 2.7.8 [-berkdb build doc examples gdbm hardened ipv6 +ncurses
> +readline sqlite +ssl +threads tk +wide-unicode wininst +xml ELIBC="uclibc"]
> (3.2)
> 3.2.5-r6 [build doc examples gdbm hardened ipv6 +ncurses
> +readline sqlite +ssl +threads tk +wide-unicode wininst +xml ELIBC="uclibc"]
> (3.3)
> 3.3.5-r1 [build doc examples gdbm hardened ipv6 +ncurses
> +readline sqlite +ssl +threads tk wininst +xml ELIBC="uclibc"]
> (3.4)
> ~ 3.4.0 [build examples gdbm hardened ipv6 +ncurses +readline
> sqlite +ssl +threads tk wininst +xml ELIBC="uclibc"]
> 3.4.1 [build examples gdbm hardened ipv6 +ncurses +readline
> sqlite +ssl +threads tk wininst +xml ELIBC="uclibc"]
> ~ 3.4.2 [build examples gdbm hardened ipv6 +ncurses +readline
> sqlite +ssl +threads tk wininst +xml ELIBC="uclibc"]
> Installed versions: 2.7.7(2.7)(08:57:14 08/22/14)(gdbm ipv6 ncurses
> readline sqlite ssl threads wide-unicode xml -berkdb -build -doc -examples -
> hardened -tk -wininst ELIBC="-uclibc")
> 3.3.5-r1(3.3)(09:00:09 08/22/14)(gdbm ipv6 ncurses
> readline sqlite ssl threads xml -build -doc -examples -hardened -tk -wininst
> ELIBC="-uclibc")
> 3.4.1(3.4)(00:44:46 10/14/14)(gdbm ipv6 ncurses
> readline sqlite ssl threads xml -build -examples -hardened -tk -wininst
> ELIBC="-uclibc")
> Homepage: http://www.python.org/
> Description: An interpreted, interactive, object-oriented
> programming language
>
>
> Why does depclean want to remove python-3.4.1?
>
>>>> These are the packages that would be unmerged:
> dev-lang/python
> selected: 3.4.1
> protected: none
> omitted: 2.7.7 3.3.5-r1
>
> All selected packages: =dev-lang/python-3.4.1
>
>>>> 'Selected' packages are slated for removal.
>>>> 'Protected' and 'omitted' packages will not be removed.
A couple things:
* Do you have python3_4 in PYTHON_TARGETS?
* Do you have dev-lang/python:3.4 in @world?
Basically, if you haven't explicitly let portage know you want python
3.4, it will be depcleaned.
Alec
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Why is depclean trying to remove python-3.4.1?
2014-12-05 9:27 ` Alec Ten Harmsel
@ 2014-12-05 11:37 ` Mick
2014-12-05 11:48 ` Alec Ten Harmsel
2014-12-08 4:29 ` Adam Carter
1 sibling, 1 reply; 6+ messages in thread
From: Mick @ 2014-12-05 11:37 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 950 bytes --]
On Friday 05 Dec 2014 09:27:49 Alec Ten Harmsel wrote:
> On 12/05/2014 04:23 AM, Mick wrote:
> > I have selected python 3.4 set with eselect:
> >
> > eselect python list
> >
> > Available Python interpreters:
> > [1] python2.7
> > [2] python3.3
> > [3] python3.4 *
>
> afaik eselect means nothing to portage's dependency solver.
Oh! I hadn't understood this correctly.
> A couple things:
>
> * Do you have python3_4 in PYTHON_TARGETS?
> * Do you have dev-lang/python:3.4 in @world?
>
> Basically, if you haven't explicitly let portage know you want python
> 3.4, it will be depcleaned.
I don't have python in world, because it is always installed as a dependency.
However, I just noticed this in 'emerge --info':
PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3"
Hmm ... if I don't have PYTHON_TARGETS in my make.conf, where else is this
being set?
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Why is depclean trying to remove python-3.4.1?
2014-12-05 11:37 ` Mick
@ 2014-12-05 11:48 ` Alec Ten Harmsel
2014-12-05 13:05 ` Mick
0 siblings, 1 reply; 6+ messages in thread
From: Alec Ten Harmsel @ 2014-12-05 11:48 UTC (permalink / raw
To: gentoo-user
On 12/05/2014 06:37 AM, Mick wrote:
>
> I don't have python in world, because it is always installed as a dependency.
> However, I just noticed this in 'emerge --info':
>
> PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3"
>
> Hmm ... if I don't have PYTHON_TARGETS in my make.conf, where else is this
> being set?
>
>
>
PYTHON_TARGETS is set to "python2_7 python3_3" in the system profile
(portage being written in python naturally requires a system dependency
on Python). Unless you need a specific version of Python, I personally
would just leave it to the system profile, as it will be updated
automatically when necessary (I think python3_3 -> python3_4 will be
solid in a few months).
Also, 3.4 probably got installed because the python3_3 -> python3_4
transition was actually committed for a day or two until loads of issues
became apparent and this transition was reverted. iirc the revert was
not because porting from python3.3 to python3.4 is difficult, just due
to ebuilds not specifying python3_4 as supported, which is why I imagine
this will be solid in a few months.
Alec
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Why is depclean trying to remove python-3.4.1?
2014-12-05 11:48 ` Alec Ten Harmsel
@ 2014-12-05 13:05 ` Mick
0 siblings, 0 replies; 6+ messages in thread
From: Mick @ 2014-12-05 13:05 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1265 bytes --]
On Friday 05 Dec 2014 11:48:08 Alec Ten Harmsel wrote:
> On 12/05/2014 06:37 AM, Mick wrote:
> > I don't have python in world, because it is always installed as a
> > dependency. However, I just noticed this in 'emerge --info':
> >
> > PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3"
> >
> > Hmm ... if I don't have PYTHON_TARGETS in my make.conf, where else is
> > this being set?
>
> PYTHON_TARGETS is set to "python2_7 python3_3" in the system profile
> (portage being written in python naturally requires a system dependency
> on Python). Unless you need a specific version of Python, I personally
> would just leave it to the system profile, as it will be updated
> automatically when necessary (I think python3_3 -> python3_4 will be
> solid in a few months).
>
> Also, 3.4 probably got installed because the python3_3 -> python3_4
> transition was actually committed for a day or two until loads of issues
> became apparent and this transition was reverted. iirc the revert was
> not because porting from python3.3 to python3.4 is difficult, just due
> to ebuilds not specifying python3_4 as supported, which is why I imagine
> this will be solid in a few months.
OK got it, thanks!
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Why is depclean trying to remove python-3.4.1?
2014-12-05 9:27 ` Alec Ten Harmsel
2014-12-05 11:37 ` Mick
@ 2014-12-08 4:29 ` Adam Carter
1 sibling, 0 replies; 6+ messages in thread
From: Adam Carter @ 2014-12-08 4:29 UTC (permalink / raw
To: gentoo-user@lists.gentoo.org
[-- Attachment #1: Type: text/plain, Size: 156 bytes --]
> afaik eselect means nothing to portage's dependency solver.
>
Which is a bit dumb. I raised a bug for it;
https://bugs.gentoo.org/show_bug.cgi?id=367611
[-- Attachment #2: Type: text/html, Size: 511 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-12-08 4:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-05 9:23 [gentoo-user] Why is depclean trying to remove python-3.4.1? Mick
2014-12-05 9:27 ` Alec Ten Harmsel
2014-12-05 11:37 ` Mick
2014-12-05 11:48 ` Alec Ten Harmsel
2014-12-05 13:05 ` Mick
2014-12-08 4:29 ` Adam Carter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox