Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python3 Installation on RHEL #4166

Closed
gregory-barr opened this issue Mar 18, 2024 · 2 comments
Closed

Python3 Installation on RHEL #4166

gregory-barr opened this issue Mar 18, 2024 · 2 comments
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@gregory-barr
Copy link

Describe the bug
When installing xpra using rpms on RHEL8 (using rhel/ubi8 as base in a container installation via podman), the installation changes the shebang from /usr/bin/python3 to /usr/libexec/platform-python, which then defaults to python3.6. The preference is to use the latest 3.11.

To Reproduce
Steps to reproduce the behavior:

  1. Start with rhel8/ubi
  2. Configure yum repos to use almalinux
  3. yum install xpra-5.0.7
  4. Inspect /usr/bin/xpra and noticed changed shebang to /usr/libexec/platform-python

System Information (please complete the following information):

  • Server OS: RHEL8.9
  • Xpra version: 5.0.7

Additional context
Setting alternatives for python3 to python3.11 does not have any affect.

@gregory-barr gregory-barr added the bug Something isn't working label Mar 18, 2024
@gregory-barr
Copy link
Author

More info:

Installed python3.11

alternatives --display python3
Current `best' version is /usr/bin/python3.11

Attached is yum install xpra output which shows python36 dependency
Yum Install with dependencies.txt

Attached also is "python3 version.py" output after installation.
version.py output.txt

@totaam
Copy link
Collaborator

totaam commented Mar 18, 2024

The preference is to use the latest 3.11.

You cannot simply switch python version.
The xpra package is tied to a specific python version.

In version 6 (available from the beta repository), xpra will install python3.11-xpra and can co-exist with other versions, as is done on Fedora where you also have the choice of installing python3.12-xpra, python3.10-xpra, etc..

@totaam totaam closed this as completed Mar 18, 2024
@totaam totaam added the invalid This doesn't seem right label Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants