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

Commit 12a0e3e

Browse files
authored
chore: add Python 3.10 support (#1019)
1 parent 29fa414 commit 12a0e3e

12 files changed

Lines changed: 13 additions & 6 deletions

File tree

gapic/templates/noxfile.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ nox.sessions = [
2626
"docs",
2727
]
2828

29-
@nox.session(python=['3.6', '3.7', '3.8', '3.9'])
29+
@nox.session(python=['3.6', '3.7', '3.8', '3.9', '3.10'])
3030
def unit(session):
3131
"""Run the unit test suite."""
3232

gapic/templates/setup.py.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ setuptools.setup(
4444
'Programming Language :: Python :: 3.7',
4545
'Programming Language :: Python :: 3.8',
4646
'Programming Language :: Python :: 3.9',
47+
'Programming Language :: Python :: 3.10',
4748
'Topic :: Internet',
4849
'Topic :: Software Development :: Libraries :: Python Modules',
4950
],

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
ADS_TEMPLATES = path.join(path.dirname(__file__), "gapic", "ads-templates")
3030

3131

32-
@nox.session(python=["3.6", "3.7", "3.8", "3.9"])
32+
@nox.session(python=["3.6", "3.7", "3.8", "3.9", "3.10"])
3333
def unit(session):
3434
"""Run the unit test suite."""
3535

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@
6565
"Programming Language :: Python :: 3.6",
6666
"Programming Language :: Python :: 3.7",
6767
"Programming Language :: Python :: 3.8",
68+
"Programming Language :: Python :: 3.9",
69+
"Programming Language :: Python :: 3.10",
6870
"Topic :: Software Development :: Code Generators",
6971
"Topic :: Software Development :: Libraries :: Python Modules",
7072
),

tests/integration/goldens/asset/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"docs",
3838
]
3939

40-
@nox.session(python=['3.6', '3.7', '3.8', '3.9'])
40+
@nox.session(python=['3.6', '3.7', '3.8', '3.9', '3.10'])
4141
def unit(session):
4242
"""Run the unit test suite."""
4343

tests/integration/goldens/asset/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
'Programming Language :: Python :: 3.7',
4848
'Programming Language :: Python :: 3.8',
4949
'Programming Language :: Python :: 3.9',
50+
'Programming Language :: Python :: 3.10',
5051
'Topic :: Internet',
5152
'Topic :: Software Development :: Libraries :: Python Modules',
5253
],

tests/integration/goldens/credentials/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"docs",
3838
]
3939

40-
@nox.session(python=['3.6', '3.7', '3.8', '3.9'])
40+
@nox.session(python=['3.6', '3.7', '3.8', '3.9', '3.10'])
4141
def unit(session):
4242
"""Run the unit test suite."""
4343

tests/integration/goldens/credentials/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
'Programming Language :: Python :: 3.7',
4848
'Programming Language :: Python :: 3.8',
4949
'Programming Language :: Python :: 3.9',
50+
'Programming Language :: Python :: 3.10',
5051
'Topic :: Internet',
5152
'Topic :: Software Development :: Libraries :: Python Modules',
5253
],

tests/integration/goldens/logging/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"docs",
3838
]
3939

40-
@nox.session(python=['3.6', '3.7', '3.8', '3.9'])
40+
@nox.session(python=['3.6', '3.7', '3.8', '3.9', '3.10'])
4141
def unit(session):
4242
"""Run the unit test suite."""
4343

tests/integration/goldens/logging/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
'Programming Language :: Python :: 3.7',
4848
'Programming Language :: Python :: 3.8',
4949
'Programming Language :: Python :: 3.9',
50+
'Programming Language :: Python :: 3.10',
5051
'Topic :: Internet',
5152
'Topic :: Software Development :: Libraries :: Python Modules',
5253
],

0 commit comments

Comments
 (0)