Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 4.3.0
-
None
-
ghx-label-9
Description
One prerequisite for using Python 3 is fixing all syntax errors across all our Python code. We should add a script that compiles every python files with Python 2 and Python 3 to verify that the syntax is ok. Once clean, this should run as part of GVO.
For example, Python has a compileall functionality that can be used:
python3 -m compileall {python file}
This is also a good time to add future as a pypi dependency (provides the futurize script and some libraries for writing py2/py3 code).