From 0016bd17b5c0bd0465dd180e52b3fc68120285a3 Mon Sep 17 00:00:00 2001 From: Corey Bryant Date: Wed, 14 Dec 2022 13:45:01 -0500 Subject: [PATCH] Pin tox to < 4.0.0 Tox 4.0.0 was recently released and it has several breaking changes. We pin to < 4.0.0 here. We are planning to move forward only on the master charm branches. Tox is also pinned to < 4.0.0 for stable branches in upstream openstack-zuul-jobs as well as in zosci-config. However, the requires= section in the charm's tox.ini file ends up installing tox>4, wiping out the zuul-pinned tox<4 that was already installed installed. This patch fixes that. Change-Id: I5639e4605b3b03e2fd1a2d3b2bc7564586ac2bd4 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index bddbd1f2..c73ceb05 100644 --- a/tox.ini +++ b/tox.ini @@ -26,6 +26,7 @@ requires = pip < 20.3 virtualenv < 20.0 setuptools < 50.0.0 + tox < 4.0.0 # NOTE: https://wiki.canonical.com/engineering/OpenStack/InstallLatestToxOnOsci minversion = 3.18.0