use python3 explicitly
v2 cover use python3 explicitly
Hi,
changes v1->v2:
* 3 more commits
* remove also python2 compatibility imports
Kind regards,
Petr
Petr Vorel (4):
support: utils: use python3
utils/scanpypi: remove python2 compatibility imports utils/getdeveloperlib.py: use python3 explicitly testing/tests/package: use python3 explicitly
support/scripts/cve.py | 2 +- support/scripts/graph-build-time | 2 +- support/scripts/graph-depends | 2 +- support/scripts/pycompile.py | 4 +--- support/scripts/size-stats | 2 +- support/testing/tests/package/sample_gst1_python.py | 2 +- support/testing/tests/package/sample_python_gobject.py | 2 +- support/testing/tests/package/test_crudini.py | 2 ++ support/testing/tests/package/test_gst1_python.py | 2 ++ support/testing/tests/package/test_ipython.py | 2 ++ support/testing/tests/package/test_libftdi1.py | 2 ++ support/testing/tests/package/test_python.py | 2 ++ support/testing/tests/package/test_python_argh.py | 2 ++ support/testing/tests/package/test_python_attrs.py | 2 ++ support/testing/tests/package/test_python_augeas.py | 2 ++ support/testing/tests/package/test_python_autobahn.py | 2 ++ support/testing/tests/package/test_python_automat.py | 2 ++ support/testing/tests/package/test_python_avro.py | 2 ++ support/testing/tests/package/test_python_bitstring.py | 2 ++ support/testing/tests/package/test_python_can.py | 2 ++ support/testing/tests/package/test_python_cbor.py | 2 ++ support/testing/tests/package/test_python_click.py | 2 ++ support/testing/tests/package/test_python_colorzero.py | 2 ++ support/testing/tests/package/test_python_constantly.py | 2 ++ support/testing/tests/package/test_python_crossbar.py | 2 ++ support/testing/tests/package/test_python_cryptography.py | 2 ++ support/testing/tests/package/test_python_dbus_next.py | 2 ++ support/testing/tests/package/test_python_django.py | 2 ++ support/testing/tests/package/test_python_gitdb2.py | 2 ++ support/testing/tests/package/test_python_gobject.py | 2 ++ support/testing/tests/package/test_python_gpiozero.py | 2 ++ support/testing/tests/package/test_python_incremental.py | 2 ++ support/testing/tests/package/test_python_passlib.py | 2 ++ support/testing/tests/package/test_python_pexpect.py | 2 ++ support/testing/tests/package/test_python_pynacl.py | 2 ++ support/testing/tests/package/test_python_pytest.py | 2 ++ support/testing/tests/package/test_python_pytest_asyncio.py | 2 ++ support/testing/tests/package/test_python_pyyaml.py | 2 ++ support/testing/tests/package/test_python_rpi_gpio.py | 2 ++ support/testing/tests/package/test_python_rsa.py | 2 ++ support/testing/tests/package/test_python_service_identity.py | 2 ++ support/testing/tests/package/test_python_smmap2.py | 2 ++ support/testing/tests/package/test_python_subprocess32.py | 2 ++ support/testing/tests/package/test_python_treq.py | 2 ++ support/testing/tests/package/test_python_twisted.py | 2 ++ support/testing/tests/package/test_python_txaio.py | 2 ++ support/testing/tests/package/test_python_txtorcon.py | 2 ++ support/testing/tests/package/test_python_ubjson.py | 2 ++ utils/check-package | 3 +-- utils/genrandconfig | 4 +--- utils/get-developers | 2 +- utils/getdeveloperlib.py | 3 ++- utils/scanpypi | 2 -- utils/size-stats-compare | 2 +- 54 files changed, 95 insertions(+), 19 deletions(-)
Signature · 6 lines
2.33.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 1/4 support: utils: use python3 explicitly
Python 2 is EOL sice 2020 [1], it's still available on distros, but may not be installed by default (as being replaced by python3).
Thus remove compatibility imports:
from __future__ import print_function
from __future__ import absolute_import
Tested with python3 -m py_compile.
[1] https://www.python.org/doc/sunset-python-2/
---
changes v1->v2:
* remove also python2 compatibility imports
support/scripts/cve.py | 2 +- support/scripts/graph-build-time | 2 +- support/scripts/graph-depends | 2 +- support/scripts/pycompile.py | 4 +--- support/scripts/size-stats | 2 +- support/testing/tests/package/sample_gst1_python.py | 2 +- support/testing/tests/package/sample_python_gobject.py | 2 +- utils/check-package | 3 +-- utils/genrandconfig | 4 +--- utils/get-developers | 2 +- utils/size-stats-compare | 2 +- 11 files changed, 11 insertions(+), 16 deletions(-)
support/scripts/cve.py +1 -1
@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (C) 2009 by Thomas Petazzoni <[email protected]> # Copyright (C) 2020 by Gregory CLEMENT <[email protected]>
support/scripts/graph-build-time +1 -1
@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (C) 2011 by Thomas Petazzoni <[email protected]> # Copyright (C) 2013 by Yann E. MORIN <[email protected]>
support/scripts/graph-depends +1 -1
@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Usage (the graphviz package must be installed in your distribution) # ./support/scripts/graph-depends [-p package-name] > test.dot
support/scripts/pycompile.py +1 -3
@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """ Byte compile all .py files from provided directories. This script is an
@@ -6,8 +6,6 @@ alternative implementation of compileall.compile_dir written with cross-compilation in mind. """ -from __future__ import print_function - import argparse import os import py_compile
support/scripts/size-stats +1 -1
@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (C) 2014 by Thomas Petazzoni <[email protected]>
support/testing/tests/package/sample_gst1_python.py +1 -1
@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """A simple test that uses gst1-python to run a fake videotestsrc for 100 frames """
support/testing/tests/package/sample_python_gobject.py +1 -1
@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """A simple test that uses python-gobject to find the path of sh.""" from gi.repository import GLib
utils/check-package +1 -2
@@ -1,7 +1,6 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # See utils/checkpackagelib/readme.txt before editing this file. -from __future__ import print_function import argparse import inspect import os
utils/genrandconfig +1 -3
@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (C) 2014 by Thomas Petazzoni <[email protected]> #
@@ -18,8 +18,6 @@ # This script generates a random configuration for testing Buildroot. -from __future__ import print_function - import contextlib import csv import os
utils/get-developers +1 -1
@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import argparse import getdeveloperlib
utils/size-stats-compare +1 -1
@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (C) 2016 Thomas De Schampheleire <[email protected]>
Signature · 6 lines
2.33.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH v2 1/4] support: utils: use python3 explicitly
Hello Petr,
Le 15/09/2021 à 21:48, Petr Vorel a écrit :
Quoted 19 lines
Python 2 is EOL sice 2020 [1], it's still available on distros, but may not be installed by default (as being replaced by python3).
Thus remove compatibility imports:
from__future__importprint_function
from__future__importabsolute_importTested with python3 -m
py_compile.[1] https://www.python.org/doc/sunset-python-2/
Signed-off-by Petr Vorel <[email protected]>---
utils/get-developers +0
-0
utils/get-developers line 4
Quoted 5 lines
utils/get-developers +1
-1@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import argparse import getdeveloperlib
There is one remaining __future__ to remove:
utils/getdeveloperlib.py:from __future__ import print_function
It was removed by your patch 3/4 but it was rejected:
http://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
Maybe it can be removed directly from this patch.
Best regards,
Romain
utils/size-stats-compare line 4
Quoted 11 lines
utils/size-stats-compare +1
-1@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (C) 2016 Thomas De Schampheleire <[email protected]>
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH v2 1/4] support: utils: use python3 explicitly
Hi Romain,
Quoted 25 lines
Hello Petr,
Le 15/09/2021 à 21:48, Petr Vorel a écrit :
Quoted 21 lines
Python 2 is EOL sice 2020 [1], it's still available on distros, but may not be installed by default (as being replaced by python3).
Thus remove compatibility imports:
from__future__importprint_function
from__future__importabsolute_importTested with python3 -m
py_compile.[1] https://www.python.org/doc/sunset-python-2/
Signed-off-by Petr Vorel <[email protected]>---
utils/get-developers +1
-1@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3
Quoted 6 lines
utils/get-developers line 4
Quoted 2 lines
utils/get-developers +0
-0import argparse import getdeveloperlibThere is one remaining
__future__to remove:utils/getdeveloperlib.py:from
__future__importprint_function
Thanks!
Quoted 2 lines
It was removed by your patch 3/4 but it was rejected:
http://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
I set it as rejected.
Quoted 1 line
Maybe it can be removed directly from this patch.
Nah, I can send v3 with this fixed.
Quoted 2 lines
Best regards,
Romain
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 2/4 utils/scanpypi: remove python2 compatibility imports
In reply to Petr Vorelee8b680816 ("utils/scanpypi: use python3 explicitly") started to use python3, thus compatibility can be removed:
from __future__ import print_function
from __future__ import absolute_import
Tested with python3 -m py_compile.
---
New in v2
utils/scanpypi | 2 -- 1 file changed, 2 deletions(-)
utils/scanpypi +0 -2
@@ -6,8 +6,6 @@ Utility for building Buildroot packages for existing PyPI packages Any package built by scanpypi should be manually checked for errors. """ -from __future__ import print_function -from __future__ import absolute_import import argparse import json import sys
Signature · 6 lines
2.33.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 3/4 utils/getdeveloperlib.py: use python3 explicitly
In reply to Petr Vorel+ remove python2 compatibility imports
library is used by support/scripts/pkg-stats and utils/get-developers which both use python3. Although library does not require shebang, it's better to state python3 use.
Tested with python3 -m py_compile.
---
New in v2
utils/getdeveloperlib.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
utils/getdeveloperlib.py +2 -1
@@ -1,4 +1,5 @@ -from __future__ import print_function +#!/usr/bin/env python3 + from io import open import os import re
Signature · 6 lines
2.33.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH v2 3/4] utils/getdeveloperlib.py: use python3 explicitly
Quoted 5 lines · Petr Vorel
+ remove python2 compatibility imports
library is used by support/scripts/pkg-stats and utils/get-developers which both use python3. Although library does not require shebang, it's better to state python3 use.
Do you have some supporting evidence of this claim "it's better to add a shebang"?
Looking at a few random projects with python files, I see none that do it.
And it seems like a lot of noise to add this for no obvious gain. If it's about
documenting the minimum python version, it's not even correct: some of these scripts will require python3.4 or python3.5 and that's not documented...
Regards,
Arnout
Quoted 16 lines
Tested with python3 -m
py_compile.Signed-off-by Petr Vorel <[email protected]>---
New in v2utils/getdeveloperlib.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)utils/getdeveloperlib.py +0
-0
utils/getdeveloperlib.py line 5
Quoted 6 lines
utils/getdeveloperlib.py +2
-1@@ -1,4 +1,5 @@ -from __future__ import print_function +#!/usr/bin/env python3 + from io import open import os import re
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH v2 3/4] utils/getdeveloperlib.py: use python3 explicitly
Hi Arnout,
Quoted 8 lines · Petr Vorel
Quoted 5 lines
+ remove python2 compatibility imports
library is used by support/scripts/pkg-stats and utils/get-developers which both use python3. Although library does not require shebang, it's better to state python3 use.
Do you have some supporting evidence of this claim "it's better to add a shebang"?
No.
Quoted 1 line
Looking at a few random projects with python files, I see none that do it.
I'm sorry, I was obviously wrong.
Quoted 3 lines
And it seems like a lot of noise to add this for no obvious gain. If it's about
documenting the minimum python version, it's not even correct: some of these scripts will require python3.4 or python3.5 and that's not documented...
Agree => setting this commit and the 4th commit in patchwork as Rejected.
Thanks a lot for your input.
Kind regards,
Petr
Quoted 2 lines
Regards,
Arnout
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 4/4 testing/tests/package: use python3 explicitly
In reply to Petr Vorelin all testing libraries. Although library does not require shebang, it's better to state python3 use.
NOTE: keep code "from __future__ import print_function;" in TestPythonBase() as code itself test both python versions.
Tested with python3 -m py_compile.
---
New in v2
support/testing/tests/package/test_crudini.py | 2 ++ support/testing/tests/package/test_gst1_python.py | 2 ++ support/testing/tests/package/test_ipython.py | 2 ++ support/testing/tests/package/test_libftdi1.py | 2 ++ support/testing/tests/package/test_python.py | 2 ++ support/testing/tests/package/test_python_argh.py | 2 ++ support/testing/tests/package/test_python_attrs.py | 2 ++ support/testing/tests/package/test_python_augeas.py | 2 ++ support/testing/tests/package/test_python_autobahn.py | 2 ++ support/testing/tests/package/test_python_automat.py | 2 ++ support/testing/tests/package/test_python_avro.py | 2 ++ support/testing/tests/package/test_python_bitstring.py | 2 ++ support/testing/tests/package/test_python_can.py | 2 ++ support/testing/tests/package/test_python_cbor.py | 2 ++ support/testing/tests/package/test_python_click.py | 2 ++ support/testing/tests/package/test_python_colorzero.py | 2 ++ support/testing/tests/package/test_python_constantly.py | 2 ++ support/testing/tests/package/test_python_crossbar.py | 2 ++ support/testing/tests/package/test_python_cryptography.py | 2 ++ support/testing/tests/package/test_python_dbus_next.py | 2 ++ support/testing/tests/package/test_python_django.py | 2 ++ support/testing/tests/package/test_python_gitdb2.py | 2 ++ support/testing/tests/package/test_python_gobject.py | 2 ++ support/testing/tests/package/test_python_gpiozero.py | 2 ++ support/testing/tests/package/test_python_incremental.py | 2 ++ support/testing/tests/package/test_python_passlib.py | 2 ++ support/testing/tests/package/test_python_pexpect.py | 2 ++ support/testing/tests/package/test_python_pynacl.py | 2 ++ support/testing/tests/package/test_python_pytest.py | 2 ++ support/testing/tests/package/test_python_pytest_asyncio.py | 2 ++ support/testing/tests/package/test_python_pyyaml.py | 2 ++ support/testing/tests/package/test_python_rpi_gpio.py | 2 ++ support/testing/tests/package/test_python_rsa.py | 2 ++ support/testing/tests/package/test_python_service_identity.py | 2 ++ support/testing/tests/package/test_python_smmap2.py | 2 ++ support/testing/tests/package/test_python_subprocess32.py | 2 ++ support/testing/tests/package/test_python_treq.py | 2 ++ support/testing/tests/package/test_python_twisted.py | 2 ++ support/testing/tests/package/test_python_txaio.py | 2 ++ support/testing/tests/package/test_python_txtorcon.py | 2 ++ support/testing/tests/package/test_python_ubjson.py | 2 ++ 41 files changed, 82 insertions(+)
support/testing/tests/package/test_crudini.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + import os from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_gst1_python.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + import os from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_ipython.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonBase # # The following pythong tests are not being used here:
support/testing/tests/package/test_libftdi1.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + import os import infra.basetest
support/testing/tests/package/test_python_argh.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_attrs.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_augeas.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_autobahn.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_automat.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_avro.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_bitstring.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_can.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_cbor.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_click.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_colorzero.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_constantly.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_crossbar.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_cryptography.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_dbus_next.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + import textwrap
support/testing/tests/package/test_python_django.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_gitdb2.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_gobject.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + import os from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_gpiozero.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_incremental.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_passlib.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_pexpect.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_pynacl.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_pytest.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + import os from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_pytest_asyncio.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + import os from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_pyyaml.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_rpi_gpio.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_rsa.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_service_identity.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_smmap2.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_subprocess32.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_treq.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_twisted.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_txaio.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_txtorcon.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
support/testing/tests/package/test_python_ubjson.py +2 -0
@@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from tests.package.test_python import TestPythonPackageBase
Signature · 6 lines
2.33.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot