Skip to content
Draft
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
6 changes: 6 additions & 0 deletions gapic/templates/noxfile.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,9 @@ def prerelease_deps(session, protobuf_implementation):
f"import {version_namespace}; print({version_namespace}.__version__)",
)

# Required by google-auth v3.x
session.install("cryptography")

session.run(
"py.test",
"tests/unit",
Expand Down Expand Up @@ -602,6 +605,9 @@ def core_deps_from_source(session, protobuf_implementation):
session.install(dep, "--no-deps", "--ignore-installed")
print(f"Installed {dep}")

# Required by google-auth v3.x
session.install("cryptography")

session.run(
"py.test",
"tests/unit",
Expand Down
6 changes: 6 additions & 0 deletions tests/integration/goldens/asset/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,9 @@ def prerelease_deps(session, protobuf_implementation):
f"import {version_namespace}; print({version_namespace}.__version__)",
)

# Required by google-auth v3.x
session.install("cryptography")

session.run(
"py.test",
"tests/unit",
Expand Down Expand Up @@ -596,6 +599,9 @@ def core_deps_from_source(session, protobuf_implementation):
session.install(dep, "--no-deps", "--ignore-installed")
print(f"Installed {dep}")

# Required by google-auth v3.x
session.install("cryptography")

session.run(
"py.test",
"tests/unit",
Expand Down
6 changes: 6 additions & 0 deletions tests/integration/goldens/credentials/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,9 @@ def prerelease_deps(session, protobuf_implementation):
f"import {version_namespace}; print({version_namespace}.__version__)",
)

# Required by google-auth v3.x
session.install("cryptography")

session.run(
"py.test",
"tests/unit",
Expand Down Expand Up @@ -596,6 +599,9 @@ def core_deps_from_source(session, protobuf_implementation):
session.install(dep, "--no-deps", "--ignore-installed")
print(f"Installed {dep}")

# Required by google-auth v3.x
session.install("cryptography")

session.run(
"py.test",
"tests/unit",
Expand Down
6 changes: 6 additions & 0 deletions tests/integration/goldens/eventarc/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,9 @@ def prerelease_deps(session, protobuf_implementation):
f"import {version_namespace}; print({version_namespace}.__version__)",
)

# Required by google-auth v3.x
session.install("cryptography")

session.run(
"py.test",
"tests/unit",
Expand Down Expand Up @@ -596,6 +599,9 @@ def core_deps_from_source(session, protobuf_implementation):
session.install(dep, "--no-deps", "--ignore-installed")
print(f"Installed {dep}")

# Required by google-auth v3.x
session.install("cryptography")

session.run(
"py.test",
"tests/unit",
Expand Down
6 changes: 6 additions & 0 deletions tests/integration/goldens/logging/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,9 @@ def prerelease_deps(session, protobuf_implementation):
f"import {version_namespace}; print({version_namespace}.__version__)",
)

# Required by google-auth v3.x
session.install("cryptography")

session.run(
"py.test",
"tests/unit",
Expand Down Expand Up @@ -596,6 +599,9 @@ def core_deps_from_source(session, protobuf_implementation):
session.install(dep, "--no-deps", "--ignore-installed")
print(f"Installed {dep}")

# Required by google-auth v3.x
session.install("cryptography")

session.run(
"py.test",
"tests/unit",
Expand Down
6 changes: 6 additions & 0 deletions tests/integration/goldens/logging_internal/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,9 @@ def prerelease_deps(session, protobuf_implementation):
f"import {version_namespace}; print({version_namespace}.__version__)",
)

# Required by google-auth v3.x
session.install("cryptography")
Copy link
Contributor

@daniel-sanche daniel-sanche Dec 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure it makes sense to install this as a new session.install step?

It seems like there should already be lists of dependencies. Maybe it could be added to prerel_deps or UNIT_TEST_STANDARD_DEPENDENCIES or a constraints file or something?


session.run(
"py.test",
"tests/unit",
Expand Down Expand Up @@ -596,6 +599,9 @@ def core_deps_from_source(session, protobuf_implementation):
session.install(dep, "--no-deps", "--ignore-installed")
print(f"Installed {dep}")

# Required by google-auth v3.x
session.install("cryptography")

session.run(
"py.test",
"tests/unit",
Expand Down
6 changes: 6 additions & 0 deletions tests/integration/goldens/redis/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,9 @@ def prerelease_deps(session, protobuf_implementation):
f"import {version_namespace}; print({version_namespace}.__version__)",
)

# Required by google-auth v3.x
session.install("cryptography")

session.run(
"py.test",
"tests/unit",
Expand Down Expand Up @@ -596,6 +599,9 @@ def core_deps_from_source(session, protobuf_implementation):
session.install(dep, "--no-deps", "--ignore-installed")
print(f"Installed {dep}")

# Required by google-auth v3.x
session.install("cryptography")

session.run(
"py.test",
"tests/unit",
Expand Down
6 changes: 6 additions & 0 deletions tests/integration/goldens/redis_selective/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,9 @@ def prerelease_deps(session, protobuf_implementation):
f"import {version_namespace}; print({version_namespace}.__version__)",
)

# Required by google-auth v3.x
session.install("cryptography")

session.run(
"py.test",
"tests/unit",
Expand Down Expand Up @@ -596,6 +599,9 @@ def core_deps_from_source(session, protobuf_implementation):
session.install(dep, "--no-deps", "--ignore-installed")
print(f"Installed {dep}")

# Required by google-auth v3.x
session.install("cryptography")

session.run(
"py.test",
"tests/unit",
Expand Down
Loading