Skip to content

Commit 10937cf

Browse files
test: remove python 3.7 and 3.8 from noxfile unit tests (#355)
* test: remove python 3.7 and 3.8 from noxfile unit tests * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * undo owlbot change * add owlbot string replacement * correct regex * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * correct regex * modify noxfile --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent bae1aff commit 10937cf

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

packages/google-cloud-dns/noxfile.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,12 @@
7272
CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute()
7373

7474
nox.options.sessions = [
75-
"unit",
75+
"unit-3.9",
76+
"unit-3.10",
77+
"unit-3.11",
78+
"unit-3.12",
79+
"unit-3.13",
80+
"unit-3.14",
7681
"system",
7782
"cover",
7883
"lint",

packages/google-cloud-dns/owlbot.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,21 @@
3939
'session.python in ("3.11", "3.12", "3.13", "3.14")'
4040
)
4141

42+
s.replace(
43+
"noxfile.py",
44+
"""nox\.options\.sessions = \[
45+
"unit",
46+
""",
47+
"""nox.options.sessions = [
48+
"unit-3.9",
49+
"unit-3.10",
50+
"unit-3.11",
51+
"unit-3.12",
52+
"unit-3.13",
53+
"unit-3.14",
54+
""",
55+
)
56+
4257
s.replace(
4358
".kokoro/presubmit/presubmit.cfg",
4459
"""# Format: //devtools/kokoro/config/proto/build.proto""",

0 commit comments

Comments
 (0)