Skip to content

Commit 5d47628

Browse files
committed
enable but skip unit-3.7 and unit-3.8 presubmits
1 parent 20b4f2c commit 5d47628

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/google-cloud-pubsub/noxfile.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,14 +229,17 @@ def install_unittest_dependencies(session, *constraints):
229229
session.install("-e", ".", *constraints)
230230

231231

232-
@nox.session(python=UNIT_TEST_PYTHON_VERSIONS)
232+
@nox.session(python=["3.7", "3.8"] + UNIT_TEST_PYTHON_VERSIONS)
233233
@nox.parametrize(
234234
"protobuf_implementation",
235235
["python", "upb", "cpp"],
236236
)
237237
def unit(session, protobuf_implementation):
238238
# Install all test dependencies, then install this package in-place.
239239

240+
if session.python in ["3.7", "3.8"]:
241+
session.skip(f"Python {session.python} is no longer supported.")
242+
240243
if protobuf_implementation == "cpp" and session.python in (
241244
"3.11",
242245
"3.12",

0 commit comments

Comments
 (0)