Skip to content

Commit

Permalink
Removed forced upgrade for PIP packages and removed outdated folder c…
Browse files Browse the repository at this point in the history
…leanup command
  • Loading branch information
DCMattyG committed Sep 3, 2024
1 parent 2e1525d commit cdac5f9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tools/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -198,15 +198,12 @@ try {

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

# Remove package directory if it exists
Remove-Item -Path TEMP:\packages -Recurse -Force -ErrorAction SilentlyContinue

# Create temporary directory for PIP packages
$packageDir = New-Item -ItemType Directory -Path (Join-Path -Path $tempFolder -ChildPath "packages")

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

# Switch back to original dir
Expand Down

0 comments on commit cdac5f9

Please sign in to comment.