Skip to content

Commit 63f33f2

Browse files
committed
link bugs
1 parent 2620f09 commit 63f33f2

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

packages/gapic-generator/noxfile.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,8 @@ def showcase_mtls(
476476
)
477477

478478

479-
# TODO(Phase 3): Remove showcase_pqc once grpcio >= 1.83.0 is enforced by default in google-api-core.
479+
# TODO(https://github.com/googleapis/google-cloud-python/issues/17752):
480+
# Remove showcase_pqc once grpcio >= 1.83.0 is enforced by default.
480481
@nox.session(python=NEWEST_PYTHON)
481482
def showcase_pqc(
482483
session,
@@ -487,6 +488,8 @@ def showcase_pqc(
487488
"""Run the Showcase PQC verification test suite against grpcio 1.83+ over standard TLS."""
488489
with showcase_library(session, templates=templates, other_opts=other_opts):
489490
session.install("pytest", "pytest-asyncio")
491+
# TODO(https://github.com/googleapis/google-cloud-python/issues/17751):
492+
# Update the version below to `1.83.0` once released, and remove `--pre`.
490493
session.install("--pre", "--upgrade", "grpcio>=1.83.0rc0", "grpcio-status>=1.83.0rc0")
491494
session.run("py.test", "--quiet", "--tls", *(session.posargs or ["tests/system/test_pqc.py"]), env=env)
492495

packages/gapic-generator/tests/system/test_pqc.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,11 @@ def _verify_pqc_metadata(interceptor, transport_name):
4242

4343
def test_pqc_grpc(run_pqc_test, intercepted_echo_grpc):
4444
"""Verifies that the gRPC client library negotiates PQC (X25519MLKEM768) with Showcase server."""
45-
# TODO(Phase 3): Remove this check once grpcio >= 1.83.0 is enforced across all client libraries.
45+
# TODO(https://github.com/googleapis/google-cloud-python/issues/17752):
46+
# Remove this check once grpcio >= 1.83.0 is enforced across all client libraries.
4647
if Version(grpc.__version__) < Version("1.83.0rc0"):
48+
# TODO(https://github.com/googleapis/google-cloud-python/issues/17751):
49+
# Update the version in the check above to `1.83.0` once released.
4750
pytest.skip(f"gRPC PQC negotiation requires grpcio >= 1.83.0 (current: {grpc.__version__})")
4851

4952
client, interceptor = intercepted_echo_grpc
@@ -63,8 +66,11 @@ def test_pqc_rest(run_pqc_test, intercepted_echo_rest):
6366
@pytest.mark.asyncio
6467
async def test_pqc_grpc_async(run_pqc_test, intercepted_echo_grpc_async):
6568
"""Verifies that the async gRPC client library negotiates PQC (X25519MLKEM768) with Showcase server."""
66-
# TODO(Phase 3): Remove this check once grpcio >= 1.83.0 is enforced across all client libraries.
69+
# TODO(https://github.com/googleapis/google-cloud-python/issues/17752):
70+
# Remove this check once grpcio >= 1.83.0 is enforced across all client libraries.
6771
if Version(grpc.__version__) < Version("1.83.0rc0"):
72+
# TODO(https://github.com/googleapis/google-cloud-python/issues/17751):
73+
# Update the version in the check above to `1.83.0` once released.
6874
pytest.skip(f"gRPC PQC negotiation requires grpcio >= 1.83.0 (current: {grpc.__version__})")
6975

7076
client, interceptor = intercepted_echo_grpc_async

0 commit comments

Comments
 (0)