From: Oleg Broytman Date: Thu, 15 Dec 2022 16:16:48 +0000 (+0300) Subject: Tests(tox): Limit "tox < 4" X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=eabdc0827ee1bb4a5a549d8cef6e1b62e654471d;p=sqlconvert.git Tests(tox): Limit "tox < 4" `tox` 4+ has incompatible `tox.ini` syntax. It's impossible to use one `tox.ini` for Pythons < 3.7 and 3.7+. --- diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 4777a9f..fc4d9a7 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -55,7 +55,7 @@ jobs: python --version python -m pip install --upgrade pip setuptools wheel pip --version - pip install --upgrade virtualenv tox + pip install --upgrade virtualenv "tox < 4" - name: Set TOXENV run: | import os, sys diff --git a/devscripts/requirements/requirements_tox.txt b/devscripts/requirements/requirements_tox.txt index 8b5960b..b72a322 100644 --- a/devscripts/requirements/requirements_tox.txt +++ b/devscripts/requirements/requirements_tox.txt @@ -1 +1 @@ -tox >= 3.15 +tox >= 3.15, < 4