Skip to content

Commit 79ea6d6

Browse files
Merge pull request #862 from github/aeisenberg/fix-python-tests
Force virtualenv version
2 parents cdea582 + 3e50d09 commit 79ea6d6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

python-setup/install_tools.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ py -3 -m pip install --user --upgrade pip setuptools wheel
55

66
# virtualenv is a bit nicer for setting up virtual environment, since it will provide up-to-date versions of
77
# pip/setuptools/wheel which basic `python3 -m venv venv` won't
8-
py -2 -m pip install --user virtualenv
9-
py -3 -m pip install --user virtualenv
8+
py -2 -m pip install --user 'virtualenv<20.11'
9+
py -3 -m pip install --user 'virtualenv<20.11'
1010

1111
# poetry 1.0.10 has error (https://github.com/python-poetry/poetry/issues/2711)
1212
py -3 -m pip install --user poetry!=1.0.10
13-
py -3 -m pip install --user pipenv
13+
py -3 -m pip install --user pipenv

python-setup/install_tools.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ python3 -m pip install --user --upgrade pip setuptools wheel
1515

1616
# virtualenv is a bit nicer for setting up virtual environment, since it will provide up-to-date versions of
1717
# pip/setuptools/wheel which basic `python3 -m venv venv` won't
18-
python3 -m pip install --user virtualenv
18+
python3 -m pip install --user 'virtualenv<20.11'
1919

2020
# We install poetry with pip instead of the recommended way, since the recommended way
2121
# caused some problem since `poetry run` gives output like:
@@ -35,5 +35,5 @@ if command -v python2 &> /dev/null; then
3535

3636
python2 -m pip install --user --upgrade pip setuptools wheel
3737

38-
python2 -m pip install --user virtualenv
38+
python2 -m pip install --user 'virtualenv<20.11'
3939
fi

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy