Skip to contentSkip to conversation

support/testing: sample_python_pybind.py: use python3 shebang

PATCH Applied Peter Korsgaard 2 participants 3 messages Jun 4, 2024 – Jun 13, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 support/testing: sample_python_pybind.py: use python3 shebang

No functional change as we install a python symlink, but use python3 for consistency with the other scripts.

---
 support/testing/tests/package/sample_python_pybind.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
support/testing/tests/package/sample_python_pybind.py +1 -1
index 605c0bab15..9c605caf61 100644
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 import example
 print(example.add(1, 2))
 print(example.says)
Signature · 6 lines
2.39.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 4 lines · Peter Korsgaard

No functional change as we install a python symlink, but use python3 for consistency with the other scripts.

Applied to master, thanks.

Regards,
Arnout

Quoted 9 lines
---
  support/testing/tests/package/sample_python_pybind.py | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
support/testing/tests/package/sample_python_pybind.py +0 -0
index 605c0bab15..9c605caf61 100644

support/testing/tests/package/sample_python_pybind.py line 4

Quoted 5 lines
support/testing/tests/package/sample_python_pybind.py +1 -1
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
  import example
  print(example.add(1, 2))
  print(example.says)

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Peter Korsgaard
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

No functional change as we install a python symlink, but use python3 for consistency with the other scripts.

Committed to 2024.02.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot