FEAT: Add mssql-python-rust-odbc packaging for the Rust ODBC provider - #738
Draft
gargsaumya wants to merge 5 commits into
Draft
FEAT: Add mssql-python-rust-odbc packaging for the Rust ODBC provider#738gargsaumya wants to merge 5 commits into
gargsaumya wants to merge 5 commits into
Conversation
- New mssql_python_rust_odbc package + setup_rust_odbc.py, building platform-specific wheels from the committed libs/ binaries (mirrors setup_odbc.py / mssql_python_odbc). - eng/scripts/sync-mssql-odbc-native-libs.py vendors the binaries from the mssql-odbc-native NuGet package (mssql-rs); eng/versions pins the version. - setup.py: opt-in 'rust-odbc' extras_require, excluded from find_packages (no stable mssql-odbc-native release yet, so this is structural only). - tests/test_026_odbc_provider.py: smoke test loading the real packaged binary via the native loader.
gargsaumya
marked this pull request as ready for review
September 2, 2026 08:27
gargsaumya
marked this pull request as draft
September 2, 2026 08:28
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
Adds the mssql-python-rust-odbc packaging pipeline: a standalone mssql_python_rust_odbc package and setup_rust_odbc.py that build a platform-specific wheel shipping the mssql-odbc (Rust) driver binaries, mirroring the existing mssql-python-odbc classic-driver packaging. Adds eng/scripts/sync-mssql-odbc-native-libs.py to vendor binaries from the mssql-odbc-native NuGet package published by mssql-rs, wires an opt-in rust-odbc extra into setup.py (structural only -- no stable mssql-odbc-native release exists yet), and adds a smoke test loading the real packaged binary through the native loader.
Stacked on #730 (provider selection mechanism) -- depends on it; base branch is saumya/rust-odbc-optin, not main.
Changes
Testing