public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] python 3.6
@ 2018-06-27 20:43 Bill Kenworthy
  2018-06-27 21:04 ` Ralph Seichter
  2018-06-27 23:28 ` Neil Bothwick
  0 siblings, 2 replies; 7+ messages in thread
From: Bill Kenworthy @ 2018-06-27 20:43 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

After installing python 3.6, I now have multiple systems wanting to
depclean it!  Have I missed something? Should I be uninstalling 3.4 and
3.5 which are also present?

bunyip ~ # eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python3.5
  [3]   python2.7
  [4]   python3.4
bunyip ~ #

BillK




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] python 3.6
  2018-06-27 20:43 [gentoo-user] python 3.6 Bill Kenworthy
@ 2018-06-27 21:04 ` Ralph Seichter
  2018-06-27 22:16   ` John Covici
  2018-06-27 23:28 ` Neil Bothwick
  1 sibling, 1 reply; 7+ messages in thread
From: Ralph Seichter @ 2018-06-27 21:04 UTC (permalink / raw
  To: gentoo-user

On 27.06.18 22:43, Bill Kenworthy wrote:

> After installing python 3.6, I now have multiple systems wanting to
> depclean it! Have I missed something? Should I be uninstalling 3.4
> and 3.5 which are also present?

After you have recompiled all packages that were built with Python 3.4
and 3.5 support and verified that these versions are no longer required,
you can delete them.

-Ralph


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] python 3.6
  2018-06-27 21:04 ` Ralph Seichter
@ 2018-06-27 22:16   ` John Covici
  2018-06-27 22:36     ` Bill Kenworthy
  2018-06-27 22:37     ` Ralph Seichter
  0 siblings, 2 replies; 7+ messages in thread
From: John Covici @ 2018-06-27 22:16 UTC (permalink / raw
  To: gentoo-user

On Wed, 27 Jun 2018 17:04:57 -0400,
Ralph Seichter wrote:
> 
> On 27.06.18 22:43, Bill Kenworthy wrote:
> 
> > After installing python 3.6, I now have multiple systems wanting to
> > depclean it! Have I missed something? Should I be uninstalling 3.4
> > and 3.5 which are also present?
> 
> After you have recompiled all packages that were built with Python 3.4
> and 3.5 support and verified that these versions are no longer required,
> you can delete them.

This is not working for me -- after doing a world update, there are
still packages which apparently need both 3.4 and 3.5, so I cannot
remove them.  I wonder why this would be happening?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una
         covici@ccs.covici.com


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] python 3.6
  2018-06-27 22:16   ` John Covici
@ 2018-06-27 22:36     ` Bill Kenworthy
  2018-06-28  7:00       ` Marc Joliet
  2018-06-27 22:37     ` Ralph Seichter
  1 sibling, 1 reply; 7+ messages in thread
From: Bill Kenworthy @ 2018-06-27 22:36 UTC (permalink / raw
  To: gentoo-user

On 28/06/18 06:16, John Covici wrote:
> On Wed, 27 Jun 2018 17:04:57 -0400,
> Ralph Seichter wrote:
>> On 27.06.18 22:43, Bill Kenworthy wrote:
>>
>>> After installing python 3.6, I now have multiple systems wanting to
>>> depclean it! Have I missed something? Should I be uninstalling 3.4
>>> and 3.5 which are also present?
>> After you have recompiled all packages that were built with Python 3.4
>> and 3.5 support and verified that these versions are no longer required,
>> you can delete them.
> This is not working for me -- after doing a world update, there are
> still packages which apparently need both 3.4 and 3.5, so I cannot
> remove them.  I wonder why this would be happening?
>
Just found that by re-emergeing 3.6.5 it stops trying to remove it - I
can remove 3.4 but not 3.5.5 as its "still in use as the primary python
vrsion" despite 3.6 being [1] in eselect.


BillK




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] python 3.6
  2018-06-27 22:16   ` John Covici
  2018-06-27 22:36     ` Bill Kenworthy
@ 2018-06-27 22:37     ` Ralph Seichter
  1 sibling, 0 replies; 7+ messages in thread
