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

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

See ce226d00fa
This commit is contained in:
Miro Hrončok 2021-05-04 18:48:16 +02:00 committed by GitHub
parent 4627c30b2e
commit 728b52a6ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -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.

View file

@ -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