Skip to content

Commit

Permalink
tests: tweak systest deps install to avoid py27 conflict (#433)
Browse files Browse the repository at this point in the history
Follow on to PR #430.
  • Loading branch information
tseaver committed May 6, 2021
1 parent 2e70a58 commit 246a13b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions noxfile.py
Expand Up @@ -122,15 +122,19 @@ def system(session):

# Install all test dependencies, then install this package into the
# virtualenv's dist-packages.
# 2021-05-06: defer installing 'google-cloud-*' to after this package,
# in order to work around Python 2.7 googolapis-common-protos
# issue.
session.install(
"mock", "pytest",
)
session.install("-e", ".")
session.install(
"mock",
"pytest",
"google-cloud-testutils",
"google-cloud-iam",
"google-cloud-pubsub < 2.0.0",
"google-cloud-kms < 2.0dev",
)
session.install("-e", ".")

# Run py.test against the system tests.
if system_test_exists:
Expand Down

0 comments on commit 246a13b

Please sign in to comment.