e.g. current version https://github.com/SuLab/WikidataIntegrator/ only support Python 3.6+ (due to sparql-slurper dependency), but Toolforge only have Python 3.5.3. So it's not possible to run WikidataIntegrator without manually compile a newer version of Python.
|Open||Phamhi||T230961 Install a version of Python newer than 3.5.3 in Toolforge|
|Resolved||Phamhi||T235629 Port toollabs-webservice to buster-tools|
python37/web (specifically toollabs-webservice) needs python-pykube which doesn't look like it's available in buster
The following packages have unmet dependencies: toollabs-webservice : Depends: python-pykube but it is not installable E: Unable to correct problems, you have held broken packages. The command '/bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --yes toollabs-webservice uwsgi uwsgi-plugin-python3 && apt-get clean && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100 Traceback (most recent call last): File "./build.py", line 228, in <module> main() File "./build.py", line 219, in main args.tag, File "./build.py", line 109, in build_image subprocess.check_call(args) File "/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 347, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/usr/local/bin/docker', 'build', '-t', 'docker-registry.tools.wmflabs.org/toolforge-python37-web:testing', '--no-cache', '/Users/ll68349/wikimedia/toollabs-images/python37/web']' returned non-zero exit status 100.
(buster docker instance) # apt policy python-pykube python-pykube: Installed: (none) Candidate: (none) Version table:
I might as well extend the scope of this ticket to update all docker images based on buster.
This means the following new language versions will be available:
- Golang 1.11
- JDK 11
- PHP 7.3
- Python 3.7
- (possibly more to come)