Hello,

Earlier today, I have switched the Jenkins "tox" jobs to use a new Docker image. That adds support for Python 3.10, 3.11 and 3.12 and removes support for Python 3.5 and 3.6.

If you encounter a failure due to an old python remove it from the tox.ini "envlist", and I guess add the new 3.10+ pythons.

Note that some tools do not support 3.12, that is the case of Prospector due to pylint (https://github.com/pylint-dev/astroid/issues/2201 and https://github.com/pylint-dev/pylint/issues/8782). The easiest is to remove `py312` and contribute patches to affected upstreams.

The task: https://phabricator.wikimedia.org/T342019
<https://phabricator.wikimedia.org/T342019>

The base image using pyenv to is docker-registry.wikimedia.org/releng/python-all and it is used as a base for the new tox image: docker-registry.wikimedia.org/releng/tox-v3.

The images definitions:
https://gerrit.wikimedia.org/g/integration/config/+/refs/heads/master/dockerfiles/python-all/
<https://gerrit.wikimedia.org/g/integration/config/+/refs/heads/master/dockerfiles/python-all/>https://gerrit.wikimedia.org/g/integration/config/+/refs/heads/master/dockerfiles/tox-v3/

I have updated the CI language versions policy: https://www.mediawiki.org/wiki/Continuous_integration/Language_Versions_Policy#Python

Antoine "hashar" Musso

_______________________________________________
Wikitech-l mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

Reply via email to