Skip to content

Commit 0eb3b09

Browse files
committed
chore(gapic): update Python version requirement to 3.10 in setup.py and noxfile.py
1 parent e75c0f6 commit 0eb3b09

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

packages/gapic-generator/noxfile.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
RUFF_EXCLUDES = "*golden*,*pb2.py,*pb2.pyi"
4545

4646
ALL_PYTHON = (
47-
"3.9",
4847
"3.10",
4948
"3.11",
5049
"3.12",
@@ -181,7 +180,7 @@ def fragment(session, use_ads_templates=False):
181180
session.install("-e", ".")
182181

183182
# The specific failure is `Plugin output is unparseable`
184-
if session.python in ("3.9", "3.10"):
183+
if session.python == "3.10":
185184
session.install("google-api-core<2.28")
186185

187186
frag_files = (
@@ -251,7 +250,7 @@ def showcase_library(
251250
# Warnings emitted from google-api-core starting in 2.28
252251
# appear to cause issues when running protoc.
253252
# The specific failure is `Plugin output is unparseable`
254-
if session.python in ("3.9", "3.10"):
253+
if session.python == "3.10":
255254
session.install("google-api-core<2.28")
256255

257256
# Install a client library for Showcase.

packages/gapic-generator/setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
"License :: OSI Approved :: Apache Software License",
7171
"Programming Language :: Python",
7272
"Programming Language :: Python :: 3",
73-
"Programming Language :: Python :: 3.9",
7473
"Programming Language :: Python :: 3.10",
7574
"Programming Language :: Python :: 3.11",
7675
"Programming Language :: Python :: 3.12",
@@ -81,7 +80,7 @@
8180
"Topic :: Software Development :: Libraries :: Python Modules",
8281
],
8382
platforms="Posix; MacOS X",
84-
python_requires=">=3.9",
83+
python_requires=">=3.10",
8584
install_requires=dependencies,
8685
include_package_data=True,
8786
zip_safe=False,

0 commit comments

Comments
 (0)