Skip to content

Commit f291081

Browse files
sdebruynclaude
andauthored
Exclude mssql-python 1.7.0 and 1.7.1 from allowed versions (#294)
mssql-python 1.7.x crashes the host Python process with SIGBUS (no traceback, no exception, silent process death) on macOS arm64 + Python 3.13 when connecting to a Fabric Data Warehouse with an Azure access token via attrs_before / SQL_COPT_SS_ACCESS_TOKEN (1256). The crash makes dbt-fabric appear to silently do nothing: dbt debug exits with no "All checks passed", no errors, and no output past the "Registered adapter" line. Faulthandler pins the fault to mssql_python/connection.py:374 inside Connection.__init__. mssql-python 1.4.0, 1.5.0, and 1.6.0 all work correctly against the same Fabric DWH from the same machine. 1.7.0 was not testable (no published wheel for Python 3.13 macOS arm64), but the whole 1.7.x line is excluded for now to be safe; we can relax once a fixed 1.7.x is available upstream. This is the root cause of the 1.12.0 / 1.12.1 release breakage that prompted both versions to be yanked from PyPI. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent b672504 commit f291081

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ classifiers = [
1919
]
2020

2121
dependencies = [
22-
"mssql-python>=1.4.0",
22+
"mssql-python>=1.4.0,!=1.7.0,!=1.7.1",
2323
"azure-identity>=1.12.0",
2424
"dbt-common>=1.37.3,<2.0",
2525
"dbt-adapters>=1.22.6,<2.0",

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)