Page MenuHomePhabricator

Add python3.8 to buster-wikimedia pyall component
Closed, ResolvedPublic

Description

https://tools.wmflabs.org/apt-browser/stretch-wikimedia/component/pyall/

@faidon, could you add Python 3.8 so we can begin using it in CI?

Event Timeline

  • The canonical location is nowadays https://people.debian.org/~paravoid/python-all/ (which I maintain on my free time). We (Wikimedia) probably should set up a reprepro import for that.
  • The above repository has 3.8.0 beta4 for buster, I'll need to update that for a more recent version (currently looks like 3.8.1). I can do so soon-ish.
  • That said, I don't have any intentions to backport 3.8 to stretch.

I've updated the aforementioned apt repository with 3.8.1-2~buster1 packages Someone in SRE that's more familiar with how we do things these days (maybe @MoritzMuehlenhoff?) can update our reprepro to include that.

(As I said above, the cost/benefit tradeoff for a stretch backport is not one that makes the endeavour worth it IMHO, so I have no intentions of working on that right now)

I've updated the aforementioned apt repository with 3.8.1-2~buster1 packages Someone in SRE that's more familiar with how we do things these days (maybe @MoritzMuehlenhoff?) can update our reprepro to include that.

Ack, I'll take care of that.

(As I said above, the cost/benefit tradeoff for a stretch backport is not one that makes the endeavour worth it IMHO, so I have no intentions of working on that right now)

Could not agree more :-)

Legoktm renamed this task from Package python3.8 for stretch-wikimedia pyall component to Add python3.8 to buster-wikimedia pyall component.Feb 3 2020, 8:58 AM
  • That said, I don't have any intentions to backport 3.8 to stretch.

Seems reasonable. Retitled the task accordingly. For CI purposes if someone wants to run tests against 3.4 & 3.8 we can just use both stretch and buster.

I've updated the aforementioned apt repository with 3.8.1-2~buster1 packages Someone in SRE that's more familiar with how we do things these days (maybe @MoritzMuehlenhoff?) can update our reprepro to include that.

Ack, I'll take care of that.

Anything I/CI team can help with?

If it's not straightfoward, can we just add the python-all repo directly into the CI images, given the maintainer is extremely trusted? :)

Hi, just adding to this ticket here as I have a CI job failing that would be alleviated by fixing this issue (by specifying Python 3.8 as the interpreter): https://integration.wikimedia.org/ci/job/tox-docker/15602/console.

Please note that this is not a "please fix this because my thing is broken!" request but an additional source of input that having this would be nice :)

Change 650010 had a related patch set uploaded (by Legoktm; owner: Legoktm):
[operations/puppet@production] aptrepo: Add thirdparty/pyall component for buster-wikimedia

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

Change 650010 merged by Legoktm:
[operations/puppet@production] aptrepo: Add thirdparty/pyall component for buster-wikimedia

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

Mentioned in SAL (#wikimedia-operations) [2020-12-21T21:42:04Z] <legoktm> manually imported debs to buster-wikimedia thirdparty/pyall component (T241195)

Legoktm claimed this task.

During the import I ran into:

1legoktm@apt1001:~$ sudo -i reprepro --component thirdparty/pyall checkupdate buster-wikimedia
2aptmethod error receiving 'https://people.debian.org/~paravoid/python-all/dists/buster/InRelease':
3'Redirection loop encountered [IP: 2607:f8f0:614:1::1274:67 80]'
4aptmethod error receiving 'https://people.debian.org/~paravoid/python-all/dists/buster/Release':
5'Redirection loop encountered [IP: 2607:f8f0:614:1::1274:67 80]'
6aptmethod error receiving 'https://people.debian.org/~paravoid/python-all/dists/buster/Release.gpg':
7'Redirection loop encountered [IP: 2607:f8f0:614:1::1274:67 80]'
8There have been errors!

Moritz said this has happened with Jenkins before, and it seems like something that might need to be fixed by @faidon on his side depending on what software he used to generate the apt repo.

In any case, I used apt to manually download all the debs and imported them by hand. Thanks to Moritz for helping me through this :)

Python 3.5, 3.6 and 3.8 are now available from thirdparty/pyall for buster.