]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
Additional updates for compatibility with tox 4
authorStephen Finucane <stephen@that.guru>
Fri, 13 Jan 2023 12:20:01 +0000 (12:20 +0000)
committerStephen Finucane <stephenfinucane@hotmail.com>
Fri, 13 Jan 2023 13:06:20 +0000 (13:06 +0000)
'[tox] skipsdist' behaves differently in tox 4 [1]. In addition, setting
'[testenv] basepython' with '[tox] ignore_basepython_conflict' has been
the cause of a few tox 4 bugs (most since fixed, thankfully) and might
be deprecated [2]. Remove it since we don't need it in any of our
environments.

[1] https://github.com/tox-dev/tox/issues/2730
[2] https://github.com/tox-dev/tox/issues/2846

Signed-off-by: Stephen Finucane <stephen@that.guru>
tox.ini

diff --git a/tox.ini b/tox.ini
index 863d2eb51d37b9a7a9cb4f79f7986530914515ff..b7bc44e9ca041c4db6fc532d217e7e9129bf3913 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,11 +1,9 @@
 [tox]
 minversion = 3.2
 envlist = pep8,docs,py{37,38,39}-django32,py{38,39,310}-django{40,41}
-skipsdist = true
-ignore_basepython_conflict = true
 
 [testenv]
-basepython = python3
+skip_install = true
 deps =
     -r{toxinidir}/requirements-test.txt
     django32: django~=3.2.0