From 54defb3e7d061f5b1f3d785c4b66e2197d992049 Mon Sep 17 00:00:00 2001 From: William Cohen Date: Fri, 4 Oct 2024 10:49:50 -0400 Subject: [PATCH] high-level: Explicitly use python3 Python3 has been released for over 15 years. Fedora, Debian, and other distributions state that python scripts should avoid using unversioned python intepreter: https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 https://www.debian.org/doc/packaging-manuals/python-policy/ The RPM build process will flag unversioned python interpreter use as an error and the build will fail. Making the papi_hl_output_writer.py explicitly use /usr/bin/python3. --- src/high-level/scripts/papi_hl_output_writer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/high-level/scripts/papi_hl_output_writer.py b/src/high-level/scripts/papi_hl_output_writer.py index e04d6051f..02b263639 100755 --- a/src/high-level/scripts/papi_hl_output_writer.py +++ b/src/high-level/scripts/papi_hl_output_writer.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 from __future__ import division from collections import OrderedDict