summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-03-07 13:37:29 -0500
committerJason R. Coombs <jaraco@jaraco.com>2021-03-07 13:37:29 -0500
commitb2f7b8f92725c63b164d5776f85e67cc560def4e (patch)
tree50bf6a6e025b8b18abcaff4857e8a7df8bf971aa
parent50031c80544619d86b9c27b85ebc38f550e4ef5d (diff)
downloadpython-setuptools-git-b2f7b8f92725c63b164d5776f85e67cc560def4e.tar.gz
Don't bother testing old versions of pip on Python 3.10 and later. Fixes #2599.
-rw-r--r--setuptools/tests/test_virtualenv.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/setuptools/tests/test_virtualenv.py b/setuptools/tests/test_virtualenv.py
index f13f7997..9cf6d30f 100644
--- a/setuptools/tests/test_virtualenv.py
+++ b/setuptools/tests/test_virtualenv.py
@@ -74,10 +74,15 @@ def _get_pip_versions():
def skip_network(param):
return param if network else mark(param, pytest.mark.skip(reason="no network"))
+ issue2599 = pytest.mark.skipif(
+ sys.version_info > (3, 10),
+ reason="pypa/setuptools#2599",
+ )
+
network_versions = [
- 'pip==9.0.3',
- 'pip==10.0.1',
- 'pip==18.1',
+ mark('pip==9.0.3', issue2599),
+ mark('pip==10.0.1', issue2599),
+ mark('pip==18.1', issue2599),
mark('pip==19.3.1', pytest.mark.xfail(reason='pypa/pip#6599')),
'pip==20.0.2',
'https://github.com/pypa/pip/archive/master.zip',