Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the package metadata and PyPI-facing release notes to publish version 1.6.0 of mssql-python.
Changes:
- Bumped package version to 1.6.0 in distribution metadata (
setup.py). - Bumped runtime-reported driver version to 1.6.0 (
mssql_python/__init__.py). - Updated PyPI description “What’s new” section to v1.6.0 bug-fix notes (
PyPI_Description.md).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| setup.py | Updates the package distribution version to 1.6.0. |
| mssql_python/init.py | Updates the library’s __version__ to 1.6.0. |
| PyPI_Description.md | Updates the “What’s new” section content for the 1.6.0 release. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
sumitmsft
previously approved these changes
Apr 24, 2026
📊 Code Coverage Report
Diff CoverageDiff: main...HEAD, staged and unstaged changes
Summary
📋 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: 67.8%
mssql_python.row.py: 70.5%
mssql_python.pybind.logger_bridge.hpp: 70.8%
mssql_python.pybind.ddbc_bindings.cpp: 74.5%
mssql_python.pybind.connection.connection.cpp: 75.8%
mssql_python.__init__.py: 77.3%
mssql_python.ddbc_bindings.py: 79.6%
mssql_python.pybind.connection.connection_pool.cpp: 79.6%
mssql_python.connection.py: 85.3%🔗 Quick Links
|
bewithgaurav
previously approved these changes
Apr 24, 2026
c5330ba to
061ae69
Compare
bewithgaurav
approved these changes
Apr 24, 2026
jahnvi480
approved these changes
Apr 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Work Item / Issue Reference
Summary
This pull request updates the library to version 1.6.0 and delivers a focused set of reliability and concurrency improvements.
Bug Fixes and Reliability Improvements
• GIL Release During ODBC Connect/Disconnect: The driver now releases the GIL during blocking ODBC connect and disconnect calls, improving concurrency for multi-threaded Python applications.
• setinputsizes() SQL_DECIMAL Crash Fix: Fixed a crash in cursor.setinputsizes() when specifying SQL_DECIMAL type hints.
• ODBC Catalog fetchone() Fix: Fixed an issue where fetchone() on ODBC catalog method results returned incorrect data.
• cursor.execute() Invalid Cursor State Fix: Fixed cursor.execute() raising an Invalid cursor state error when called with reset_cursor=False.
• executemany Type Annotation Fix: Corrected the type annotation for executemany seq_of_parameters parameter to accept Mapping types.
• setup_logging Path Traversal Guard: Added path canonicalization and traversal guard to setup_logging's log_file_path parameter.
Version Updates
• Updated the version number to \1.6.0\ in _init_.py\ and \setup.py\ to reflect the new release.
For a full list of changes and more details, refer to the updated release notes in \PyPI_Description.md.