Increase minimum supported Python version to 3.5

This commit is contained in:
Darko Poljak 2020-06-10 16:59:18 +02:00
parent 4167f9f60c
commit eec7ab8e45
3 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ Source Host
This is the machine from which you will configure target hosts.
* /bin/sh: A POSIX like shell (for instance bash, dash, zsh)
* Python >= 3.2
* Python >= 3.5
* SSH client
* sphinx (for building html docs and/or the man pages)

View file

@ -95,7 +95,7 @@ cdist is the frontend executable to the cdist configuration management.
It supports different subcommands as explained below.
It is written in Python so it requires :strong:`python`\ (1) to be installed.
It requires a minimal Python version 3.2.
It requires a minimal Python version 3.5.
GENERAL
-------

View file

@ -60,7 +60,7 @@ def commandline():
if __name__ == "__main__":
cdistpythonversion = '3.2'
cdistpythonversion = '3.5'
if sys.version < cdistpythonversion:
print('Python >= {} is required on the source host.'.format(
cdistpythonversion), file=sys.stderr)