Check that the minimum required Python (3.8) version is used.
Prints a descriptive error message, rather than a cryptic import failure, if minimum Python version is not met.
Internal ticket SWDEV-477233.
Disable the RPM mangling of shebangs.
The are changing the #!/usr/bin/python3 to #!/usr/libexec/platform-python. With this set, omniperf is always using the platform installed version of python, which is python 3.6 on RHEL 8. Using virtual environments, like conda, did not work.
Cherry pick PR#393
Prints a descriptive error message, rather than a cryptic import failure, if minimum Python version is not met.
Internal ticket SWDEV-477233.
The are changing the
#!/usr/bin/python3
to#!/usr/libexec/platform-python
. With this set, omniperf is always using the platform installed version of python, which is python 3.6 on RHEL 8. Using virtual environments, like conda, did not work.