Merge branch 'fix/py-version-check' into 'master'

Fix Python version check

See merge request ungleich-public/cdist!991
3 jobs for master in 2 minutes and 43 seconds (queued for 6 seconds)
Status Job ID Name Coverage
  Test
passed #8747
pycodestyle

00:00:44

passed #8746
shellcheck

00:00:58

passed #8748
unit_tests

00:01:00