Re: [sepia] Python 2 exodus is happening now [Was: Re: Transition to Python 3]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 22, 2019 at 6:53 PM Nathan Cutler <ncutler@xxxxxxxx> wrote:
>
> > Seems that if you only have python3 installed in Fedora31 this is
> > *not* the case.
> >
> > # python --version
> > Python 3.7.5
> > # /usr/bin/python --version
> > Python 3.7.5
> > # ls -l /usr/bin/python
> > lrwxrwxrwx. 1 root root 9 Nov 18 00:57 /usr/bin/python -> ./python3
> >
> > See https://lists.fedoraproject.org/archives/list/devel-announce@xxxxxxxxxxxxxxxxxxxxxxx/thread/NFMFRKHLPUEDXSADCNXJ2N5YHK2JG3PB/
> > and https://fedoraproject.org/wiki/Changes/RetirePython2#The_python27_package
> >
> > "there is no /usr/bin/python"
> >
> > So the two distros are quite divergent in their approach apparently?
> >
>
> In Fedora 31, if I have a script with the following shebang:
>
> #!/usr/bin/python3
>
> will it not work?

Sure it will (and I'm sure you've tried it already :) )

I don't think I said it wouldn't. I was pointing out the difference
between your statement that "/usr/bin/python -> /usr/bin/python2 will
not be changed" in SLES and openSUSE and the current reality in Fedora
31 and that's where the "two distros are quite divergent in their
approach apparently" came from. I'm not convinced we're on the same
page.

>
> Nathan
>


-- 
Cheers,
Brad
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx



[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux