Skip to content

Commit

Permalink
chore: migrate to tox 4.x
Browse files Browse the repository at this point in the history
tox-wheel is a deprecated package. tox 4.x includes wheel support.
  • Loading branch information
bringhurst authored and jeffwidman committed Jan 20, 2023
1 parent f71da5f commit 0c56441
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
9 changes: 5 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit 0c56441

Please sign in to comment.