Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ replacements:
"protobuf >= 4.25.8, < 8.0.0",
"google-cloud-core >= 2.0.0, <3.0.0",
"grpc-google-iam-v1 >= 0.14.0, <1.0.0",
"google-crc32c>=1.6.0, <2.0.0dev",
"google-crc32c>=1.6.0, < 2.0.0",
]
count: 1
- paths: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,8 @@ replacements:
- "packages/google-cloud-pubsub/setup.py"
before: '([ \t]+)("grpc-google-iam-v1.*",\n)\]\nextras = \{\}'
after: |-
\g<1>\g<2>\g<1>"grpcio-status >= 1.51.3",
\g<1>\g<2>\g<1>"grpcio-status >= 1.59.0, < 2.0.0",
\g<1>"grpcio-status >= 1.75.1, < 2.0.0; python_version >= '3.14'",
\g<1>"opentelemetry-api >= 1.27.0",
\g<1>"opentelemetry-sdk >= 1.27.0",
]
Expand Down Expand Up @@ -509,21 +510,7 @@ replacements:
before: 'grpc-google-iam-v1==0\.14\.0\n(?!grpcio-status)'
after: |-
grpc-google-iam-v1==0.14.0
grpcio-status==1.51.3
grpcio-status==1.59.0
opentelemetry-api==1.27.0
opentelemetry-sdk==1.27.0
count: 1

- paths:
- "packages/google-cloud-pubsub/testing/constraints-3.10.txt"
before: 'grpcio==1.59.0'
after: 'grpcio==1.51.3'
count: 1

