Halfak added a comment.
@jayvdb I'm not very familiar with pywikipediabot's inner workings, but I expect that we'll have little trouble working with mwoauth. State is easy to manage with tokens and the whole thing is pickleable.
My primary concern is the use of httplib2. It doesn't seem to have any support for oauth, so we'd need to either implement a request signing ourselves or switch to 'requests' and 'requests-oauthlib' which are used inside of 'mwoauth'. At a glance, making the switch doesn't seem too difficult. requests.Session closely matches the behavior of httplib2.Http.
TASK DETAIL https://phabricator.wikimedia.org/T74065
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Halfak Cc: Qgil, Ricordisamoa, Nemo_bis, Halfak, Krinkle, jayvdb, valhallasw, MZMcBride, csteipp, scfc, coren, pywikipedia-bugs