]> git.phdru.name Git - mimedecode.git/commitdiff
Tests(tox): Limit "tox < 4"
authorOleg Broytman <phd@phdru.name>
Thu, 15 Dec 2022 16:23:16 +0000 (19:23 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 10 Jul 2023 17:14:42 +0000 (20:14 +0300)
`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
ChangeLog
devscripts/requirements/requirements_tox.txt

index dec98d8b2f18a672d3710ecad0ccd3070fd51d53..860bf950d56c54417a088bb686cf45c2c9645eb9 100644 (file)
@@ -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
index 2fe6f93c47f4f22a8ce4557d58cf35aa564ca6c4..77bbcbf23bdd3663e49495921e8e26500c2aeb27 100644 (file)
--- 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.
index 2978a0b78a93c2eda0e2b06ac89f66532301680f..9a09d6c3556c1156bf38bb116f2c4f4159762eb3 100644 (file)
@@ -1 +1 @@
-tox >= 2.0, <= 2.9.1
+tox >= 2.0, < 4