File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 8686
8787 - pwsh : |
8888 mkdir -p $(TEST_PROXY_FOLDER)
89- python -m pip install -r eng/regression_tools.txt
89+ $(PIP_EXE) install -r eng/regression_tools.txt
9090 displayName: 'Prep Environment'
9191
9292 - template : /eng/common/testproxy/test-proxy-tool.yml
Original file line number Diff line number Diff line change @@ -161,19 +161,21 @@ function Get-AllPackageInfoFromRepo ($serviceDirectory)
161161 $allPkgPropLines = $null
162162 try
163163 {
164+ $pathToBuild = (Join-Path $RepoRoot " tools" " azure-sdk-tools[build]" )
164165 # Use ‘uv pip install’ if uv is on PATH, otherwise fall back to python -m pip
165166 if (Get-Command uv - ErrorAction SilentlyContinue) {
166167 Write-Host " Using uv pip install"
167- $null = uv pip install " ./tools/azure-sdk-tools[build] "
168+ $null = uv pip install " $pathToBuild "
168169 $freezeOutput = uv pip freeze
169170 Write-Host " Pip freeze output: $freezeOutput "
170171 } else {
171172 Write-Host " Using python -m pip install"
172- $null = python - m pip install " ./tools/azure-sdk-tools[build] " - q - I
173+ $null = python - m pip install " $pathToBuild " - q - I
173174 }
174175
175- Write-Host " Running get_package_properties.py to retrieve package properties"
176- $allPkgPropLines = python (Join-path eng scripts get_package_properties.py) - s $searchPath
176+ $scriptLoc = Join-path $RepoRoot eng scripts get_package_properties.py
177+ Write-Host " Running '$scriptLoc ' to retrieve package properties"
178+ $allPkgPropLines = python " $scriptLoc " - s " $ ( Join-Path $RepoRoot $searchPath ) "
177179 }
178180 catch
179181 {
You can’t perform that action at this time.
0 commit comments