[LNT] Remove Python2 support

This patch removes all the Python 3 compability imports, thus removing
Python 2 support.

Python 2 is no longer maintained since Jan 2020, a year and a half already.
Perhaps it is time to remove Python 2 support in LNT.

Reviewed By: cmatthews

Differential Revision: https://reviews.llvm.org/D69056
42 files changed
tree: 16862bd7d613198e922fe6b8d39b951441a411d0
  1. deployment/
  2. docker/
  3. docs/
  4. examples/
  5. lnt/
  6. schemas/
  7. tests/
  8. utils/
  9. .arcconfig
  10. .gitignore
  11. LICENSE.TXT
  12. MANIFEST.in
  13. mypy.ini
  14. Procfile
  15. README.md
  16. requirements.client.txt
  17. requirements.server.txt
  18. requirements.txt
  19. setup.cfg
  20. setup.py
  21. tox.ini
README.md

LLVM “Nightly Test” Infrastructure

This directory and its subdirectories contain the LLVM nightly test infrastructure. This is technically version “4.0” of the LLVM nightly test architecture.

The infrastructure has the following layout:

$ROOT/lnt - Top-level Python ‘lnt’ module

$ROOT/lnt/server/db - Database schema, utilities, and examples of the LNT plist format.

$ROOT/docs - Sphinx documentation for LNT.

$ROOT/tests - Tests for the infrastructure.

For more information, see the web documentation, or docs/.

Testing

Testing is done by running tox from the top-level directory. It runs the tests for both Python 2 and Python 3, it also checks code style.