Page MenuHomePhabricator

Merge Mishkal from upstream (Py2->Py3)
Open, Needs TriagePublic6 Estimated Story Points

Description

Better Python3 support etc, but we have requirement.txt-problems so it won't just merge and work by it self. Also, if we do Python3 then we might have to do some changes to the Blubber build.

Event Timeline

kalle renamed this task from Merge Mishkal from upstream to Merge Mishkal from upstream (Py2->Py3).Sep 17 2020, 10:27 AM
kalle set the point value for this task to 6.Sep 17 2020, 11:50 AM

It seems like Mishkal and dependencies require Python 3.8. Debian Buster, the WMF base image available to us via Blubber, support Python 3.7. It seems as 3.8 will be available in upcoming (no release date set) Debian Bullseye. It is however of course possible to manually (or via script) download and install Python 3.8 on Debian Buster. But as Blubber do things in a certain order, manual installation would come after trying to download and install dependencies in requirements.txt. So in order to do this we need to override pretty much everything that Blubber does. We might as well create our own Docker image then.

There is no actual improvement to Mishkal further than upgrading to Python 3.8. It works on 2.7. I recommend waiting until there is a required feature change to Mishkal or Python 3.8 is supported by the WMF docker registry.

https://docker-registry.wikimedia.org/python3-build-bullseye/tags/ is now available so this migration should be possible

but we have requirement.txt-problems

Unclear what is meant by this one