On 2017/11/02 15:11, Antoine Jacoutot wrote:
> On Thu, Nov 02, 2017 at 02:10:21PM +0000, Stuart Henderson wrote:
> > On 2017/11/02 14:51, Antoine Jacoutot wrote:
> > > Hi.
> > > 
> > > We have never provided a default 'python' utility with our packages and 
> > > for
> > > good reasons. That said, I would really like if we could provide a default
> > > symlink to the default major versions of python. That is: python2 and 
> > > python3.
> > > The rational behind this is that a lot of upstreams have "fixed" their 
> > > hardcoded
> > > shebangs from #!/usr/bin/python... to #!/usr/bin/env python2 or 
> > > #!/usr/bin/env python3.
> > > This would allow us to drop lots of patches, substitutions and 
> > > MODPY_ADJ_FILES
> > > from our ports tree and make things easier for us in general.
> > > 
> > > People willing to use another version as the default major are pretty 
> > > much on
> > > their own but that's already the case today since we have substituting
> > > everything anyway.
> > > 
> > > I am putting this into a bulk right now...
> > > What do you guys think?
> > 
> > Sounds sane to me. Some users may already have their own symlink that 
> > they'll
> > have to remove first before they update.
> > 
> > Related: what does anyone think about moving these?
> > 
> >     lang/python/2.7 -> lang/python/2
> >     lang/python/3.6 -> lang/python/3
> > 
> > The further split used to be helpful in the days of 2.4/5/6/7 when they 
> > language
> > changed all the time, but it doesn't seem particularly useful these days, 
> > and makes
> > version updates (like 3.4 to 3.6) harder due to the bumps.
> 
> I fullu support this move. It'll bring us closer to everyone does.

I realised now that it doesn't actually help with bumps because the library 
filenames
change :(

Reply via email to