Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
End support for Python 2.7 #480
Python 2.7 is EOL in 2020 and many python projects have decided to stop supporting Python 2.7 already.
The benefits of a Python 3 only codebase means that Alerta projects can take advantage of new features such as type hints.
It is proposed to make Alerta Release 5.2 and all dependent projects the last release to support Python 2.7. The proposal is that Python 2.7 support should be dropped 6 months from now. ie. 31 August 2018.
From this date, all future Alerta releases (ie. 6.x etc) will only support Python 3 with the last Python 2 release (5.2.x) only getting critical bug fixes.
Alerta server version 5.2.9 has just been published to Pypy and it is proposed that this is the last release to support Python 2.7. Only critical application bug fixes and security fixes will be applied to this branch in future.
Alerta server 6.0 will only support Python 3.5+ and will require Postgres 9.5+ or MongoDB 3.x.