Switch to Python3
authorBart Van Assche <bvanassche@acm.org>
Sun, 7 Jun 2020 19:11:03 +0000 (12:11 -0700)
committerJens Axboe <axboe@kernel.dk>
Sun, 7 Jun 2020 23:30:41 +0000 (17:30 -0600)
commit8629f5f5c24e8a02c0a168cff22a40ec0788bb2d
tree92cc35f796893fdb8758907130ecdb5a6695d67c
parent1a64312b92623847dad88b321d3dc19966711bbe
Switch to Python3

Support for Python2.7 in Linux distributions is being phased out. As an
example, some Linux distributions do not provide Python2.7 versions of
some of the Python packages fio Python scripts relies on. Hence switch
to Python3. Most of the Python code changes in this patch have been
generated by running the Python scripts through 2to3, the Python2 to
Python3 converter from python.org.

Notes:
- Python is only used by fio test scripts and not by fio itself.
- Older versions of RHEL / CentOS 6 do not support Python3.
  Python3 binaries for RHEL 6 / CentOS 6 are available e.g. in the EPEL
  repository (https://fedoraproject.org/wiki/EPEL).

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
t/sgunmap-perf.py
t/sgunmap-test.py
tools/fio_jsonplus_clat2csv
tools/fiologparser.py
tools/hist/fio-histo-log-pctiles.py
tools/hist/fiologparser_hist.py
tools/hist/half-bins.py
tools/plot/fio2gnuplot