Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit 5d8c267

Browse files
committed
fix: add cryptography to constraints file
1 parent 1919b50 commit 5d8c267

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

gapic/templates/testing/_default_constraints.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ google-auth
66
grpcio
77
proto-plus
88
protobuf
9+
# cryptography is a direct dependency of google-auth
10+
cryptography
911
{% for package_tuple, package_info in pypi_packages.items() %}
1012
{# Quick check to make sure `package_info.package_name` is not the package being generated so we don't circularly include this package in its own constraints file. #}
1113
{% if api.naming.warehouse_package_name != package_info.package_name %}

gapic/templates/testing/constraints-3.7.txt.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
# Then this file should have google-cloud-foo==1.14.0
88
google-api-core==1.34.1
99
google-auth==2.14.1
10+
# cryptography is a direct dependency of google-auth
11+
cryptography==38.0.3
1012
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2453)
1113
# Add the minimum supported version of grpcio to constraints files
1214
proto-plus==1.22.3

0 commit comments

Comments
 (0)