From 8febccd15a96427f5a8efc316af40e6efe6a8e10 Mon Sep 17 00:00:00 2001 From: Jon Bringhurst Date: Wed, 18 Jan 2023 17:46:40 -0800 Subject: [PATCH] chore: migrate to tox 4.x tox-wheel is a deprecated package. tox 4.x includes wheel support. --- .github/workflows/testing.yml | 2 +- tox.ini | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 6eda66c8..2672eb9b 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -36,7 +36,7 @@ jobs: - name: Install required dependencies run: | python3 -m pip install --upgrade pip - pip install tox tox-wheel + pip install tox - name: Code check run: tox -e ${TOX_VENV} diff --git a/tox.ini b/tox.ini index 222f663a..5ecc4038 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,7 @@ [tox] -minversion = 3.24.1 +minversion = 4.3.4 requires= virtualenv>=20.7.2 - tox-wheel>=0.6.0 skip_missing_interpreters=True envlist = pep8,black, @@ -31,12 +30,14 @@ extras = deps = sasl: kerberos codecov: codecov +allowlist_externals = + {toxinidir}/ensure-zookeeper-env.sh + {toxinidir}/init_krb5.sh commands = sasl: {toxinidir}/init_krb5.sh {envtmpdir}/kerberos \ - /{toxinidir}/ensure-zookeeper-env.sh \ + {toxinidir}/ensure-zookeeper-env.sh \ pytest {posargs: -ra -v --cov-report=xml --cov=kazoo kazoo/tests} - [testenv:build] [testenv:codecov]