Python 3 support #4599
Comments
This is enough for `python3.6 tracing/bin/run_py_tests` to work Bug: catapult:#4599 Change-Id: Ic909e9d0d9aabda2ac980155ebdbf50270c59e65 Reviewed-on: https://chromium-review.googlesource.com/c/1304593 Commit-Queue: Oleh Prypin <oprypin@chromium.org> Reviewed-by: Ned Nguyen <nednguyen@google.com>
Using a python:latest container, which defaults to python3, the following test fails: # catapult/tracing/bin/run_py_tests |
It works by launching through |
# python3 --version # python2 --version One point is that the docker container has a symlink called python, that was linked to python3, which caused the failed test. Once I replaced it with a symlink to python2, all worked as expected. |
Catapult relies on Python 2 but it's nearing end-of-life in the year 2020.
This is a tracking bug for Python 3 compatibility fixes.
The text was updated successfully, but these errors were encountered: