From d17ae5b5a06e3461c93cd3f0ed2a5958fc674c61 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 15 Dec 2022 19:23:16 +0300 Subject: [PATCH] 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+. --- .github/workflows/run-tests.yaml | 2 +- ChangeLog | 4 ++++ devscripts/requirements/requirements_tox.txt | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index dec98d8..860bf95 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -39,7 +39,7 @@ jobs: python --version python -m pip install --upgrade pip setuptools wheel pip --version - pip install --upgrade virtualenv tox + pip install --upgrade virtualenv "tox >= 2.0, < 4" - name: Set TOXENV run: | import os, sys diff --git a/ChangeLog b/ChangeLog index 2fe6f93..77bbcbf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Version 3.1.0.post4 (2022-12-15) + + Use ``conda`` to install old Python versions. + Version 3.1.0.post3 (2022-12-02) PyPy3. diff --git a/devscripts/requirements/requirements_tox.txt b/devscripts/requirements/requirements_tox.txt index 2978a0b..9a09d6c 100644 --- a/devscripts/requirements/requirements_tox.txt +++ b/devscripts/requirements/requirements_tox.txt @@ -1 +1 @@ -tox >= 2.0, <= 2.9.1 +tox >= 2.0, < 4 -- 2.39.2