Review python version requirements - identify places in repository with references to python version, adjust to consistent values
Currently, docs and code base doesn't have one consistent information about python version required. This task is to:
- identify places where such references are/should be
- adjust python version referenced to one version
- update documentation to state supported versions
For the moment, there are few places in the repo with such references:
- supported versions docs
- mypy configuration
- (missing) python package specs - see pyproject.toml spec
- (missing) in-docker python package - evaluate if needed (python default version depends on a release, which specified earlier as a base image).
- (missing) black configuration should be also constrained a bit: https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#required-version https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#t-target-version
There are cases where python version may be different due to local deployment requirements (i.e. custom plugins requiring other version than officially supported.
For multi-version compatibility (not only for python, but we can also create django/postgresql compatibility tests matrix) we should consider using tox for testing.
Edited by Cezary Statkiewicz