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

TriBITS Python scripts do not work on some modern Linux distributions #607

Open
sebrowne opened this issue Jun 6, 2024 · 1 comment · May be fixed by #608
Open

TriBITS Python scripts do not work on some modern Linux distributions #607

sebrowne opened this issue Jun 6, 2024 · 1 comment · May be fixed by #608

Comments

@sebrowne
Copy link
Contributor

sebrowne commented Jun 6, 2024

As per https://peps.python.org/pep-0394, python may not exist on some modern Linux operating systems. The particular one in question here is RHEL8. If you install one of the python3 packages, you do get python3, but not python. As per the PEP, I think it wise to discontinue use of python, given the end-of-life of Python 2.

This specifically applies to the use of the #!/usr/bin/env python idiom present in many of the TriBITS Python scripts. This is causing issues for the Trilinos AutoTester on RHEL8.

@sebrowne sebrowne changed the title TriBITS does not work on some modern Linux distributions TriBITS Python scripts do not work on some modern Linux distributions Jun 6, 2024
@sebrowne sebrowne linked a pull request Jun 6, 2024 that will close this issue
@bartlettroscoe
Copy link
Member

Yup, TriBITS Python code was updated to Python3 years ago, and enough years have gone by that Python3 is universally available (especially with the switch to RHEL8 at SNL). (NOTE: Python 2.7 was the default Python for RHEL7, see here!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants