diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7ab3f9f..5189194 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -49,7 +49,7 @@ jobs: run: sudo apt-get install pandoc - name: Install Tox - run: pip install tox + run: pip install 'tox < 4.0' - name: Run Commands run: ${{ matrix.commands }} diff --git a/setup.py b/setup.py index a8037dd..e992031 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ def get_version(filename): # requirements for development (testing, generating docs) dev_requirements = [ - 'black', + 'black < 23.0', 'coverage', 'coveralls', 'flake8', diff --git a/tox.ini b/tox.ini index cb34169..9b29582 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,7 @@ [tox] minversion = 3.14 +requires = + tox<4 envlist = py37-{test,runcmd}, py38-{test,runcmd}, py39-{test,runcmd}, py310-{test,runcmd}, py311-{test,runcmd}, run-{cmd,blackcheck,black,isort,isortcheck}, docs, coverage [testenv:.tox]