Page MenuHomePhabricator

Install python-enum34 on toollabs
Closed, ResolvedPublic

Description

It is available for trusty: http://packages.ubuntu.com/trusty/python-enum34

It looks like a backport isnt available for precise.

It will be needed for pywikibot if https://gerrit.wikimedia.org/r/#/c/144156/ is merged.

Event Timeline

jayvdb raised the priority of this task from to Medium.
jayvdb updated the task description. (Show Details)
jayvdb added subscribers: Aklapper, valhallasw, jayvdb.

Change 236420 had a related patch set uploaded (by Merlijn van Deen):
toollabs: add python-enum34

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

Change 236420 merged by Yuvipanda:
toollabs: add python-enum34

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

So it is available on trusty now, but not precise.
This should be fairly easy to package for precise. Is there a guide for how to get a package into the WMF repo?

I don't think we should maintain any new python packages that aren't already being maintained upstream for that version of ubuntu. Why does it need to be in precise?

Because many people are using the default settings for jsub, which means they run their stuff on precise hosts.

The latest patch adds a simple enum class so enum34 is optional.

I would like to add an ImportWarning telling users to install enum34. That will just annoy toollab users who rightly expect us to sort this stuff out for them.

Another approach is to detect toollabs and suggest that they use the trusty hosts instead of precise hosts. Given the importance of toollabs to pywikibot, building host specific voodoo into pwb is justifiable I guess, though ugly.

chasemp claimed this task.
chasemp added a subscriber: chasemp.

So it is available on trusty now, but not precise.
This should be fairly easy to package for precise. Is there a guide for how to get a package into the WMF repo?

precise is no longer supported