Skip to content

Commit

Permalink
chore: change system test python version
Browse files Browse the repository at this point in the history
FUTURE_COPYBARA_INTEGRATE_REVIEW=#2655 from googleapis:release-please--branches--main 4996a0b
PiperOrigin-RevId: 572363601
  • Loading branch information
jaycee-li authored and Copybara-Service committed Oct 10, 2023
1 parent 83224d0 commit bf1be87
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .kokoro/continuous/system.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

env_vars: {
key: "NOX_SESSION"
value: "system-3.11"
value: "system-3.10"
}

# Run system tests in parallel, splitting up by file
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/presubmit/system.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Run system tests when test files are modified
env_vars: {
key: "NOX_SESSION"
value: "system-3.11"
value: "system-3.10"
}

# Run system tests in parallel, splitting up by file
Expand Down
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
]
UNIT_TEST_EXTRAS_BY_PYTHON = {}

SYSTEM_TEST_PYTHON_VERSIONS = ["3.11"]
SYSTEM_TEST_PYTHON_VERSIONS = ["3.10"]
SYSTEM_TEST_STANDARD_DEPENDENCIES = [
"mock",
"pytest",
Expand Down Expand Up @@ -409,7 +409,7 @@ def prerelease_deps(session):
session.run("py.test", "tests/unit")

system_test_path = os.path.join("tests", "system.py")
system_test_folder_path = os.path.join("tests", "system")
system_test_folder_path = os.path.join("tests", "system", "vertexai")

# Only run system tests if found.
if os.path.exists(system_test_path):
Expand Down
8 changes: 4 additions & 4 deletions testing/constraints-3.10.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-
# This constraints file is required for unit tests.
# List all library dependencies and extras in this file.
google-api-core==1.32.0
proto-plus==1.22.0
protobuf==3.19.6
google-api-core
proto-plus
protobuf
mock==4.0.2
google-cloud-storage==2.0.0
packaging==20.0 # Increased for compatibility with MLFlow
grpcio-testing==1.34.0
grpcio-testing==1.34.0

0 comments on commit bf1be87

Please sign in to comment.