public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] how to update python choice
@ 2018-07-26  1:10 allan gottlieb
  2018-07-26  2:45 ` Bill Kenworthy
  0 siblings, 1 reply; 5+ messages in thread
From: allan gottlieb @ 2018-07-26  1:10 UTC (permalink / raw
  To: gentoo-user

I am still using python 3.4, i.e.

  sh-4.4# eselect python show
  python3.4
  sh-4.4# 

  sh-4.4# eselect python list
  Available Python interpreters, in order of preference:
    [1]   python3.4
    [2]   python3.6 (fallback)
    [3]   python3.5 (fallback)
    [4]   python2.7 (fallback)
  sh-4.4# 
  
I realize I should have updated previously.

Is a python update as simple as
  emerge --update --changed-use --with-bdeps=n @world
  eselect python set python3.6
  emerge --update --changed-use --with-bdeps=n @world

I have no custom python scripts on either of my systems.

thanks in advance,
allan


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

* Re: [gentoo-user] how to update python choice
  2018-07-26  1:10 [gentoo-user] how to update python choice allan gottlieb
@ 2018-07-26  2:45 ` Bill Kenworthy
  2018-07-26  3:23   ` allan gottlieb
  0 siblings, 1 reply; 5+ messages in thread
From: Bill Kenworthy @ 2018-07-26  2:45 UTC (permalink / raw
  To: gentoo-user

Hi, no problems doing it except because of the large number of packages
look forward to hours of compiling (24hrs on my surface pro4).  Got a
few other systems to do which is going to take awhile.

BillK


On 26/07/18 09:10, allan gottlieb wrote:
> I am still using python 3.4, i.e.
>
>   sh-4.4# eselect python show
>   python3.4
>   sh-4.4# 
>
>   sh-4.4# eselect python list
>   Available Python interpreters, in order of preference:
>     [1]   python3.4
>     [2]   python3.6 (fallback)
>     [3]   python3.5 (fallback)
>     [4]   python2.7 (fallback)
>   sh-4.4# 
>   
> I realize I should have updated previously.
>
> Is a python update as simple as
>   emerge --update --changed-use --with-bdeps=n @world
>   eselect python set python3.6
>   emerge --update --changed-use --with-bdeps=n @world
>
> I have no custom python scripts on either of my systems.
>
> thanks in advance,
> allan
>



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

* Re: [gentoo-user] how to update python choice
  2018-07-26  2:45 ` Bill Kenworthy
@ 2018-07-26  3:23   ` allan gottlieb
  2018-07-26  6:20     ` Neil Bothwick
  0 siblings, 1 reply; 5+ messages in thread
