]> 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 <stephen@that.guru>
Tue, 1 Aug 2023 17:45:06 +0000 (18:45 +0100)
'[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

Conflicts:
tox.ini

NOTE(stephenfin): Conflicts are due to lack of support for Django 4.1.

Signed-off-by: Stephen Finucane <stephen@that.guru>
(cherry picked from commit a03a0a5ea8e4a3299c02f318179001a8092a728c)

tox.ini

diff --git a/tox.ini b/tox.ini
index 5be797c1f4136031ba459413fbac59c023f24a39..eaaa0ee4ffd048b3d18741bcf279c2ae70b113d0 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}
-skipsdist = true
-ignore_basepython_conflict = true
 
 [testenv]
-basepython = python3
+skip_install = true
 deps =
     -r{toxinidir}/requirements-test.txt
     django32: django~=3.2.0