Commit bef6ed8
FEAT: Download Windows Python ARM64 Libs from Nuget during Build (#327)
### Work Item / Issue Reference
<!--
IMPORTANT: Please follow the PR template guidelines below.
For mssql-python maintainers: Insert your ADO Work Item ID below (e.g.
AB#37452)
For external contributors: Insert Github Issue number below (e.g. #149)
Only one reference is required - either GitHub issue OR ADO Work Item.
-->
<!-- mssql-python maintainers: ADO Work Item -->
>
[AB#40402](https://sqlclientdrivers.visualstudio.com/c6d89619-62de-46a0-8b46-70b92a84d85e/_workitems/edit/40402)
<!-- External contributors: GitHub Issue -->
> GitHub Issue: #<ISSUE_NUMBER>
-------------------------------------------------------------------
### Summary
<!-- Insert your summary of changes below. Minimum 10 characters
required. -->
This pull request updates the process for retrieving ARM64 Python
libraries in the Windows build pipeline. Instead of downloading a
pre-built pipeline artifact, it now downloads the appropriate Python
ARM64 NuGet package, extracts the required `.lib` files, and validates
their presence. This change makes the build process more self-contained
and less dependent on internal artifacts.
**Build pipeline changes:**
* Replaced the `DownloadPipelineArtifact@2` task with a PowerShell
script that downloads the correct Python ARM64 NuGet package based on
the specified Python version, extracts its contents, and copies the
required `.lib` files to the target directory.
* The script includes validation to ensure the expected `.lib` file is
present and provides cleanup for temporary files and directories.
**Process improvement:**
* The build is now independent of internal pipeline artifacts and relies
on public NuGet packages, improving reliability and maintainability.
---------
Co-authored-by: David Engel <dengel1012@gmail.com>
Co-authored-by: MerlinBot <MerlinBot>
Co-authored-by: Saurabh Singh (SQL Drivers) <saurabh.singh@microsoft.com>1 parent b9bba24 commit bef6ed8
1 file changed
+62
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
93 | 153 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 154 | + | |
102 | 155 | | |
103 | 156 | | |
104 | 157 | | |
| |||
0 commit comments