From: allan gottlieb @ 2018-07-26  3:23 UTC (permalink / raw
  To: gentoo-user

On Thu, Jul 26 2018, Bill Kenworthy wrote:

> On 26/07/18 09:10, allan gottlieb wrote:
>> I am still using python 3.4, i.e.
>>
>>   sh-4.4# eselect python show
>>   python3.4
>>   sh-4.4# 
>>
>>   sh-4.4# eselect python list
>>   Available Python interpreters, in order of preference:
>>     [1]   python3.4
>>     [2]   python3.6 (fallback)
>>     [3]   python3.5 (fallback)
>>     [4]   python2.7 (fallback)
>>   sh-4.4# 
>>   
>> I realize I should have updated previously.
>>
>> Is a python update as simple as
>>   emerge --update --changed-use --with-bdeps=n @world
>>   eselect python set python3.6
>>   emerge --update --changed-use --with-bdeps=n @world
>>
>> I have no custom python scripts on either of my systems.
>>
>> thanks in advance,
>> allan
>>
>
>
> Hi, no problems doing it except because of the large number of packages
> look forward to hours of compiling (24hrs on my surface pro4).  Got a
> few other systems to do which is going to take awhile.
>
> BillK

Thank you, that is just what I needed to know.

allan


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

* Re: [gentoo-user] how to update python choice
  2018-07-26  3:23   ` allan gottlieb
@ 2018-07-26  6:20     ` Neil Bothwick
  2018-07-26 16:54       ` allan gottlieb
  0 siblings, 1 reply; 5+ messages in thread
From: Neil Bothwick @ 2018-07-26  6:20 UTC (permalink / raw
  To: gentoo-user

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

On Wed, 25 Jul 2018 23:23:18 -0400, allan gottlieb wrote:

> On Thu, Jul 26 2018, Bill Kenworthy wrote:
> 
> > On 26/07/18 09:10, allan gottlieb wrote:  
> >> I am still using python 3.4, i.e.
> >>
> >>   sh-4.4# eselect python show
> >>   python3.4
> >>   sh-4.4# 
> >>
> >>   sh-4.4# eselect python list
> >>   Available Python interpreters, in order of preference:
> >>     [1]   python3.4
> >>     [2]   python3.6 (fallback)
> >>     [3]   python3.5 (fallback)
> >>     [4]   python2.7 (fallback)
> >>   sh-4.4# 
> >>   
> >> I realize I should have updated previously.
> >>
> >> Is a python update as simple as
> >>   emerge --update --changed-use --with-bdeps=n @world
> >>   eselect python set python3.6
> >>   emerge --update --changed-use --with-bdeps=n @world
> >>
> >> I have no custom python scripts on either of my systems.
> >>
> >> thanks in advance,
> >> allan
> >>  
> >
> >
> > Hi, no problems doing it except because of the large number of
> > packages look forward to hours of compiling (24hrs on my surface
> > pro4).  Got a few other systems to do which is going to take awhile.
> >
> > BillK  
> 
> Thank you, that is just what I needed to know.

If the packages were already built with python_3.6 in PYTHON_TARGETS,
there should be no rebuilding. It is the change on PYTHON_TARGETS that
triggers the rebuild, eselect just chooses from one of the available
targets AIUI.


-- 
Neil Bothwick

An unemployed Court Jester is nobody's fool.

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

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

* Re: [gentoo-user] how to update python choice
  2018-07-26  6:20     ` Neil Bothwick
@ 2018-07-26 16:54       ` allan gottlieb
  0 siblings, 0 replies; 5+ messages in thread
From: allan gottlieb @ 2018-07-26 16:54 UTC (permalink / raw
  To: gentoo-user

On Thu, Jul 26 2018, Neil Bothwick wrote:

> On Wed, 25 Jul 2018 23:23:18 -0400, allan gottlieb wrote:
>
>> On Thu, Jul 26 2018, Bill Kenworthy wrote:
>> 
>> > On 26/07/18 09:10, allan gottlieb wrote:  
>> >> I am still using python 3.4, i.e.
>> >>
>> >>   sh-4.4# eselect python show
>> >>   python3.4
>> >>   sh-4.4# 
>> >>
>> >>   sh-4.4# eselect python list
>> >>   Available Python interpreters, in order of preference:
>> >>     [1]   python3.4
>> >>     [2]   python3.6 (fallback)
>> >>     [3]   python3.5 (fallback)
>> >>     [4]   python2.7 (fallback)
>> >>   sh-4.4# 
>> >>   
>> >> I realize I should have updated previously.
>> >>
>> >> Is a python update as simple as
>> >>   emerge --update --changed-use --with-bdeps=n @world
>> >>   eselect python set python3.6
>> >>   emerge --update --changed-use --with-bdeps=n @world
>> >>
>> >> I have no custom python scripts on either of my systems.
>> >>
>> >> thanks in advance,
>> >> allan
>> >>  
>> >
>> >
>> > Hi, no problems doing it except because of the large number of
>> > packages look forward to hours of compiling (24hrs on my surface
>> > pro4).  Got a few other systems to do which is going to take awhile.
>> >
>> > BillK  
>> 
>> Thank you, that is just what I needed to know.
>
> If the packages were already built with python_3.6 in PYTHON_TARGETS,
> there should be no rebuilding. It is the change on PYTHON_TARGETS that
> triggers the rebuild, eselect just chooses from one of the available
> targets AIUI.

Thanks for the clarification.
allan


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

end of thread, other threads:[~2018-07-26 16:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-26  1:10 [gentoo-user] how to update python choice allan gottlieb
2018-07-26  2:45 ` Bill Kenworthy
2018-07-26  3:23   ` allan gottlieb
2018-07-26  6:20     ` Neil Bothwick
2018-07-26 16:54       ` allan gottlieb

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