Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit 1fd0d24

Browse files
committed
fix owlbot
1 parent 6064dc4 commit 1fd0d24

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

owlbot.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ def get_staging_dirs(
236236
".github/release-please.yml",
237237
".kokoro/test-samples-impl.sh",
238238
".kokoro/presubmit/presubmit.cfg",
239+
".kokoro/samples/python3.7/**",
240+
".kokoro/samples/python3.8/**",
239241
],
240242
)
241243

@@ -259,6 +261,17 @@ def get_staging_dirs(
259261

260262
python.py_samples()
261263

264+
s.replace(
265+
"samples/**/noxfile.py",
266+
'BLACK_VERSION = "black==22.3.0"',
267+
'BLACK_VERSION = "black==23.7.0"',
268+
)
269+
s.replace(
270+
"samples/**/noxfile.py",
271+
r'ALL_VERSIONS = \["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"\]',
272+
'ALL_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13"]',
273+
)
274+
262275
# Use a python runtime which is available in the owlbot post processor here
263276
# https://github.com/googleapis/synthtool/blob/master/docker/owlbot/python/Dockerfile
264277
s.shell.run(["nox", "-s", "blacken-3.10"], hide_output=False)

0 commit comments

Comments
 (0)