summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorThomas Grainger <tagrain@gmail.com>2023-04-21 10:24:35 +0100
committerGitHub <noreply@github.com>2023-04-21 11:24:35 +0200
commit8a45447e8a1014109097bbd11c84f2738d1c1700 (patch)
tree790ada3727f8c43a1b6e63dce3ce3e62f1e73c03 /.github
parent62ae1c81dd625d4dc788743aef638e64d26db0c4 (diff)
downloadurllib3-8a45447e8a1014109097bbd11c84f2738d1c1700.tar.gz
Pin virtualenv to fix Python 2.7 CI (#2977)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b5403637..2b8d1369 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -98,7 +98,12 @@ jobs:
python-version: "3.x"
cache: "pip"
- - name: "Install dependencies"
+ - if: matrix.python-version == '2.7'
+ name: "Install dependencies"
+ run: python -m pip install --upgrade pip setuptools nox 'virtualenv<20.22.0'
+
+ - if: matrix.python-version != '2.7'
+ name: "Install dependencies"
run: python -m pip install --upgrade pip setuptools nox
- name: "Run tests"