Python 2.7 is end of life on Jan 1, 2020. By then all of the following should be solidly running on python 3 or be rewritten in another language:
- Audit downloaders
- PayPal audit parser (rewrite as SmashPig module?)
- Silverpop export
Python 2.7 is end of life on Jan 1, 2020. By then all of the following should be solidly running on python 3 or be rewritten in another language:
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Ejegg | T197805 All fundraising python scripts should run on python 3 by 2020 | |||
Resolved | Ejegg | T213757 Replace MySQL-python with pymysql in fundraising python scripts | |||
Resolved | Jgreen | T229439 puppetize install of python-pymysql/python3-pymysql where fundraising-tools code is deployed |
Change 520350 had a related patch set uploaded (by Ejegg; owner: Ejegg):
[wikimedia/fundraising/tools@master] WIP python3 conversion
Change 520457 had a related patch set uploaded (by Ejegg; owner: Ejegg):
[wikimedia/fundraising/tools@master] Rename queue module to prepare for python 2->3 conversion
Change 520669 had a related patch set uploaded (by Ejegg; owner: Ejegg):
[wikimedia/fundraising/tools@master] SafeConfigParser -> ConfigParser
Turned out not to be so bad with the 2to3 utility. Not everything has been tested yet! Silverpop export and paypal audit parsers do seem to work.
Need to at least test audit downloaders. There's a lot of stuff in there that we haven't used in the last couple of years.
Change 520457 merged by jenkins-bot:
[wikimedia/fundraising/tools@master] Rename queue module to prepare for python 2->3 conversion
Could you add some tips on how to test functionality of some of the core utilities affected please?
Oops, I just realized I haven't smoke-tested the sending to queue parts. I'll try that today!
Change 520350 merged by jenkins-bot:
[wikimedia/fundraising/tools@master] Convert fr tools to python 3
Change 520669 merged by jenkins-bot:
[wikimedia/fundraising/tools@master] SafeConfigParser -> ConfigParser