Skip to content

v1.12.2

@sdebruyn sdebruyn tagged this 20 May 16:22
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>
Assets 2
Loading