Skip to content

Conversation

@bewithgaurav
Copy link
Collaborator

@bewithgaurav bewithgaurav commented Nov 18, 2025

Work Item / Issue Reference

AB#40559


Summary

This pull request prepares the codebase and release engineering for the General Availability (GA) release of mssql-python version 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

  • Updated the package version to 1.0.0 in both setup.py and the __init__.py file, marking the GA release. [1] [2]
  • Revised the PyPI description to announce GA status, highlight Python 3.14 support, and remove preview/breaking change notes. [1] [2]

Build and Pipeline Enhancements

  • Enabled Python 3.14 builds for Windows (x64, arm64), macOS, and Linux in build-release-package-pipeline.yml and ensured all pipeline stages include Python 3.14. [1] [2] [3] [4] [5]

…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
#### 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
Copilot AI review requested due to automatic review settings November 18, 2025 15:55
@github-actions github-actions bot added the pr-size: medium Moderate update size label Nov 18, 2025
Copilot finished reviewing on behalf of bewithgaurav November 18, 2025 15:58
Copy link
Contributor

Copilot AI left a 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 packageVersion parameter (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.

@github-actions
Copy link

github-actions bot commented Nov 18, 2025

📊 Code Coverage Report

🔥 Diff Coverage

100%


🎯 Overall Coverage

77%


📈 Total Lines Covered: 5065 out of 6537
📁 Project: mssql-python


Diff Coverage

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

  • mssql_python/init.py (100%)

Summary

  • Total: 1 line
  • Missing: 0 lines
  • Coverage: 100%

📋 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

⚙️ Build Summary 📋 Coverage Details

View Azure DevOps Build

Browse Full Coverage Report

@github-actions github-actions bot added pr-size: small Minimal code update and removed pr-size: medium Moderate update size labels Nov 18, 2025
@bewithgaurav bewithgaurav merged commit da875a7 into main Nov 18, 2025
25 checks passed
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.

6 participants