]> git.phdru.name Git - m_librarian.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:16:48 +0000 (19:16 +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 f8fe45aab24365c91c78918895153297e64c5742..64208e8df06a1fd2b212e4ba6a5aaf55b446d31e 100644 (file)
@@ -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
index 8b5960b93a5d9ca54cf13a5426e9939b32c17780..b72a322f2a34aab552ca614a876db66d6de3ee5b 100644 (file)
@@ -1 +1 @@
-tox >= 3.15
+tox >= 3.15, < 4