4.10 install python3 syntax issues

Hello

I’m struggling to install Hue 4.10 via this command:
PYTHON_VER=python3.6 PREFIX=/my/path make install
and I’ve have found several errors related to python3 syntax, first related to print statements (lack of parenthesis) and now with raise statement.

I’m missing something?
are 4.10 install scripts prepared for python3 syntax?

I’m on a Centos 8 box.

regards.