]> git.phdru.name Git - sqlconvert.git/commitdiff
Tests(tox): Limit "tox < 4"
authorOleg Broytman <phd@phdru.name>
Thu, 15 Dec 2022 16:16:48 +0000 (19:16 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 15 Dec 2022 16:31:43 +0000 (19:31 +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
devscripts/requirements/requirements_tox.txt

index 4777a9fb4945dcf5e8c5d2f0f4949a8e6bfbd4b5..fc4d9a76c2570a8fc597c2a64af64a01b8c58d0d 100644 (file)
@@ -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
index 8b5960b93a5d9ca54cf13a5426e9939b32c17780..b72a322f2a34aab552ca614a876db66d6de3ee5b 100644 (file)
@@ -1 +1 @@
-tox >= 3.15
+tox >= 3.15, < 4