Re: Finalizing Fedora's Switch to Python 3

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

 



Mathieu Bridon <bochecha@xxxxxxxxxxx> wrote:
> On Mon, 2017-07-31 at 00:02 +1000, Nick Coghlan wrote:
> > So that's effectively a hard design constraint for me: folks
> > targeting EL6 and EL7 *are* going to have to use "/usr/bin/python" in
> > their shebang lines (since they can't even assume "/usr/bin/python2"
> > will be present,  
> 
> Wait, what?
> 
> I see /usr/bin/python2 in the EL7 spec file:
> 
> https://git.centos.org/blob/rpms!python.git/c7/SPECS!python.spec#L2041
> 
> I'm pretty sure I had /usr/bin/python2 back in the days when I was
> using EL6. (but I have no way to check that now)

I just checked:

$ cat /etc/redhat-release 
CentOS release 6.9 (Final)
$ ll /usr/bin/python*
-rwxr-xr-x 2 root root 4864 18 aug  2016 /usr/bin/python
lrwxrwxrwx 1 root root    6 25 aug  2016 /usr/bin/python2 -> python
-rwxr-xr-x 2 root root 4864 18 aug  2016 /usr/bin/python2.6
$ rpm -q --file /usr/bin/python*
python-2.6.6-66.el6_8.x86_64
python-2.6.6-66.el6_8.x86_64
python-2.6.6-66.el6_8.x86_64

Unless this is different in RHEL than in CentOS I don't see
how /usr/bin/python2 could be missing if /usr/bin/python is present.

Björn Persson

Attachment: pgp98x0GhUuai.pgp
Description: OpenPGP digital signatur

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux