Do you have any links to share about building python from source? And is it safe to assume that if I build python from source and put it inside of a venv, when I submit to grid it'll use my python for the job?
On Sun, Sep 26, 2021 at 10:12 PM Roy Smith <r...@panix.com> wrote: > I don't know if it's generally available yet, but I've been > using tools-sgebastion-11, which is running Debian Buster with Python 3.7. > > On the other hand, I don't actually use the system Python. Quite a while > ago, before the Buster machine was available, I built Python 3.7 from > source and I've been using that. It sounds scary, but it's not really. > Building from source can be a nightmare, but on the Debian boxes it's > nothing more than downloading the tarball, running "configure" and "make" > and waiting for that to finish. If you've done that kind of thing before, > it's a reasonable way to go, but it's not for everybody. > > Of course, at this point, even 3.7 is pretty old. At some point, I'll > probably break down and build 3.9. I really want the better f-strings that > came out in 3.8. > > > > On Sep 26, 2021, at 9:43 PM, Huji Lee <huji.h...@gmail.com> wrote: > > Hi all, > > When I run python3 --version on Toolforge I see version 3.5.3 is > installed. Because python 3.5 reached the end of its life in September > 2020, pip is really unhappy about that. > > Is there a way to use a later version of python3 on Toolforge? If not, are > there plans to upgrade the OS and upgrade python with it? > > PS: I know from Help:Toolforge/Python > <https://wikitech.wikimedia.org/wiki/Help:Toolforge/Python> that 3.7.3 is > available on Kubernetes, but I am dealing with scripts that are submitted > via jsub and not k8s, and the overhead of converting them is prohibitive. > > Thanks! > _______________________________________________ > Cloud mailing list -- cloud@lists.wikimedia.org > List information: > https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/ > > >
_______________________________________________ Cloud mailing list -- cloud@lists.wikimedia.org List information: https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/