Skip to content

Commit d14379f

Browse files
committed
revert to 3.10
1 parent 6c725f4 commit d14379f

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/.OwlBot.lock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
16-
digest: sha256:4a9e5d44b98e8672e2037ee22bc6b4f8e844a2d75fcb78ea8a4b38510112abc6
16+
digest: sha256:710b70faff81151657d89db6e028c23a1051787598c8276bdd8eef25c92da8ab
1717
# created: 2025-04-10T17:48:54.829145676Z

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
ISORT_VERSION = "isort==5.11.0"
3333
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3434

35-
DEFAULT_PYTHON_VERSION = "3.10"
35+
DEFAULT_PYTHON_VERSION = "3.8"
3636

3737
UNIT_TEST_PYTHON_VERSIONS: List[str] = [
3838
"3.7",

owlbot.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ def get_staging_dirs(
103103
unit_test_external_dependencies=["six"],
104104
system_test_external_dependencies=["six"],
105105
cov_level=100,
106-
default_python_version="3.13",
107-
system_test_python_versions=["3.13"],
106+
default_python_version="3.10",
107+
system_test_python_versions=["3.10"],
108108
)
109109
s.move(
110110
templated_files,
@@ -116,7 +116,7 @@ def get_staging_dirs(
116116
python.configure_previous_major_version_branches()
117117

118118
# Preserve system tests w/ GOOGLE_DISABLE_GRPC set (#133, PR #136)
119-
s.replace(
119+
assert 1 == s.replace(
120120
"noxfile.py",
121121
r"""\
122122
@nox.session\(python=SYSTEM_TEST_PYTHON_VERSIONS\)
@@ -129,7 +129,7 @@ def system(session, disable_grpc):
129129
""",
130130
)
131131

132-
s.replace(
132+
assert 1 == s.replace(
133133
"noxfile.py",
134134
"""\
135135
# Run py.test against the system tests.
@@ -143,7 +143,7 @@ def system(session, disable_grpc):
143143
""",
144144
)
145145

146-
s.replace(
146+
assert 1 == s.replace(
147147
"noxfile.py",
148148
"""system_test_path,
149149
\*session.posargs,
@@ -154,7 +154,7 @@ def system(session, disable_grpc):
154154
)""",
155155
)
156156

157-
s.replace(
157+
assert 1 == s.replace(
158158
"noxfile.py",
159159
"""system_test_folder_path,
160160
\*session.posargs,
@@ -166,7 +166,7 @@ def system(session, disable_grpc):
166166
)
167167

168168
# Add nox session to exercise doctests
169-
s.replace(
169+
assert 1 == s.replace(
170170
"noxfile.py",
171171
r"""\
172172
"blacken",
@@ -179,14 +179,14 @@ def system(session, disable_grpc):
179179
""",
180180
)
181181

182-
s.replace(
182+
assert 1 == s.replace(
183183
"noxfile.py",
184184
r"""\
185185
@nox.session\(python="3.10"\)
186186
def docfx\(session\):
187187
""",
188188
"""\
189-
@nox.session(python="3.13")
189+
@nox.session(python="3.9")
190190
def doctests(session):
191191
# Install all test dependencies, then install this package into the
192192
# virtualenv's dist-packages.
@@ -197,7 +197,7 @@ def doctests(session):
197197
session.run("py.test", "tests/doctests.py")
198198
199199
200-
@nox.session(python="3.13")
200+
@nox.session(python="3.10")
201201
def docfx(session):
202202
""",
203203
)

0 commit comments

Comments
 (0)