Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9df5b8f

Browse filesBrowse files
authored
fix(docker): Hardcoding virtualenv version to keep Python 2.7 support (GoogleCloudPlatform#10479)
* fix(docker): Hardcoding virtualenv version to keep Python 2.7 support * Limiting the virtualenv installation to py-2.7 only
1 parent 84816c5 commit 9df5b8f
Copy full SHA for 9df5b8f

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

‎.kokoro/tests/run_tests.sh

Copy file name to clipboardExpand all lines: .kokoro/tests/run_tests.sh
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ export PATH="${HOME}/.local/bin:${PATH}"
9090
# upgrade pip when needed
9191
pip install --upgrade pip
9292

93+
# Install virtualenv in version 20.21, since version 20.22 no longer supports Python 2.7
94+
if [[ "${RUN_TESTS_SESSION}" == "py-2.7" ]]; then
95+
pip install --user -q virtualenv==20.21
96+
fi
97+
9398
# install nox for testing
9499
pip install --user -q nox
95100

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.