Skip to content
This repository was archived by the owner on Sep 21, 2023. It is now read-only.

Commit 987e194

Browse files
committed
for testing
1 parent bb8978b commit 987e194

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

samples/snippets/noxfile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ def _session_tests(
195195
pip_version = TEST_CONFIG["pip_version_override"]
196196
session.install(f"pip=={pip_version}")
197197
"""Runs py.test for a particular project."""
198+
198199
if os.path.exists("requirements.txt"):
199200
if os.path.exists("constraints.txt"):
200201
session.install("-r", "requirements.txt", "-c", "constraints.txt")
@@ -215,6 +216,7 @@ def _session_tests(
215216
if post_install:
216217
post_install(session)
217218

219+
session.install("--upgrade", "protobuf")
218220
session.install("proto-plus==1.20.1")
219221

220222
session.run(

0 commit comments

Comments
 (0)