Re: [gentoo-user] python 3.6

2018-06-28 Thread Marc Joliet
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


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] python 3.6

2018-06-27 Thread Neil Bothwick
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.


pgphfPBOapT2C.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] python 3.6

2018-06-27 Thread 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





Re: [gentoo-user] python 3.6

2018-06-27 Thread Ralph Seichter
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



Re: [gentoo-user] python 3.6

2018-06-27 Thread John Covici
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
 cov...@ccs.covici.com



Re: [gentoo-user] python 3.6

2018-06-27 Thread Ralph Seichter
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