[Wikitech-l] Re: How to get python 3.6+ at toolforge?

2021-06-19 Thread Taavi Väänänen via Wikitech-l
Hi, You should not be running any heavy scripts (such as bots) on the bastions (login.toolforge.org and dev.toolforge.org), run them on the job grid[0] (which has Python 3.5) or in Kubernetes[1] (Python 3.7) instead. On 6/19/21 9:58 PM, QEDK wrote: I don't think so, unless it's upgraded

[Wikitech-l] Re: How to get python 3.6+ at toolforge?

2021-06-19 Thread Roy Smith
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

[Wikitech-l] Re: How to get python 3.6+ at toolforge?

2021-06-19 Thread QEDK
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:

[Wikitech-l] Re: How to get python 3.6+ at toolforge?

2021-06-19 Thread Shrinivasan T
> 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

[Wikitech-l] Re: How to get python 3.6+ at toolforge?

2021-06-19 Thread QEDK
You can use the Debian buster images with Kubernetes which have Python 3.7.3 pre-installed. Best, QEDK On Sat, Jun 19, 2021, 23:25 Shrinivasan T wrote: > Hello all, > > I have a bot written in python3.8, which uses fstrings a lot. > https://realpython.com/python-f-strings/ > > When deployed