Skip to content

FIX: Revert "RELEASE: mssql-python-odbc 18.6.2.2" - #815

Closed
gargsaumya wants to merge 1 commit into
mainfrom
revert-807-jahnvi/release-odbc-18-6-2-2
Closed

gargsaumya wants to merge 1 commit into
mainfrom
revert-807-jahnvi/release-odbc-18-6-2-2

Conversation

@gargsaumya

Copy link
Copy Markdown
Contributor

Reverts #807

Copilot AI lite review requested due to automatic review settings September 24, 2026 14:47
@github-actions

github-actions Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

PR Performance Report

Performance could not be assessed.

Pull request closed before assessment completed. No result is available.

@gargsaumya gargsaumya changed the title Revert "RELEASE: mssql-python-odbc 18.6.2.2" FIX: Revert "RELEASE: mssql-python-odbc 18.6.2.2" Sep 24, 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.

Copilot review overview

🟡 Changes recommended

Fix the macOS version parser to accept the packaging-revision component.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity

Open (1)
What changed in this PR

Reverts the ODBC companion package release from 18.6.2.2 to 18.6.2.1.

Changes:

  • Restores package metadata, documentation, and test expectations.
  • Updates macOS dylib version parsing.
  • The parsing regex does not accept 18.6.2.1, causing the macOS build to exit before configuration.
File Summary
tests/​test_026_odbc_provider.py Restores the expected ODBC version.
README.md Restores 18.6.2.1 documentation.
mssql_python/​pybind/​configure_dylibs.sh Parses the ODBC driver version; currently fails for 18.6.2.1.
mssql_python_odbc/​__init__.py Restores package version metadata.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

fi

DRIVER_MAJOR=$(sed -nE "s/^__version__[[:space:]]*=[[:space:]]*['\"]([0-9]+)\.[0-9]+\.[0-9]+(\.[0-9]+)?['\"].*/\1/p" "$ODBC_VERSION_FILE" | head -1)
DRIVER_MAJOR=$(sed -nE "s/^__version__[[:space:]]*=[[:space:]]*['\"]([0-9]+)\.[0-9]+\.[0-9]+['\"].*/\1/p" "$ODBC_VERSION_FILE" | head -1)
@github-actions

Copy link
Copy Markdown

📊 Code Coverage Report

🔥 Diff Coverage

100%


🎯 Overall Coverage

84%


📈 Total Lines Covered: 9229 out of 10895
📁 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.performance_counter.hpp: 0.7%
mssql_python.pybind.logger_bridge.cpp: 57.9%
mssql_python.pybind.ddbc_bindings.h: 64.1%
mssql_python.pybind.logger_bridge.hpp: 70.8%
mssql_python.pybind.ddbc_bindings.cpp: 78.7%
mssql_python.pybind.connection.connection_pool.cpp: 82.3%
mssql_python.pybind.connection.connection.cpp: 83.1%
mssql_python.logging.py: 86.2%
mssql_python.pooling.py: 90.1%
mssql_python.pybind.fetch_temporal.hpp: 92.1%

🔗 Quick Links

⚙️ Build Summary 📋 Coverage Details

View Azure DevOps Build

Browse Full Coverage Report

@gargsaumya gargsaumya closed this Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants