Closed Aniem closed 5 years ago
Hello, I will try to explore a different route, making this project Python 3 compatible. It was not possible when I first wrote this UI as python-ldap was Python 2 only. but it seems they have added Python 3 support about a year ago.
It is in fact a better route indeed. However, in the meantime as well as for users that work in a python2 environment, wouldn't it be relevant to merge the PR and put the python2 version into a "legacy-python2" branch even if this branch will no longer be maintained ?
hello,
the code is now portable between python 2 and python 3.
I indeed restricted the version of cherrypy with < 18.0.0 for python 2 as they dropped python 2 at that version.
for python 3 cherrypy version is unbound.
According to CherryPy's Pypi page, CherryPy does not support Python2 anymore starting in version 18.0.0. Indeed, an error appears at runtime after setting up CherryPy from master.
This PR fixes this problem by enforcing a version < 18.0.0 to CherryPy