]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-ansible-prs: pin tox version 2097/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 16 Jan 2023 13:14:07 +0000 (14:14 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 16 Jan 2023 13:14:07 +0000 (14:14 +0100)
Due to a regression introduced in tox 4.3.1, multiple environment variable substitution
is broken.
```
tox.report.HandledError: replace failed in centos-non_container-update.commands with MatchRecursionError('circular chain between set env DOCKER_HUB_USERNAME, DOCKER_HUB_PASSWORD, INVENTORY')
```

Let's pin to the last tox stable version where it used to work fine (4.2.8).

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
ceph-ansible-prs/build/build

index 20bf411ea2813c74480b4ca2d021f27cba4e42c6..3d183fabfd8944c203949cbce460866b42aab29e 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 # the following two methods exist in scripts/build_utils.sh
-pkgs=( "tox" )
+pkgs=( "tox==4.2.8" )
 TEMPVENV=$(create_venv_dir)
 VENV=${TEMPVENV}/bin
 set_centos_python3_version "python3.9"