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:
parent
4627c30b2e
commit
728b52a6ff
2 changed files with 3 additions and 0 deletions
2
changelogs/fragments/74547-use-python3-on-rhel-9.yaml
Normal file
2
changelogs/fragments/74547-use-python3-on-rhel-9.yaml
Normal 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.
|
|
@ -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…
Reference in a new issue