Skip to content

CHORE: Bump mssql-py-core to 0.1.6#666

Merged
gargsaumya merged 2 commits into
mainfrom
bewithgaurav/bump-py-core-0.1.6
Jul 9, 2026
Merged

CHORE: Bump mssql-py-core to 0.1.6#666
gargsaumya merged 2 commits into
mainfrom
bewithgaurav/bump-py-core-0.1.6

Conversation

@bewithgaurav

Copy link
Copy Markdown
Collaborator

Work Item / Issue Reference

GitHub Issue: #662


Summary

Bumps the bundled mssql-py-core pin from 0.1.5 to 0.1.6, which includes the Rust-side GIL-deadlock fix for Service Principal bulk copy (mssql-rs #78). Fixes the freeze reported in #662 (related: #623).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 8, 2026 08:18
@github-actions github-actions Bot added the pr-size: small Minimal code update label Jul 8, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR bumps the repository’s pinned bundled native core (mssql-py-core) from 0.1.5 to 0.1.6, aligning the source tree and build pipelines to consume the updated Rust core that includes the Service Principal bulk copy GIL-deadlock fix referenced in #662.

Changes:

  • Update the bundled mssql-py-core pin to 0.1.6.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

📊 Code Coverage Report

🔥 Diff Coverage

100%


🎯 Overall Coverage

80%


📈 Total Lines Covered: 6743 out of 8343
📁 Project: mssql-python


Diff Coverage

Diff: main...HEAD, staged and unstaged changes

No lines with coverage information in this diff.


📋 Files Needing Attention

📉 Files with overall lowest coverage (click to expand)
mssql_python.pybind.logger_bridge.cpp: 59.2%
mssql_python.pybind.ddbc_bindings.h: 59.9%
mssql_python.pybind.logger_bridge.hpp: 70.8%
mssql_python.pybind.connection.connection.cpp: 76.2%
mssql_python.pybind.ddbc_bindings.cpp: 76.2%
mssql_python.__init__.py: 77.3%
mssql_python.row.py: 77.6%
mssql_python.ddbc_bindings.py: 79.6%
mssql_python.connection.py: 83.6%
mssql_python.logging.py: 85.5%

🔗 Quick Links

⚙️ Build Summary 📋 Coverage Details

View Azure DevOps Build

Browse Full Coverage Report

@gargsaumya gargsaumya merged commit ae5da46 into main Jul 9, 2026
26 of 27 checks passed
@gargsaumya gargsaumya mentioned this pull request Jul 10, 2026
bewithgaurav pushed a commit that referenced this pull request Jul 10, 2026
Release mssql-python v1.11.0.


[AB#46332](https://sqlclientdrivers.visualstudio.com/c6d89619-62de-46a0-8b46-70b92a84d85e/_workitems/edit/46332)

### Summary

Version bump to 1.11.0. Updates `mssql_python/__init__.py`, `setup.py`,
and `PyPI_Description.md`. Bundled `mssql_py_core` bumped from 0.1.5 to
0.1.6.

#### Bug Fixes

- **SSH-tunnel / in-process forwarder deadlock** — Release the GIL
around blocking ODBC round-trips in the teardown path and
`SQLDescribeParam`, so `close()` and parametrized queries with `None`
values no longer deadlock in-process TCP forwarder setups (#604, issue
#565).
- **BINARY/VARBINARY NULL parameters in temp tables and table
variables** — Proactively resolve unknown NULL parameter types before
binding and emit actionable `setinputsizes()` guidance on `SQL_VARCHAR`
fallback (#654, issue #627).
- **Context manager transaction semantics** — `Connection.__exit__` now
commits on clean exit and rolls back on exception when
`autocommit=False`, instead of always rolling back (#639, issue #635).
- **macOS Apple Silicon import failure** — `configure_dylibs.sh`
rewrites bundled ODBC dylib dependencies to `@loader_path` for every
architecture in the universal2 wheel, fixing `import mssql_python` on
clean Apple Silicon machines (#661, issue #656).
- **Service Principal bulk copy freeze** — Fixed a GIL-deadlock in the
Rust core that froze bulk copy under `ActiveDirectoryServicePrincipal`
auth; picked up via the `mssql_py_core` 0.1.6 bump (#666, issue #662).

#### Version Bump

- `mssql_python/__init__.py`: `__version__ = "1.11.0"`
- `setup.py`: `version="1.11.0"`
- `PyPI_Description.md`: `## What's new in v1.11.0` section refreshed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-size: small Minimal code update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants