[QA] Changes to CI for Python jobs

Kunal Mehta legoktm at member.fsf.org
Tue Dec 18 11:19:46 UTC 2018


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

There are a few changes to the Python `tox` jobs that CI is running:
1. Most importantly, Python 3.5 is now the default version when
invoked with `tox`. This can be overridden by using basepython[1].
2. Multiple Python 3 versions are available: 3.4, 3.5, 3.6, and 3.7
(T191764).
3. It's now based on Debian Stretch, instead of Jessie, so some system
libraries are newer.

It's possible that #1 will break some repos, but with the Python 2 EOL
coming very soon, it was time to just do it.

You can take advantage of #2 by having multiple environments in
tox.ini, see keyholder[2] for an example.

I'm still working on rolling these out, so it might take another day
or two for it to take effect. If you run into any issues/problems,
please file a bug in the Continuous-Integration-Config Phabricator
project.

[1]
https://tox.readthedocs.io/en/latest/example/general.html#basepython-def
aults-overriding
[2]
https://gerrit.wikimedia.org/r/plugins/gitiles/operations/software/keyho
lder/+/master/tox.ini#3

- -- Legoktm
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE+h6fmkHn9DUCyl1jUvyOe+23/KIFAlwY188ACgkQUvyOe+23
/KIsDg/9Eklx7TR5XM3YYtrWyJAZrht6fHNJp7ox/5MjTQOMgOyh6WBqliGwVZ9u
gqGT+N9THn5ukCjOUBGm/DmH1Xa/zMwVwQ22r2aLyhcrtXFWR3fj24YMda4AiLer
/hqdfuZH5SNXxrA2jUASpYusJRABmTLLw/bVifEUmnmoYCmZQrWT/J123EEMGmE5
nasGusozeI4hPvpDWQqHH5sWzoZ4VTcU4KcET1rMAVdKdJZgBbULM/DM+h/H6RVj
oaDS3gsV4uOR67hlccnO+dD5IUlkKavfsdhEW+nDpBmDf9BDL7iwpHogFD8JoOLg
bzOj91TEQVhqrNHnuhxtklBlKJqpgGxnWsgs15YEb1hnv5S2RWemFVEPWuE2hhRQ
sqCqsrdlnRngeg2finLIiguAmp9Y+wtVqF/Li+NEOTIvLl/vAYwobfYNQNg+0V9V
vzxwgyleEB1plGp+V3jsKz7VG0SPJu2va1dzMRAvyvYxU4OCw/TfW4Ywk5M7tEvy
Yhsit5MXsL00AZ6piJGFCKQV+m/MIkuntTE+yaHTxQHIBAapfMKJZFuJe1ENW50B
biL9/uPv580jLW9Ng3Esf5hf9W74FXy1M4vGPfyF3IgzC7NvBAG63Vi1dGYVKT6L
l+G8Lq1zQn6cShdpZGF27NvSNI6ebTtwqGrQ6UeyvhDldCOYuJk=
=ZsQw
-----END PGP SIGNATURE-----



More information about the QA mailing list