Skip to content

Commit 3b00bba

Browse files
rboni-dkclaude
andcommitted
fix(mcp): keep testgen.testing out of the built wheel; tidy connection docs (TG-1124)
Exclude testgen.testing* from packages.find so the shared test-fixtures module (which imports pytest at module top) is not packaged into the runtime wheel; editable dev/CI installs still resolve it from source. Drop the dead testlib* exclude (no such package). Describe the testgen://connection-parameters resource by its param shapes rather than enumerating specific tools. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent e9d1604 commit 3b00bba

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ include-package-data = true
145145
include = [
146146
"testgen*",
147147
]
148-
exclude = [ "*.tests", "tests*", "deploy*", "invocations*", "testlib*"]
148+
exclude = [ "*.tests", "tests*", "deploy*", "invocations*", "testgen.testing*"]
149149

150150
[tool.pytest.ini_options]
151151
minversion = "7.0"

testgen/mcp/tools/reference.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,7 @@ def _append_mode(doc: MdDoc, mode: FlavorMode, schema: FlavorSchema, *, url_offe
410410

411411
def connection_parameters_resource(flavor: str) -> str:
412412
"""Per-flavor connection parameter shapes: the auth modes and the exact
413-
``connection_params`` keys (with required/optional + secret notes) used by
414-
``create_connection`` / ``update_connection`` / ``test_connection``.
413+
``connection_params`` keys (with required/optional + secret notes) for the flavor.
415414
416415
Args:
417416
flavor: Flavor code, e.g. ``snowflake``, ``azure_mssql``, ``salesforce_data360``.

0 commit comments

Comments
 (0)