- paths:
- "packages/google-cloud-pubsub/setup.py"
before: '([ \t]+)"grpcio >= [0-9\.]+, < 2\.0\.0",\n(?:[ \t]*)"grpcio >= 1\.75\.1, < 2\.0\.0; python_version >= ''3\.14''",\n'
after: |-
\g<1>"grpcio >= 1.51.3, < 2.0.0; python_version < '3.14'",
\g<1>"grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
count: 1
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ replacements:
# See https://github.com/googleapis/google-cloud-python/issues/12364
"google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0",
"google-cloud-core >= 2.0.0, < 3.0.0",
"grpcio >= 1.49.1, < 2.0.0",
"grpcio >= 1.59.0, < 2.0.0",
"grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
"grpc-google-iam-v1 >= 0.12.4, <1.0.0",
"proto-plus >= 1.22.3, <2.0.0",
Expand Down Expand Up @@ -1390,6 +1390,7 @@ replacements:
protobuf==4.25.8
google-cloud-core==2.0.0
grpc-google-iam-v1==0.12.4
grpcio-status==1.59.0
sqlparse==0.4.4
grpc-interceptor==0.15.4
opentelemetry-api==1.22.0
Expand All @@ -1401,9 +1402,3 @@ replacements:
libcst==0.2.5
googleapis-common-protos==1.60.0
count: 1
- paths: [packages/google-cloud-spanner/testing/constraints-3.10.txt]
before: 'grpcio==1.59.0\n(?!grpcio-status)'
after: |
grpcio==1.49.1
grpcio-status==1.49.1
count: 1
Original file line number Diff line number Diff line change
Expand Up @@ -597,9 +597,9 @@ replacements:
# experimental in this SDK. More info in b/465352227
"grpc": [
"google-api-core[grpc] >= 2.27.0, < 3.0.0",
"grpcio >= 1.59.0, < 2.0.0; python_version < '3.14'",
"grpcio >= 1.59.0, < 2.0.0",
"grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
"grpcio-status >= 1.59.0, < 2.0.0; python_version < '3.14'",
"grpcio-status >= 1.59.0, < 2.0.0",
"grpcio-status >= 1.75.1, < 2.0.0; python_version >= '3.14'",
"proto-plus >= 1.22.3, <2.0.0; python_version < '3.13'",
"proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'",
Expand Down
2 changes: 0 additions & 2 deletions packages/bigquery-magics/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,6 @@ def install_systemtest_dependencies(session, with_extras, *constraints):
@nox.parametrize("with_extras", [True, False])
def system(session, with_extras):
"""Run the system test suite."""
if session.python == "3.9":
session.skip("Python 3.9 is not supported.")

constraints_path = str(
CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt"
Expand Down
3 changes: 1 addition & 2 deletions packages/bigquery-magics/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@
# See: https://github.com/googleapis/python-bigquery/issues/83 The
# grpc.Channel.close() method isn't added until 1.32.0.
# https://github.com/grpc/grpc/pull/15254
"grpcio >= 1.47.0, < 2.0.0",
"grpcio >= 1.49.1, < 2.0.0; python_version >= '3.11' and python_version < '3.14'",
"grpcio >= 1.59.0, < 2.0.0",
"grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
],
"bigframes": ["bigframes >= 1.17.0"],
Expand Down
2 changes: 1 addition & 1 deletion packages/gapic-generator/gapic/ads-templates/setup.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencies = [
"google-api-core[grpc] >= 2.24.2, < 3.0.0",
"google-auth >= 2.14.1, <3.0.0",
"googleapis-common-protos >= 1.53.0",
"grpcio >= 1.10.0",
"grpcio >= 1.59.0, < 2.0.0",
"proto-plus >= 1.26.1, <2.0.0",
"protobuf >= 6.33.5, < 8.0.0",
{% if api.requires_package(('google', 'iam', 'v1')) %}
Expand Down
5 changes: 1 addition & 4 deletions packages/gapic-generator/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# Helpful notes for local usage:
# unset PYENV_VERSION
# pyenv local 3.14.1 3.13.10 3.12.11 3.11.4 3.10.12 3.9.17
# pyenv local 3.14.1 3.13.10 3.12.11 3.11.4 3.10.12
# PIP_INDEX_URL=https://pypi.org/simple nox

from __future__ import absolute_import
Expand Down Expand Up @@ -44,7 +44,6 @@
RUFF_EXCLUDES = "*golden*,*pb2.py,*pb2.pyi"

ALL_PYTHON = (
"3.9",
"3.10",
"3.11",
"3.12",
Expand All @@ -58,8 +57,6 @@
@nox.session(python=ALL_PYTHON)
def unit(session):
"""Run the unit test suite."""
if session.python == "3.9":
session.skip("Skipping Python 3.9 unit tests temporarily.")
session.install(
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2478):
# Temporarily pin coverage to 7.11.0
Expand Down
2 changes: 1 addition & 1 deletion packages/gapic-generator/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"click >= 6.7",
"google-api-core[grpc] >= 2.24.2, < 3.0.0",
"googleapis-common-protos >= 1.55.0, < 2.0.0",
"grpcio >= 1.24.3, < 2.0.0",
"grpcio >= 1.59.0, < 2.0.0",
# 2.11.0 is required which adds the `default` argument to `jinja-filters.map()`
# https://jinja.palletsprojects.com/en/3.0.x/templates/#jinja-filters.map
# https://jinja.palletsprojects.com/en/2.11.x/changelog/#version-2-11-0
Expand Down
7 changes: 4 additions & 3 deletions packages/gcp-sphinx-docfx-yaml/docfx_yaml/markdown_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,10 @@ def _merge_markdown_content(
content before the base file content.
"""
try:
with open(base_file, "r+") as base, open(
additional_content_file, "r"
) as additional_content:
with (
open(base_file, "r+") as base,
open(additional_content_file, "r") as additional_content,
):
file_content = (
f"{additional_content.read()}\n{base.read()}"
if prepend_additional_content
Expand Down
6 changes: 3 additions & 3 deletions packages/gcp-sphinx-docfx-yaml/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import nox

DEFAULT_PYTHON_VERSION = "3.14"
UNIT_TEST_PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
UNIT_TEST_PYTHON_VERSIONS = ["3.10", "3.11", "3.12", "3.13", "3.14"]
RUFF_VERSION = "ruff==0.14.14"

ALL_PYTHON = list(UNIT_TEST_PYTHON_VERSIONS)
Expand Down Expand Up @@ -135,10 +135,10 @@ def lint_setup_py(session):
@nox.session(python=UNIT_TEST_PYTHON_VERSIONS)
def unit(session):
"""Run unit tests."""
# Re-enable 3.8, 3.9, 3.11, 3.12, and 3.13 after environment verification.
# Re-enable 3.11, 3.12, and 3.13 after environment verification.
# TODO(https://github.com/googleapis/google-cloud-python/issues/16176):
# Track 3.14 compatibility as upstream dependencies stabilize.
_skip_python_session(session, ["3.7", "3.8", "3.9", "3.11", "3.12", "3.13", "3.14"])
_skip_python_session(session, ["3.11", "3.12", "3.13", "3.14"])
session.install("-r", "requirements.txt")
session.install("pytest")
session.run("pytest", "tests")
Expand Down
4 changes: 2 additions & 2 deletions packages/gcp-sphinx-docfx-yaml/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
package_dir={"": "."},
packages=packages,
install_requires=dependencies,
python_requires=">=3.8",
python_requires=">=3.10",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.10",
],
include_package_data=True,
zip_safe=False,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,11 @@
"google-oauthlib-tool=google_auth_oauthlib.tool.__main__:main [tool]"
]
},
python_requires=">=3.6",
python_requires=">=3.10",
license="Apache 2.0",
keywords="google auth oauth client oauthlib",
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Development Status :: 5 - Production/Stable",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,6 @@
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
"Topic :: Internet",
Expand All @@ -97,7 +94,7 @@
namespace_packages=namespaces,
install_requires=dependencies,
extras_require=extras,
python_requires=">=3.7",
python_requires=">=3.10",
scripts=["scripts/fixup_keywords.py"],
include_package_data=True,
zip_safe=False,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
# 'Development Status :: 5 - Production/Stable'
release_status = "Development Status :: 5 - Production/Stable"
dependencies = [
"grpcio >= 1.38.1, < 2.0dev", # https://github.com/googleapis/python-pubsub/issues/414
"grpcio >= 1.59.0, < 2.0dev", # https://github.com/googleapis/python-pubsub/issues/414
"google-api-core[grpc] >= 1.32.0, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*",
"proto-plus >= 1.22.0, <2.0.0dev",
"protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
"grpc-google-iam-v1 >=0.12.4, <1.0.0dev",
"grpcio-status >= 1.16.0",
"grpcio-status >= 1.59.0, < 2.0.0",
]
extras = {"libcst": "libcst >= 0.3.10"}

Expand Down Expand Up @@ -75,9 +75,6 @@
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
"Topic :: Internet",
Expand All @@ -87,7 +84,7 @@
namespace_packages=namespaces,
install_requires=dependencies,
extras_require=extras,
python_requires=">=3.7",
python_requires=">=3.10",
scripts=["scripts/fixup_pubsub_v1_keywords.py"],
include_package_data=True,
zip_safe=False,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
"Topic :: Internet",
Expand All @@ -88,7 +85,7 @@
namespace_packages=namespaces,
install_requires=dependencies,
extras_require=extras,
python_requires=">=3.7",
python_requires=">=3.10",
include_package_data=True,
zip_safe=False,
)
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
Expand All @@ -97,7 +94,7 @@
packages=packages,
install_requires=dependencies,
extras_require=extras,
python_requires=">=3.7",
python_requires=">=3.10",
include_package_data=True,
zip_safe=False,
)
6 changes: 2 additions & 4 deletions packages/google-api-core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,9 @@ Repository = "https://github.com/googleapis/google-cloud-python"
[project.optional-dependencies]
async_rest = ["google-auth[aiohttp] >= 2.14.1, < 3.0.0", "aiohttp >= 3.13.4"]
grpc = [
"grpcio >= 1.41.0, < 2.0.0",
"grpcio >= 1.49.1, < 2.0.0; python_version >= '3.11'",
"grpcio >= 1.59.0, < 2.0.0",
"grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
"grpcio-status >= 1.41.0, < 2.0.0",
"grpcio-status >= 1.49.1, < 2.0.0; python_version >= '3.11'",
"grpcio-status >= 1.59.0, < 2.0.0",
"grpcio-status >= 1.75.1, < 2.0.0; python_version >= '3.14'",
]

Expand Down
4 changes: 2 additions & 2 deletions packages/google-api-core/testing/constraints-3.10.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ googleapis-common-protos==1.63.2
protobuf==5.29.6
google-auth==2.14.1
requests==2.33.0
grpcio==1.41.0
grpcio-status==1.41.0
grpcio==1.59.0
grpcio-status==1.59.0
proto-plus==1.24.0
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ googleapis-common-protos==1.63.2
protobuf==5.29.6
google-auth==2.14.1
requests==2.33.0
grpcio==1.41.0
grpcio-status==1.41.0
grpcio==1.59.0
grpcio-status==1.59.0
proto-plus==1.24.0
aiohttp==3.13.4
2 changes: 0 additions & 2 deletions packages/google-cloud-access-context-manager/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]

UNIT_TEST_PYTHON_VERSIONS: List[str] = [
"3.9",
"3.10",
"3.11",
"3.12",
Expand All @@ -56,7 +55,6 @@
UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {}

SYSTEM_TEST_PYTHON_VERSIONS: List[str] = [
"3.9",
"3.10",
"3.11",
"3.12",
Expand Down
3 changes: 1 addition & 2 deletions packages/google-cloud-access-context-manager/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand All @@ -67,7 +66,7 @@
platforms="Posix; MacOS X; Windows",
packages=find_namespace_packages(exclude=("tests*", "testing*")),
install_requires=dependencies,
python_requires=">=3.9",
python_requires=">=3.10",
include_package_data=True,
zip_safe=False,
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This constraints file is used to check that lower bounds
# are correct in setup.py
# List *all* library dependencies and extras in this file.
# Pin the version to the lower bound.
#
# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev",
# Then this file should have foo==1.14.0
protobuf==4.25.8
google-api-core==2.11.0

This file was deleted.

Loading
Loading