Python support policy

Gary E. Miller gem at rellim.com
Fri Sep 4 04:15:54 UTC 2020


Yo Richard!

On Thu, 3 Sep 2020 23:05:52 -0500
Richard Laager via devel <devel at ntpsec.org> wrote:

> On 9/3/20 1:12 PM, Gary E. Miller via devel wrote:
> > On Thu, 3 Sep 2020 02:30:43 -0500
> > Richard Laager via devel <devel at ntpsec.org> wrote:
> >   
> >> On 9/2/20 7:44 PM, Gary E. Miller via devel wrote:  
> >>>> 1. Change waf's shebang:
> >>>>      -#!/usr/bin/env python
> >>>>      +#!/usr/bin/env python3    
> >>>
> >>> Uh, no.  That breaks Gentoo eselect.    
> >>
> >> How, specifically?  
> > 
> > Bentoo allows the user to select his current Python, at runtime.
> > Trivially select his current Python.  This is great, sometimes I
> > run 7 Python versions and flip between them quickly for testing.  
> Can you show me how that works?
> 
> 1. Select (with eselect) Python 3.8 and run:
>      python3 --version
> 2. Select Python 3.7 and run:
>      python3 --version

# select 3.7:
spidey ~ #      python3 --version
Python 3.7.8
# select 3.8:
spidey ~ #      python3 --version
Python 3.8.5

The case you left out:

# select 2.7
spidey ~ #      python3 --version
Python 3.8.5

Uh, oh.  That is why we do not do that.

Similar for other non-python python flavors.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20200903/7502668e/attachment.bin>


More information about the devel mailing list