Page MenuHomePhabricator

upload-wizard_tests.py does not work with Python3
Closed, DeclinedPublic

Description

upload-wizard_tests.py uses print statements instead of print function and Python2 related urllib2 functions

Event Timeline

Change 601339 had a related patch set uploaded (by Xqt; owner: Xqt):
[mediawiki/extensions/UploadWizard@master] [2to3] Make upload-wizard_tests.py work with Python3

https://gerrit.wikimedia.org/r/601339

MarkTraceur subscribed.

Thanks for the patch! Given our pseudo-SLA this likely won't get immediate attention, so marking as low priority.

Seems this isn't much used T134730: Fix up the UploadWizard-api for beta cluster

Oh, I see it now. But please don't restore running it for production. We agreed previously not to do this (T115465: Stop running the UploadWizard API smoke tests in production).

Xqt removed Xqt as the assignee of this task.Aug 16 2022, 4:38 PM

Change 601339 abandoned by Jforrester:

[mediawiki/extensions/UploadWizard@master] [2to3] Make upload-wizard_tests.py work with Python3

Reason:

We dropped this test in 46c7e2a as it's not been run for years.

https://gerrit.wikimedia.org/r/601339