Use /usr/bin/python3 on rhelish 9+ (#74547)

The /usr/libexec/platform-python symbolic link is just a backwards compatibility shim there.

See ce226d00fa
pull/74564/head
Miro Hrončok 3 years ago committed by GitHub
parent 4627c30b2e
commit 728b52a6ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
minor_changes:
- On RHEL 9, CentOS Stream 9 etc., use /usr/bin/python3 as the default interpreter; /usr/libexec/platform-python is just a backwards-compatibility symbolic link there.

@ -1486,6 +1486,7 @@ INTERPRETER_PYTHON_DISTRO_MAP:
centos: &rhelish
'6': /usr/bin/python
'8': /usr/libexec/platform-python
'9': /usr/bin/python3
debian:
'8': /usr/bin/python
'10': /usr/bin/python3

Loading…
Cancel
Save