Closed Bug 1447319 Opened 7 years ago Closed 6 years ago

upgrade core apps to python 3

Categories

(Release Engineering Graveyard :: Applications: Balrog (backend), enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Unassigned)

References

Details

Python 2 support ends in less than 2 years (January 1st, 2020). We need to switch to Python 3 before this date to ensure we don't end up with an insecure stack. To do this upgrade, we'll need to do a few things: * Upgrade to the latest version of all libraries. ** SQLAlchemy and SQAlchemy-migrate need upgrades. These shouldn't be too difficult, but will require some work. ** Mysql-python does not support Python3, but there are alternatives. https://github.com/PyMySQL/mysqlclient-python looks like the most likely library to switch to. * Make code python3 compatible (make sure we're not using Python 2 style exceptions, print statement, etc.) * Start running tests against Python3 in CI - hopefully in a way that doesn't cause full only failures to start * Start building Python3 Docker images for testing Once all of the above is done we should probably set up a production-like environment with the python3 images for additional testing. We may even want to run Python2 and Python3 backends in production at the same time to do some comparisons.

We completed this work a couple of weeks ago.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Product: Release Engineering → Release Engineering Graveyard
You need to log in before you can comment on or make changes to this bug.