Skip to content
Merged
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
4 changes: 1 addition & 3 deletions packages/gapic-generator/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,9 +498,7 @@ def showcase_pqc(
"""Run the Showcase PQC verification test suite against grpcio 1.83+ over standard TLS."""
with showcase_library(session, templates=templates, other_opts=other_opts):
session.install("pytest", "pytest-asyncio")
# TODO(https://github.com/googleapis/google-cloud-python/issues/17751):
# Update the version below to `1.83.0` once released, and remove `--pre`.
session.install("--pre", "--upgrade", "grpcio>=1.83.0rc0", "grpcio-status>=1.83.0rc0")
session.install("--upgrade", "grpcio>=1.83.0", "grpcio-status>=1.83.0")
session.run("py.test", "--quiet", "--tls", *(session.posargs or ["tests/system/test_pqc.py"]), env=env)


Expand Down
8 changes: 2 additions & 6 deletions packages/gapic-generator/tests/system/test_pqc.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ def test_pqc_grpc(intercepted_echo_grpc):
"""Verifies that the gRPC client library negotiates post-quantum MLKEM with Showcase server."""
# TODO(https://github.com/googleapis/google-cloud-python/issues/17752):
# Remove this check once grpcio >= 1.83.0 is enforced across all client libraries.
if Version(grpc.__version__) < Version("1.83.0rc0"):
# TODO(https://github.com/googleapis/google-cloud-python/issues/17751):
# Update the version in the check above to `1.83.0` once released.
if Version(grpc.__version__) < Version("1.83.0"):
Comment thread
ohmayr marked this conversation as resolved.
pytest.skip(f"gRPC PQC negotiation requires grpcio >= 1.83.0 (current: {grpc.__version__})")

client, interceptor = intercepted_echo_grpc
Expand All @@ -69,9 +67,7 @@ async def test_pqc_grpc_async(intercepted_echo_grpc_async):
"""Verifies that the async gRPC client library negotiates post-quantum MLKEM with Showcase server."""
# TODO(https://github.com/googleapis/google-cloud-python/issues/17752):
# Remove this check once grpcio >= 1.83.0 is enforced across all client libraries.
if Version(grpc.__version__) < Version("1.83.0rc0"):
# TODO(https://github.com/googleapis/google-cloud-python/issues/17751):
# Update the version in the check above to `1.83.0` once released.
if Version(grpc.__version__) < Version("1.83.0"):
Comment thread
ohmayr marked this conversation as resolved.
pytest.skip(
f"gRPC PQC negotiation requires grpcio >= 1.83.0 (current: {grpc.__version__})"
)
Expand Down
Loading