Closed
Bug 1447318
Opened 7 years ago
Closed 6 years ago
make code python 3 compatible
Categories
(Release Engineering Graveyard :: Applications: Balrog (backend), enhancement, P3)
Release Engineering Graveyard
Applications: Balrog (backend)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: asilva)
References
Details
Make sure we're not using any python3 reserved words, no print statements, use python 3 exceptions/classes, etc.
Reporter | ||
Comment 1•7 years ago
|
||
Running pylint or flake8 is probably a good way to get started looking for issues here. Eg:
➜ balrog git:(master) flake8 auslib/db.py
auslib/db.py:221:29: E999 SyntaxError: invalid syntax
raise exc[0], exc[1], exc[2]
^
Updated•7 years ago
|
Assignee: nobody → collins.abitekaniza
Reporter | ||
Comment 2•7 years ago
|
||
Collins, are you still planning to take a look at this soon? If not, can we re-assign to Allan?
Flags: needinfo?(collins.abitekaniza)
Comment 3•7 years ago
|
||
I think I will let go of this, Going to be a bit busy for the next coming days.
Flags: needinfo?(collins.abitekaniza)
Updated•7 years ago
|
Assignee: collins.abitekaniza → nobody
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → allan.tavares
Comment 4•6 years ago
|
||
Commit pushed to master at https://github.com/mozilla/balrog
https://github.com/mozilla/balrog/commit/5ad22097f72fb6268f3cc76ccbea98714d613fa1
bug 1447318: make code python 3 compatible (#621). r=bhearsum
Reporter | ||
Comment 5•6 years ago
|
||
This merged to production yesterday. The code is now Python 3 compatible (with CI verifying that) - so we should be ready to talk about upgrading production at any point now.
Thank you for all of your work here, Allan!
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Comment 6•6 years ago
|
||
We did a first prod push today, retaining py2 for admin/web. At some point in the near future we can work with CloudOps to spin up a canary in prod using py3 for the web component. Looks like we'll need to figure out how to generate a docker image for that first.
Updated•5 years ago
|
Product: Release Engineering → Release Engineering Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•