Skip to content

Commit e0d5809

Browse files
committed
remove deprecated code
1 parent 752fc17 commit e0d5809

File tree

3 files changed

+0
-18
lines changed

3 files changed

+0
-18
lines changed

google/api_core/grpc_helpers.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -368,21 +368,6 @@ def create_channel(
368368
quota_project_id=quota_project_id,
369369
default_host=default_host,
370370
)
371-
372-
# Note that grpcio-gcp is deprecated
373-
if HAS_GRPC_GCP: # pragma: NO COVER
374-
if compression is not None and compression != grpc.Compression.NoCompression:
375-
warnings.warn(
376-
"The `compression` argument is ignored for grpc_gcp.secure_channel creation.",
377-
DeprecationWarning,
378-
)
379-
if attempt_direct_path:
380-
warnings.warn(
381-
"""The `attempt_direct_path` argument is ignored for grpc_gcp.secure_channel creation.""",
382-
DeprecationWarning,
383-
)
384-
return grpc_gcp.secure_channel(target, composite_credentials, **kwargs)
385-
386371
if attempt_direct_path:
387372
target = _modify_target_for_direct_path(target)
388373

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ grpc = [
6565
"grpcio-status >= 1.33.2, < 2.0.0",
6666
"grpcio-status >= 1.49.1, < 2.0.0; python_version >= '3.11'",
6767
]
68-
grpcgcp = ["grpcio-gcp >= 0.2.2, < 1.0.0"]
69-
grpcio-gcp = ["grpcio-gcp >= 0.2.2, < 1.0.0"]
7068

7169
[tool.setuptools.dynamic]
7270
version = { attr = "google.api_core.version.__version__" }

testing/constraints-async-rest-3.7.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@ aiohttp==3.6.2
1313
requests==2.20.0
1414
grpcio==1.33.2
1515
grpcio-status==1.33.2
16-
grpcio-gcp==0.2.2
1716
proto-plus==1.22.3

0 commit comments

Comments
 (0)