nginxinc/nginx-ldap-auth

Python 2 Deprecation

mhofer117 opened this issue · 7 comments

When building the container, PIP will warn about Python 2 deprecation:

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.

It is probably a good idea to start migrating the script(s) to python3 for future compatibility.

python deprecation countdown

Hi. I'm stuck with python 2 as well and a simple change of docker image from python:2 to python:3 didn't work, obviously.
So thumb up for migrating this to Python 3.

See PR #66

Thank you for the remind, python 3 is obviously the thing that needs to be done.

actually, I think the first step is to get the pylint score up from just over 2 to over 9, the script is pretty fugly.

Anything new about this? There are only 2 months until Python 2 End-of-Life.

Merged and updated python3 support.