[all][gate][stable] Pinning tox<4 in stable branch testing

Jeremy Stanley fungi at yuggoth.org
Fri Jan 6 14:49:43 UTC 2023


On 2023-01-06 08:42:45 -0500 (-0500), Brian Rosmaita wrote:
[...]
> The zuul ensure_tox role only ensures that tox is present.  The
> ensure_tox_version var has a slightly misleading name in that it is only
> used when the role decides it needs to install tox, and then it uses the
> value of that var; it doesn't ensure that the available tox is that version.
[...]

And even if it did, it would only be able to do so at the point at
which it was invoked, so if something reinstalled/upgraded tox after
that point it would still be different than whatever you set in
ensure_tox_version. Still, it might be possible to make
ensure_tox_version enforce a specific version if set which would
catch circumstances like the one you observed where something
running in the job before the ensure-tox role is invoked installed a
different version globally.
-- 
Jeremy Stanley
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230106/a040e515/attachment.sig>


More information about the openstack-discuss mailing list