Skip to content

Commit c659ac7

Browse files
fix: Update system_test_python_versions (#1096)
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent efbaf61 commit c659ac7

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

CONTRIBUTING.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,12 @@ Running System Tests
143143
$ nox -s system
144144

145145
# Run a single system test
146-
$ nox -s system-3.10 -- -k <name of test>
146+
$ nox -s system-3.12 -- -k <name of test>
147147

148148

149149
.. note::
150150

151-
System tests are only configured to run under Python 3.10.
151+
System tests are only configured to run under Python 3.12.
152152
For expediency, we do not run them in older versions of Python 3.
153153

154154
This alone will not run the tests. You'll need to change some local

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
UNIT_TEST_EXTRAS: List[str] = []
5151
UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {}
5252

53-
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.10"]
53+
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.12"]
5454
SYSTEM_TEST_STANDARD_DEPENDENCIES: List[str] = [
5555
"mock",
5656
"pytest",

owlbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@
337337
cov_level=100,
338338
versions=gcp.common.detect_versions(path="./google", default_first=True),
339339
unit_test_python_versions=["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"],
340-
system_test_python_versions=["3.10"],
340+
system_test_python_versions=["3.12"],
341341
system_test_external_dependencies=["psutil","flaky"],
342342
)
343343
s.move(templated_files, excludes=[".coveragerc", ".github/release-please.yml", "README.rst", "docs/index.rst"])

pytest.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ filterwarnings =
1111
# Remove warning once https://github.com/googleapis/gapic-generator-python/issues/1938 is fixed
1212
ignore:The return_immediately flag is deprecated and should be set to False.:DeprecationWarning
1313
# Remove warning once https://github.com/googleapis/gapic-generator-python/issues/1939 is fixed
14-
ignore:get_mtls_endpoint_and_cert_source is deprecated.:DeprecationWarning
14+
ignore:get_mtls_endpoint_and_cert_source is deprecated.:DeprecationWarning
15+
# Remove warning once https://github.com/grpc/grpc/issues/35974 is fixed
16+
ignore:unclosed:ResourceWarning

0 commit comments

Comments
 (0)