-
Notifications
You must be signed in to change notification settings - Fork 35
FEAT: Integrate mssql_py_core wheel installation into Dev workflow PR validation, official and release pipelines #440
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
Open
saurabh500
wants to merge
35
commits into
main
Choose a base branch
from
dev/saurabh/integrate-mssql-py-core
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+886
−16
Open
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
e0d975c
Add mssql_py_core wheel installation to PR validation pipeline
saurabh500 6cc5756
Fix Alpine compatibility: detect musl libc and skip gracefully when n…
saurabh500 cbef84a
Fail hard when no compatible wheel is found
saurabh500 3829c5f
Fix musl detection on Alpine for mssql_py_core install
saurabh500 389ca38
Add mssql_py_core repackaging into mssql-python wheels
saurabh500 c5544f0
Block Official builds from using dev/nightly mssql-py-core versions
saurabh500 67da099
Add bulkcopy test, rewrite install scripts, make setup.py validate-only
saurabh500 d9ad17e
Merge branch 'main' of https://github.com/microsoft/mssql-python into…
saurabh500 9b29902
REF: Remove mssql_py_core repackaging steps and update package instal…
saurabh500 2381b4a
FEAT: Enhance connstr_to_pycore_params to handle boolean parameters f…
saurabh500 4c3bf62
REF: Clean up whitespace in bulkcopy integration tests for improved r…
saurabh500 610a6cb
REF: Update installation scripts to clarify skipped files and update …
saurabh500 3b185e3
REF: Update platform tagging for Linux wheels in installation scripts
saurabh500 fcc6852
REF: Update manylinux tag versions in platform info and installation …
saurabh500 a82eb05
BUMP: Update version to 0.1.0-dev.20260221.140717
saurabh500 73b2adb
BUMP: Update version to 0.1.0-dev.20260221.140732
saurabh500 63fe2c8
REF: Update manylinux version and install mssql_py_core in build stages
saurabh500 9f0137c
BUMP: Update version to 0.1.0-dev.20260222.140833
saurabh500 3cb5b66
REF: Remove unused boolean key handling in connection string paramete…
saurabh500 95797fa
Add installation step for mssql_py_core from NuGet wheels
saurabh500 a5d1b8b
REF: Improve mssql_py_core validation and error handling in setup.py
saurabh500 4b8fb4a
Refactor Python command usage in build scripts to use 'python' instea…
saurabh500 f48e325
Refactor install-mssql-py-core.sh into functions with extracted Pytho…
saurabh500 a790860
Refactor install-mssql-py-core.ps1 into functions, reuse extract_whee…
saurabh500 257db01
Refactor mssql_py_core installation steps to use a template for consi…
saurabh500 7fd968e
Enhance documentation for NuGet feed resolution in scripts to clarify…
saurabh500 3f34603
Update platform tags for manylinux compatibility in get_platform_info…
saurabh500 faf381e
Update Docker image tag for manylinux compatibility in build script
saurabh500 ca28c48
Refactor artifact consolidation and version validation in pipelines
saurabh500 6a81cf5
Add version file download and validation for mssql-py-core in release…
saurabh500 ff1ac61
Add glibc version check for mssql_py_core import verification
saurabh500 a11f322
Add runtime check for mssql_py_core loading in bulkcopy tests
saurabh500 295bd57
Add version validation for mssql-py-core in release pipelines
saurabh500 7104581
Refactor comments for clarity and improve formatting in bulkcopy tests
saurabh500 8a6e7d3
Merge branch 'main' into dev/saurabh/integrate-mssql-py-core
gargsaumya File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| # Copyright (c) Microsoft Corporation. | ||
| # Licensed under the MIT License. | ||
|
|
||
| <# | ||
| .SYNOPSIS | ||
| Validates that a version file contains a stable (non-prerelease) version. | ||
|
|
||
| .DESCRIPTION | ||
| Reads a single .version file and rejects any version containing | ||
| dev, alpha, beta, or rc tags. Intended to gate official releases. | ||
|
|
||
| .PARAMETER VersionFile | ||
| Path to a .version file. Defaults to eng/versions/mssql-py-core.version | ||
| relative to the repository root. | ||
|
|
||
| .EXAMPLE | ||
| # Run from repo root (uses default path): | ||
| .\eng\scripts\validate-release-versions.ps1 | ||
|
|
||
| # Explicit path: | ||
| .\eng\scripts\validate-release-versions.ps1 -VersionFile C:\work\mssql-python\eng\versions\mssql-py-core.version | ||
| #> | ||
|
|
||
| param( | ||
| [string]$VersionFile | ||
| ) | ||
|
|
||
| $ErrorActionPreference = 'Stop' | ||
|
|
||
| if (-not $VersionFile) { | ||
| $repoRoot = (Resolve-Path "$PSScriptRoot\..\..").Path | ||
| $VersionFile = Join-Path $repoRoot 'eng\versions\mssql-py-core.version' | ||
| } | ||
|
|
||
| if (-not (Test-Path $VersionFile)) { | ||
| Write-Error "Version file not found: $VersionFile" | ||
| exit 1 | ||
| } | ||
|
|
||
| $version = (Get-Content $VersionFile -Raw).Trim() | ||
| $name = [System.IO.Path]::GetFileNameWithoutExtension($VersionFile) | ||
|
|
||
| if ($version -match '(dev|alpha|beta|rc)') { | ||
| Write-Host "FAIL: $name version '$version' is a pre-release ($($Matches[1]))" -ForegroundColor Red | ||
| Write-Error "$name version is pre-release. Official releases require stable versions." | ||
| exit 1 | ||
| } | ||
|
|
||
| Write-Host "OK: $name version '$version'" -ForegroundColor Green |
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
noice, this is a good idea
we might need to start templating pr-validation further and parametrizing plat-specific commands into them