When I enquired about this a while ago, I was told that WMF would not install a newer python on the existing Debian Stretch hosts because there was no pre-built package for it. I ended up building my own Python 3.7 binary from source for use on the debian stretch hosts. It's actually pretty straight-forward to do if you've done that sort of thing before, but it does mean you're taking on more responsibility for maintaining it yourself.
The better news is that they do have some Debian Buster bastion hosts up and running, which have Python 3.7 installed. I'm using those now. I think they're not yet released for public use, so I'll let somebody from WMF chime in on whether it's OK for others to use, and how to access them.
And, yeah, f-strings is the killer feature of the post 3.5 releases.
On Jun 19, 2021, at 2:58 PM, QEDK qedk.en@gmail.com wrote:
I don't think so, unless it's upgraded anytime soon (not sure about timelines) or sudo access is provided to you so you can build from source. Getting a hang of k8s in toolforge takes a while but it's easy once you have it set up. Here's a guide on how you can do cronjobs in k8s: https://wikitech.wikimedia.org/wiki/Help:Toolforge/Kubernetes#Kubernetes_cro... https://wikitech.wikimedia.org/wiki/Help:Toolforge/Kubernetes#Kubernetes_cronjobs
Best, QEDK
On Sun, Jun 20, 2021, 00:02 Shrinivasan T <tshrinivasan@gmail.com mailto:tshrinivasan@gmail.com> wrote:
You can use the Debian buster images with Kubernetes which have Python 3.7.3 pre-installed.
I need to run the not as a cronjob in toolforge.
I think I can setup the cron on toolforge server.
This is plain python script.
I don't need docker or kubernetes for this.
Is there any way to get higher version of python at toolforge servers?
Thanks. Shrini
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org mailto:wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-leave@lists.wikimedia.org mailto:wikitech-l-leave@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/ https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/_______________________________________________ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-leave@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/