Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5ffcfe9

Browse files
committed
python-setup: Allow newest virtualenv
Context for previous version is #862 Locally, I was able to install `20.15.1` with Python2. I don't see any reason why python3 version should be restricted.
1 parent aaca819 commit 5ffcfe9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

python-setup/install_tools.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ 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<20.11'
9-
py -3 -m pip install --user 'virtualenv<20.11'
8+
py -2 -m pip install --user 'virtualenv!=20.12.0'
9+
py -3 -m pip install --user virtualenv
1010

1111
# We aren't compatible with poetry 1.2
1212
py -3 -m pip install --user "poetry>=1.1,<1.2"

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<20.11'
18+
python3 -m pip install --user virtualenv
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:
@@ -42,5 +42,5 @@ if command -v python2 >/dev/null 2>&1; then
4242

4343
python2 -m pip install --user --upgrade pip setuptools wheel
4444

45-
python2 -m pip install --user 'virtualenv<20.11'
45+
python2 -m pip install --user 'virtualenv!=20.12.0'
4646
fi

0 commit comments

Comments
 (0)