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

Commit 2ad2335

Browse files
committed
updated librarian files
1 parent 24394d6 commit 2ad2335

File tree

2 files changed

+32
-16
lines changed

2 files changed

+32
-16
lines changed

.librarian/generator-input/noxfile.py

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,15 @@
3535
DEFAULT_PYTHON_VERSION = "3.14"
3636

3737
DEFAULT_MOCK_SERVER_TESTS_PYTHON_VERSION = "3.12"
38-
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.12"]
38+
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.14"]
3939

4040
UNIT_TEST_PYTHON_VERSIONS: List[str] = [
4141
"3.9",
4242
"3.10",
4343
"3.11",
4444
"3.12",
4545
"3.13",
46+
"3.14",
4647
]
4748
UNIT_TEST_STANDARD_DEPENDENCIES = [
4849
"mock",
@@ -81,6 +82,7 @@
8182
"unit-3.11",
8283
"unit-3.12",
8384
"unit-3.13",
85+
"unit-3.14",
8486
"system",
8587
"cover",
8688
"lint",
@@ -195,7 +197,12 @@ def install_unittest_dependencies(session, *constraints):
195197
def unit(session, protobuf_implementation):
196198
# Install all test dependencies, then install this package in-place.
197199

198-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13"):
200+
if protobuf_implementation == "cpp" and session.python in (
201+
"3.11",
202+
"3.12",
203+
"3.13",
204+
"3.14",
205+
):
199206
session.skip("cpp implementation is not supported in python 3.11+")
200207

201208
constraints_path = str(
@@ -213,6 +220,7 @@ def unit(session, protobuf_implementation):
213220
session.run(
214221
"py.test",
215222
"--quiet",
223+
"-s",
216224
f"--junitxml=unit_{session.python}_sponge_log.xml",
217225
"--cov=google",
218226
"--cov=tests/unit",
@@ -326,7 +334,12 @@ def system(session, protobuf_implementation, database_dialect):
326334
"Only run system tests on real Spanner with one protobuf implementation to speed up the build"
327335
)
328336

329-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13"):
337+
if protobuf_implementation == "cpp" and session.python in (
338+
"3.11",
339+
"3.12",
340+
"3.13",
341+
"3.14",
342+
):
330343
session.skip("cpp implementation is not supported in python 3.11+")
331344

332345
# Install pyopenssl for mTLS testing.
@@ -470,7 +483,7 @@ def docfx(session):
470483
)
471484

472485

473-
@nox.session(python="3.13")
486+
@nox.session(python="3.14")
474487
@nox.parametrize(
475488
"protobuf_implementation,database_dialect",
476489
[
@@ -485,7 +498,12 @@ def docfx(session):
485498
def prerelease_deps(session, protobuf_implementation, database_dialect):
486499
"""Run all tests with prerelease versions of dependencies installed."""
487500

488-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13"):
501+
if protobuf_implementation == "cpp" and session.python in (
502+
"3.11",
503+
"3.12",
504+
"3.13",
505+
"3.14",
506+
):
489507
session.skip("cpp implementation is not supported in python 3.11+")
490508

491509
# Install all dependencies

.librarian/generator-input/setup.py

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,15 @@
4444
"proto-plus >= 1.22.2, <2.0.0; python_version>='3.11'",
4545
"protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
4646
"grpc-interceptor >= 0.15.4",
47+
# Make OpenTelemetry a core dependency
48+
"opentelemetry-api >= 1.22.0",
49+
"opentelemetry-sdk >= 1.22.0",
50+
"opentelemetry-semantic-conventions >= 0.43b0",
51+
"opentelemetry-resourcedetector-gcp >= 1.8.0a0",
52+
"google-cloud-monitoring >= 2.16.0",
53+
"mmh3 >= 4.1.0 ",
4754
]
48-
extras = {
49-
"tracing": [
50-
"opentelemetry-api >= 1.22.0",
51-
"opentelemetry-sdk >= 1.22.0",
52-
"opentelemetry-semantic-conventions >= 0.43b0",
53-
"opentelemetry-resourcedetector-gcp >= 1.8.0a0",
54-
"google-cloud-monitoring >= 2.16.0",
55-
"mmh3 >= 4.1.0 ",
56-
],
57-
"libcst": "libcst >= 0.2.5",
58-
}
55+
extras = {"libcst": "libcst >= 0.2.5"}
5956

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

@@ -90,6 +87,7 @@
9087
"Programming Language :: Python :: 3.10",
9188
"Programming Language :: Python :: 3.11",
9289
"Programming Language :: Python :: 3.12",
90+
"Programming Language :: Python :: 3.14",
9391
"Operating System :: OS Independent",
9492
"Topic :: Internet",
9593
],

0 commit comments

Comments
 (0)