From: Oleg Broytman Date: Thu, 15 Dec 2022 16:16:48 +0000 (+0300) Subject: Tests(tox): Limit "tox < 4" X-Git-Tag: 0.2.0.post1~13 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=b1572f95a0dfe79a60ce7f872e73b2b88ec49a46;p=m_librarian.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 f8fe45a..64208e8 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -47,7 +47,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