summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bringhurst <jon@bringhurst.org>2023-01-18 17:46:40 -0800
committerJeff Widman <jeff@jeffwidman.com>2023-01-20 15:57:26 -0800
commit0c56441917eb4657a1892a1b459dffab9fc5f468 (patch)
treeb47731a16bd9a6fdd8e936e7e1353db02471bf07
parentf71da5f943e1a4b14174ddce9aa5daa6b3739449 (diff)
downloadkazoo-0c56441917eb4657a1892a1b459dffab9fc5f468.tar.gz
chore: migrate to tox 4.x
tox-wheel is a deprecated package. tox 4.x includes wheel support.
-rw-r--r--.github/workflows/testing.yml2
-rw-r--r--tox.ini9
2 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml
index 6eda66c..2672eb9 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 222f663..5ecc403 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]