Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
chore(spanner): Issue#1143 - Update dependency
- add dependency 'testing' for pretest
  • Loading branch information
bhatt4982 committed Jul 9, 2024
commit b6fe4d4f55e6a962eca0efb5f99ade9cf8d1013c
5 changes: 3 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
SYSTEM_TEST_DEPENDENCIES: List[str] = []
SYSTEM_TEST_EXTRAS: List[str] = [
"tracing",
"testing",
]
SYSTEM_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {}

Expand Down Expand Up @@ -165,7 +166,7 @@ def install_unittest_dependencies(session, *constraints):
constraints_path = str(
CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt"
)
session.install("-e", ".[tracing]", "-c", constraints_path)
session.install("-e", ".[tracing, testing]", "-c", constraints_path)
# XXX: Dump installed versions to debug OT issue
session.run("pip", "list")

Expand Down Expand Up @@ -432,7 +433,7 @@ def prerelease_deps(session, protobuf_implementation, database_dialect):
session.skip("cpp implementation is not supported in python 3.11+")

# Install all dependencies
session.install("-e", ".[all, tests, tracing]")
session.install("-e", ".[all, tests, tracing, testing]")
unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
session.install(*unit_deps_all)
system_deps_all = (
Expand Down