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

Fix Python version check

See merge request !991
3 jobs for master in 2 minutes and 44 seconds (queued for 8 seconds)
Status Job ID Name Coverage
  Test
passed #8744
pycodestyle

00:00:41

passed #8743
shellcheck

00:01:07

passed #8745
unit_tests

00:00:56