support: utils: use python3 explicitly
authorPetr Vorel <petr.vorel@gmail.com>
Tue, 21 Sep 2021 21:04:37 +0000 (23:04 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 22 Sep 2021 19:30:24 +0000 (21:30 +0200)
commit35f15db30ac769d158fae480668c51a583f9beea
treee392440c70553b115a5c578e4fc98d2bbd9c71d0
parentcb18218ad125c1e4c13010c8ee946057ee07103c
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/

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
12 files changed:
support/scripts/cve.py
support/scripts/graph-build-time
support/scripts/graph-depends
support/scripts/pycompile.py
support/scripts/size-stats
support/testing/tests/package/sample_gst1_python.py
support/testing/tests/package/sample_python_gobject.py
utils/check-package
utils/genrandconfig
utils/get-developers
utils/getdeveloperlib.py
utils/size-stats-compare