Skip to content

Commit cdac5f9

Browse files
committed
Removed forced upgrade for PIP packages and removed outdated folder cleanup command
1 parent 2e1525d commit cdac5f9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tools/build.ps1

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,15 +198,12 @@ try {
198198

199199
Write-Host "INFO: Running PIP install..." -ForegroundColor Green
200200

201-
# Remove package directory if it exists
202-
Remove-Item -Path TEMP:\packages -Recurse -Force -ErrorAction SilentlyContinue
203-
204201
# Create temporary directory for PIP packages
205202
$packageDir = New-Item -ItemType Directory -Path (Join-Path -Path $tempFolder -ChildPath "packages")
206203

207204
# Fetch Azure IPAM Engine modules
208205
$pipInstallErr = $(
209-
$pipInstall = pip install --upgrade -r requirements.lock.txt --target $packageDir.FullName --no-warn-script-location --progress-bar off
206+
$pipInstall = pip install -r requirements.lock.txt --target $packageDir.FullName --no-warn-script-location --progress-bar off
210207
) 2>&1
211208

212209
# Switch back to original dir

0 commit comments

Comments
 (0)