-
Notifications
You must be signed in to change notification settings - Fork 4
Python runtimes
Currently, we are using the Python 3.7.3 runtime available on the Kubernetes cluster. It's ideal to stay on latest stable releases so as to make project migration easier in the future. There's significant improvements with features such as f-strings
and dict()
's insertion-order preservation behaviour which come with newer releases compared to Toolforge's 3.5.3 runtime.
The Toolforge cluster only provides Python 3.5.3 runtimes. This causes an issue if you want to deploy apps in production that wish to use cutting-edge or early stable Python versions. The alternative is to use the Kubernetes cluster instead which provides a Python 3.7.3 runtime at the time of this documentation. At this point of time, there is no plan to provide custom Docker images unfortunately, so we have to use the best option possible, which is the Debian buster image which comes pre-loaded with 3.7.3. Another alternative is to use Cloud VPS but it's not recommended as the scripts are fairly light on resources, although the possibility of sudo-ing and using appropriate runtimes after building them remains untested.
Another issue is that Toolforge Kubernetes cluster does not have support for ssh
, this restricts us to using git via HTTPS
which means that parsebot
's personal access token has to be used with git's credential-store. This is the current approach.
Copyright (C) 2020 QEDK Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".
- Home
- Building dependencies
- goodbot
- ircbot
- parsebot
- Web app
- Running
- Toolforge
- Style guidelines
- GNU Free Documentation License