From: Ralph Seichter @ 2018-06-27 22:37 UTC (permalink / raw
  To: gentoo-user

On 28.06.18 00:16, John Covici wrote:

> after doing a world update, there are still packages which apparently
> need both 3.4 and 3.5, so I cannot remove them.

That sounds like you might still have some packages where the use flags
python_targets_python3_4 and/or python_targets_python3_5 are active. Vim
comes to my mind as an example:

  # equery u app-editors/vim
  [ Legend : U - final flag setting for installation]
  [        : I - package is installed with flag     ]
  [ Colors : set, unset                             ]
   * Found these USE flags for app-editors/vim-8.0.1298:
   U I
   ( ... )
   - - perl                           : Add optional support/bindings for the Perl language
   - - python                         : Add optional support/bindings for the Python language
   - - python_single_target_python2_7 : Build for Python 2.7 only
   - - python_single_target_python3_4 : Build for Python 3.4 only
   - - python_single_target_python3_5 : Build for Python 3.5 only
   + + python_single_target_python3_6 : Build for Python 3.6 only
   + + python_targets_python2_7       : Build with Python 2.7
   - - python_targets_python3_4       : Build with Python 3.4
   - - python_targets_python3_5       : Build with Python 3.5
   + + python_targets_python3_6       : Build with Python 3.6
   - - racket                         : Enable support for Scheme using dev-scheme/racket
   ( ... )

As you can see, vim was built with support for Python 2.7 and 3.6, but
neither 3.4 nor 3.5. Which is the way I want it.

-Ralph


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] python 3.6
  2018-06-27 20:43 [gentoo-user] python 3.6 Bill Kenworthy
  2018-06-27 21:04 ` Ralph Seichter
@ 2018-06-27 23:28 ` Neil Bothwick
  1 sibling, 0 replies; 7+ messages in thread
From: Neil Bothwick @ 2018-06-27 23:28 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 648 bytes --]

On Thu, 28 Jun 2018 04:43:13 +0800, Bill Kenworthy wrote:

> After installing python 3.6, I now have multiple systems wanting to
> depclean it!  Have I missed something? Should I be uninstalling 3.4 and
> 3.5 which are also present?
> 
> bunyip ~ # eselect python list
> Available Python interpreters, in order of preference:
>   [1]   python3.6
>   [2]   python3.5
>   [3]   python2.7
>   [4]   python3.4

See the thread "Recent change to python...". The profile change from 3.5
to 3.6 was subsequently reversed. The thread contains the solution.


-- 
Neil Bothwick

Talk is cheap because supply exceeds demand.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] python 3.6
  2018-06-27 22:36     ` Bill Kenworthy
@ 2018-06-28  7:00       ` Marc Joliet
  0 siblings, 0 replies; 7+ messages in thread
From: Marc Joliet @ 2018-06-28  7:00 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1268 bytes --]

Am Donnerstag, 28. Juni 2018, 00:36:57 CEST schrieb Bill Kenworthy:
> On 28/06/18 06:16, John Covici wrote:
> > On Wed, 27 Jun 2018 17:04:57 -0400,
> > 
> > Ralph Seichter wrote:
> >> On 27.06.18 22:43, Bill Kenworthy wrote:
> >>> After installing python 3.6, I now have multiple systems wanting to
> >>> depclean it! Have I missed something? Should I be uninstalling 3.4
> >>> and 3.5 which are also present?
> >> 
> >> After you have recompiled all packages that were built with Python 3.4
> >> and 3.5 support and verified that these versions are no longer required,
> >> you can delete them.
> > 
> > This is not working for me -- after doing a world update, there are
> > still packages which apparently need both 3.4 and 3.5, so I cannot
> > remove them.  I wonder why this would be happening?
> 
> Just found that by re-emergeing 3.6.5 it stops trying to remove it - I
> can remove 3.4 but not 3.5.5 as its "still in use as the primary python
> vrsion" despite 3.6 being [1] in eselect.
> 
> 
> BillK

That sounds to me like you merely added 3.6.5 to the world file (by not 
passing --oneshot to emerge).  For the rest, see Neil's reply.

-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-06-28  7:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-27 20:43 [gentoo-user] python 3.6 Bill Kenworthy
2018-06-27 21:04 ` Ralph Seichter
2018-06-27 22:16   ` John Covici
2018-06-27 22:36     ` Bill Kenworthy
2018-06-28  7:00       ` Marc Joliet
2018-06-27 22:37     ` Ralph Seichter
2018-06-27 23:28 ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox