You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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!)
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 getpython3
, but notpython
. As per the PEP, I think it wise to discontinue use ofpython
, 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.The text was updated successfully, but these errors were encountered: