Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit 110870c

Browse files
committed
tests: tweak systest deps install to avoid py27 conflict
Follow on to PR #430.
1 parent 2e70a58 commit 110870c

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

noxfile.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,19 @@ def system(session):
122122

123123
# Install all test dependencies, then install this package into the
124124
# virtualenv's dist-packages.
125+
# 2021-05-06: defer installing 'google-cloud-*' to after this package,
126+
# in order to work around Python 2.7 googolapis-common-protos
127+
# issue.
128+
session.install(
129+
"mock", "pytest",
130+
)
131+
session.install("-e", ".")
125132
session.install(
126-
"mock",
127-
"pytest",
128133
"google-cloud-testutils",
129134
"google-cloud-iam",
130135
"google-cloud-pubsub < 2.0.0",
131136
"google-cloud-kms < 2.0dev",
132137
)
133-
session.install("-e", ".")
134138

135139
# Run py.test against the system tests.
136140
if system_test_exists:

0 commit comments

Comments
 (0)