rakhimov/scram

Transition to Python 3 (drop Python 2 support)

rakhimov opened this issue · 0 comments

Dropping support for Python 2 eases the development and maintenance.
All the current code is already compatible with Python 3.

This is also complementary to issue #260 to provide only Python 3 bindings for API.

  • Min version to Python 3.6 (Debian Buster, Ubuntu 18.04)
  • Update dependencies, tools, linters, and CI
  • Refactor with Python 3 features (remove __future__ kludge imports)
    • non-local variables
    • Type hints (gradual typing)
    • f-strings