-
Notifications
You must be signed in to change notification settings - Fork 27
RELEASE: 1.0.0 #336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RELEASE: 1.0.0 #336
Conversation
Co-authored-by: David Engel <[email protected]>
Syncing Github main to ADO main Related work items: #38037
…rosoft/mssql-python into bewithgaurav/publish_symbols
…Support, Security Compliance & Test Infrastructure #### AI description (iteration 1) #### PR Classification This PR modernizes the build pipeline to support multi-platform builds with enhanced security compliance and improved test isolation. #### PR Summary The changes update and refine the CI/CD pipeline infrastructure across Windows, Linux, and macOS to enable versioned support, integrated security scanning, and isolated testing. - **`build-release-package-pipeline.yml`**: Revised template extensions and parameterization to drive cross-platform builds and enforce comprehensive SDL security scanning. - **`build-linux-single-stage.yml`**: Introduced SQL Server container startup with robust looping for building and testing wheels (now including Python 3.14) to ensure isolated validations. - **`build-windows-single-stage.yml`**: Added NuGet-based installation for Python 3.14 along with enhanced build, testing, and security scanning configurations for production-grade compliance. - **`build-macos-single-stage.yml`**: Updated the universal2 binary build process with Colima-based Docker setup for SQL Server testing and integrated additional security and artifact publishing steps. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot --> Related work items: #40501
#### AI description (iteration 1) #### PR Classification This pull request is a release update that introduces new features, bug fixes, and a breaking change. #### PR Summary The release notes for version 0.14.0 have been updated to highlight significant performance improvements, enhanced functionality, and critical bug fixes, and the project version has been bumped accordingly. - `PyPI_Description.md`: Updated the release documentation to include new features (faster fetching, connection string validation, enhanced DECIMAL precision, comprehensive logging, connection attribute control, XML support) along with bug fixes and a breaking change on connection string validation. - `setup.py`: Updated the version number from 0.13.1 to 0.14.0. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot --> Related work items: #40507
#### AI description (iteration 1) #### PR Classification This PR performs a cleanup of release pipeline configurations by removing redundant parameters and standardizing log output. #### PR Summary The PR streamlines the YAML definitions for both dummy and official release pipelines by eliminating duplicate package version parameters and variables, updating default settings, and standardizing logging messages. - `OneBranchPipelines/dummy-release-pipeline.yml`: Removed the redundant `packageVersion` parameter and its associated variables, changed the default `publishSymbols` value to `false`, and cleaned up logging statements by removing extra formatting and version printouts. - `OneBranchPipelines/official-release-pipeline.yml`: Eliminated duplicate package version parameters and variables, and refined logging in release and dry run scripts by removing version messages and excess formatting. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot --> Related work items: #40517
…l-python/_git/mssql-python into bewithgaurav/official-release-pipeline
#### AI description (iteration 1) #### PR Classification This pull request is a bug fix that corrects the dummy release pipeline configuration to default to a non-official setup. #### PR Summary The changes update the dummy release pipeline to extend a non-official template and remove outdated TSA settings, ensuring consistency with the refactored release pipelines and preventing accidental production configurations. - In `OneBranchPipelines/dummy-release-pipeline.yml`, the extension is switched from the official template (`v2/OneBranch.Official.CrossPlat.yml`) to the non-official template (`v2/OneBranch.NonOfficial.CrossPlat.yml`). - In `OneBranchPipelines/dummy-release-pipeline.yml`, TSA configuration settings have been removed. - In `OneBranchPipelines/dummy-release-pipeline.yml`, header comments and descriptions were updated to accurately reflect the non-official, testing-only nature of this pipeline. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot --> Related work items: #40517
…l-python/_git/mssql-python into bewithgaurav/official-release-pipeline
There was a problem hiding this comment.
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 prepares the mssql-python codebase for its General Availability (GA) release as version 1.0.0, transitioning from preview status to production-ready. The changes ensure the package, documentation, and build infrastructure properly reflect this milestone and add support for Python 3.14 across all platforms.
Key changes include:
- Version bump from 0.14.0 to 1.0.0 in setup.py and addition of
__version__in__init__.py - PyPI description rewritten to announce GA status, highlight Python 3.14 support, and remove preview warnings
- Build pipelines updated to include Python 3.14 for Windows (x64/ARM64), macOS, and Linux
- Release pipeline parameters simplified by removing redundant
packageVersionparameter (version now sourced solely from setup.py) - Dummy release pipeline corrected to use NonOfficial template instead of Official template
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| setup.py | Updated package version from 0.14.0 to 1.0.0 |
| mssql_python/init.py | Added __version__ = "1.0.0" for runtime version access |
| PyPI_Description.md | Rewrote description for GA release, highlighting Python 3.14 support and removing preview status warnings |
| OneBranchPipelines/stages/build-linux-single-stage.yml | Added cp314 (Python 3.14) to Linux build loop |
| OneBranchPipelines/official-release-pipeline.yml | Removed redundant packageVersion parameter and associated variables, simplified output messaging |
| OneBranchPipelines/dummy-release-pipeline.yml | Corrected to use NonOfficial template, removed packageVersion parameter, changed default publishSymbols to false, removed TSA configuration |
| OneBranchPipelines/build-release-package-pipeline.yml | Enabled Python 3.14 builds for Windows x64/ARM64 and macOS platforms, added to aggregation stage dependencies |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
📊 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.helpers.py: 66.6%
mssql_python.row.py: 67.4%
mssql_python.pybind.ddbc_bindings.cpp: 70.4%
mssql_python.pybind.connection.connection.cpp: 76.3%
mssql_python.ddbc_bindings.py: 79.6%
mssql_python.pybind.connection.connection_pool.cpp: 79.6%
mssql_python.pybind.ddbc_bindings.h: 79.7%
mssql_python.connection.py: 82.5%
mssql_python.cursor.py: 83.6%🔗 Quick Links
|
Work Item / Issue Reference
Summary
This pull request prepares the codebase and release engineering for the General Availability (GA) release of
mssql-pythonversion 1.0.0. The most significant changes include updating the version to 1.0.0, adding support for Python 3.14 across all build and release pipelines, and revising documentation and pipeline configurations to reflect the GA status and new compatibility.Release and Versioning Updates
1.0.0in bothsetup.pyand the__init__.pyfile, marking the GA release. [1] [2]Build and Pipeline Enhancements
build-release-package-pipeline.ymland ensured all pipeline stages include Python 3.14. [1] [2] [3] [4] [5]