Skip to content

Commit 92f05ed

Browse files
authored
Revert "chore(spanner): Issue#1143 - Update dependency (#1158)" (#1197)
This reverts commit 44434aa.
1 parent d2c0523 commit 92f05ed

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

noxfile.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@
5959
SYSTEM_TEST_DEPENDENCIES: List[str] = []
6060
SYSTEM_TEST_EXTRAS: List[str] = [
6161
"tracing",
62-
"testing",
6362
]
6463
SYSTEM_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {}
6564

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

@@ -337,7 +336,7 @@ def cover(session):
337336
def docs(session):
338337
"""Build the docs for this library."""
339338

340-
session.install("-e", ".[tracing, testing]")
339+
session.install("-e", ".[tracing]")
341340
session.install(
342341
# We need to pin to specific versions of the `sphinxcontrib-*` packages
343342
# which still support sphinx 4.x.
@@ -372,7 +371,7 @@ def docs(session):
372371
def docfx(session):
373372
"""Build the docfx yaml files for this library."""
374373

375-
session.install("-e", ".[tracing, testing]")
374+
session.install("-e", ".[tracing]")
376375
session.install(
377376
# We need to pin to specific versions of the `sphinxcontrib-*` packages
378377
# which still support sphinx 4.x.

owlbot.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def get_staging_dirs(
128128
samples=True,
129129
cov_level=98,
130130
split_system_tests=True,
131-
system_test_extras=["tracing", "testing"],
131+
system_test_extras=["tracing"],
132132
)
133133
s.move(
134134
templated_files,
@@ -180,7 +180,7 @@ def place_before(path, text, *before_text, escape=None):
180180
constraints_path = str(
181181
CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt"
182182
)
183-
session.install("-e", ".[tracing, testing]", "-c", constraints_path)
183+
session.install("-e", ".[tracing]", "-c", constraints_path)
184184
# XXX: Dump installed versions to debug OT issue
185185
session.run("pip", "list")
186186
@@ -229,7 +229,7 @@ def place_before(path, text, *before_text, escape=None):
229229
s.replace(
230230
"noxfile.py",
231231
r"""session.install\("-e", "."\)""",
232-
"""session.install("-e", ".[tracing, testing]")""",
232+
"""session.install("-e", ".[tracing]")""",
233233
)
234234

235235
# Apply manual changes from PR https://github.com/googleapis/python-spanner/pull/759

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
name = "google-cloud-spanner"
2424

25+
2526
description = "Google Cloud Spanner API client library"
2627

2728
version = {}
@@ -42,6 +43,7 @@
4243
"sqlparse >= 0.4.4",
4344
"proto-plus >= 1.22.2, <2.0.0dev; python_version>='3.11'",
4445
"protobuf>=3.20.2,<6.0.0dev,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
46+
"grpc-interceptor >= 0.15.4",
4547
]
4648
extras = {
4749
"tracing": [
@@ -50,7 +52,6 @@
5052
"opentelemetry-instrumentation >= 0.20b0, < 0.23dev",
5153
],
5254
"libcst": "libcst >= 0.2.5",
53-
"testing": "grpc-interceptor >= 0.15.4",
5455
}
5556

5657
url = "https://github.com/googleapis/python-spanner"

0 commit comments

Comments
 (0)