Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
4be3ad2
Bump python version to 3.12
dwoz Mar 25, 2026
1a7bdf7
Use wheel for attrs to avoid building setuptools-scm
dwoz Mar 26, 2026
c6e85be
Use binary setuptools-scm
dwoz Mar 26, 2026
c0c2b05
Add pluggy to only-binary to avoid setuptools-scm
dwoz Mar 26, 2026
ec03b88
Revert only binary changes
dwoz Mar 26, 2026
6c49fdd
Fix multidict build on macos
dwoz Mar 27, 2026
7e540e8
Update ci deps for python 3.12
dwoz Mar 27, 2026
18c1dfa
Fix ci deps
dwoz Mar 28, 2026
94602b1
more ci fixes
dwoz Mar 28, 2026
3b6005c
Fix Python 3.12 test failures: imp module, assertDictContainsSubset, …
Copilot Apr 4, 2026
20e2abe
Fix Python 3.12 compatibility: remove uses of imp, assertDictContains…
Copilot Apr 4, 2026
e8c4dfb
Fix Python 3.12 compatibility: imp, assertDictContainsSubset, distuti…
Copilot Apr 4, 2026
4de0f3d
Remove changes already fixed in pyversion branch (versions.py, test_z…
Copilot Apr 4, 2026
0e462fc
Fix Python 3.12 pip compatibility: update pip requirement and skip ol…
Copilot Apr 4, 2026
af81c85
Fix black formatting in tests/support/unit.py
Copilot Apr 5, 2026
25cb6b6
Fix Python 3.12 incompatibilities: imp, pkg_resources, utcnow
Copilot Apr 5, 2026
e76bc81
Fix Python 3.12 compatibility issues
dwoz Apr 5, 2026
583b4c3
Fix pylint duplicate string formatting argument warning
dwoz Apr 5, 2026
601443b
Fix Python 3.12 datetime deprecation in test SSL fixtures
dwoz Apr 5, 2026
d422661
Fix Python 3.12 datetime deprecation in test files
dwoz Apr 5, 2026
4f32d6d
Fix Python 3.12 importlib compatibility in test_zypp_plugins
dwoz Apr 6, 2026
fec6d7e
Fix Python 3.12 datetime deprecations and test collection errors
dwoz Apr 6, 2026
5f79464
Fix KeyError in test_pkg.py when osmajorrelease grain is missing
dwoz Apr 6, 2026
5e2e71b
Fix Python 3.12 VirtualEnv pip compatibility
dwoz Apr 6, 2026
65d5d18
Fix winrepo legacy git to return paths instead of booleans
dwoz Apr 6, 2026
0b796f8
Fix Python 3.12 test_thin backports module check
dwoz Apr 7, 2026
dad4ec6
Fix Python 3.12 test stability and logic issues
dwoz Apr 10, 2026
73b3650
Fix Python 3.12 regressions in package tests
dwoz Apr 11, 2026
5ad91ce
Upgrade pyzmq to 27.1.0 for Python 3.13+
dwoz Apr 12, 2026
f197a29
Add Python 3.13 support to CI and Nox configuration
dwoz Apr 12, 2026
57c62d1
Update generated workflows and static requirements
dwoz Apr 12, 2026
65e11bc
Upgrade relenv to 0.22.7 and update CI context
dwoz Apr 13, 2026
351980e
Fix CI build failures: add missing build tools for DEB/RPM and enable…
dwoz Apr 14, 2026
2dd67cc
Add extensive debugging to Windows build scripts
dwoz Apr 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/build-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,10 @@ jobs:
- name: Install build dependencies
run: |
apt-get update -y
# Installing python3.13-venv for Python 3.13 support
apt-get install -y python3.13-venv
# Installing python3.13-venv and python3.13-dev for Python 3.13 support
apt-get install -y python3.13-venv python3.13-dev
# Installing build tools for source compilation of dependencies (e.g. pyzmq)
apt-get install -y cmake g++ pkg-config libssl-dev
# Installing devscripts for source package builds (provides debuild)
apt-get install -y devscripts
# Installing patchelf for relenv ELF binary patching
Expand Down Expand Up @@ -221,6 +223,10 @@ jobs:
- name: Install rpmsign
run: |
dnf install -y rpmsign
if [ "${{ inputs.source }}" == "src" ]; then
# Installing python3-devel and build tools for source compilation of dependencies
dnf install -y python3-devel cmake gcc-c++ pkgconfig openssl-devel
fi

- name: Download Onedir Tarball as an Artifact
if: inputs.source == 'onedir'
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -469,8 +469,8 @@ jobs:
with:
cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
relenv-version: "0.22.4"
python-version: "3.11.14"
relenv-version: "0.22.7"
python-version: "3.13.12"
ci-python-version: "3.11"
matrix: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['build-matrix']) }}
linux_arm_runner: ${{ fromJSON(needs.prepare-workflow.outputs.config)['linux_arm_runner'] }}
Expand All @@ -486,8 +486,8 @@ jobs:
with:
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
relenv-version: "0.22.4"
python-version: "3.11.14"
relenv-version: "0.22.7"
python-version: "3.13.12"
ci-python-version: "3.11"
source: "onedir"
matrix: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['build-matrix']) }}
Expand All @@ -503,8 +503,8 @@ jobs:
with:
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
relenv-version: "0.22.4"
python-version: "3.11.14"
relenv-version: "0.22.7"
python-version: "3.13.12"
ci-python-version: "3.11"
source: "src"
matrix: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['build-matrix']) }}
Expand All @@ -519,10 +519,10 @@ jobs:
with:
nox-session: ci-test-onedir
nox-version: 2022.8.7
python-version: "3.11.14"
python-version: "3.13.12"
ci-python-version: "3.11"
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.11.14
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.13.12
nox-archive-hash: "${{ needs.prepare-workflow.outputs.nox-archive-hash }}"
matrix: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['build-matrix']) }}
linux_arm_runner: ${{ fromJSON(needs.prepare-workflow.outputs.config)['linux_arm_runner'] }}
Expand All @@ -539,7 +539,7 @@ jobs:
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
nox-version: 2022.8.7
ci-python-version: "3.11"
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.11.14
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.13.12
skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.config)['skip_code_coverage'] }}
testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}
matrix: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['pkg-test-matrix']) }}
Expand All @@ -557,7 +557,7 @@ jobs:
ci-python-version: "3.11"
testrun: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['testrun']) }}
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.11.14
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.13.12
skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.config)['skip_code_coverage'] }}
workflow-slug: ci
default-timeout: 180
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,8 @@ jobs:
with:
cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
relenv-version: "0.22.4"
python-version: "3.11.14"
relenv-version: "0.22.7"
python-version: "3.13.12"
ci-python-version: "3.11"
matrix: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['build-matrix']) }}
linux_arm_runner: ${{ fromJSON(needs.prepare-workflow.outputs.config)['linux_arm_runner'] }}
Expand All @@ -481,8 +481,8 @@ jobs:
with:
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
relenv-version: "0.22.4"
python-version: "3.11.14"
relenv-version: "0.22.7"
python-version: "3.13.12"
ci-python-version: "3.11"
source: "onedir"
matrix: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['build-matrix']) }}
Expand All @@ -502,8 +502,8 @@ jobs:
with:
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
relenv-version: "0.22.4"
python-version: "3.11.14"
relenv-version: "0.22.7"
python-version: "3.13.12"
ci-python-version: "3.11"
source: "src"
matrix: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['build-matrix']) }}
Expand All @@ -522,10 +522,10 @@ jobs:
with:
nox-session: ci-test-onedir
nox-version: 2022.8.7
python-version: "3.11.14"
python-version: "3.13.12"
ci-python-version: "3.11"
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.11.14
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.13.12
nox-archive-hash: "${{ needs.prepare-workflow.outputs.nox-archive-hash }}"
matrix: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['build-matrix']) }}
linux_arm_runner: ${{ fromJSON(needs.prepare-workflow.outputs.config)['linux_arm_runner'] }}
Expand All @@ -542,7 +542,7 @@ jobs:
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
nox-version: 2022.8.7
ci-python-version: "3.11"
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.11.14
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.13.12
skip-code-coverage: true
testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}
matrix: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['pkg-test-matrix']) }}
Expand All @@ -560,7 +560,7 @@ jobs:
ci-python-version: "3.11"
testrun: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['testrun']) }}
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.11.14
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.13.12
skip-code-coverage: true
workflow-slug: nightly
default-timeout: 360
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -512,8 +512,8 @@ jobs:
with:
cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
relenv-version: "0.22.4"
python-version: "3.11.14"
relenv-version: "0.22.7"
python-version: "3.13.12"
ci-python-version: "3.11"
matrix: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['build-matrix']) }}
linux_arm_runner: ${{ fromJSON(needs.prepare-workflow.outputs.config)['linux_arm_runner'] }}
Expand All @@ -529,8 +529,8 @@ jobs:
with:
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
relenv-version: "0.22.4"
python-version: "3.11.14"
relenv-version: "0.22.7"
python-version: "3.13.12"
ci-python-version: "3.11"
source: "onedir"
matrix: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['build-matrix']) }}
Expand All @@ -546,8 +546,8 @@ jobs:
with:
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
relenv-version: "0.22.4"
python-version: "3.11.14"
relenv-version: "0.22.7"
python-version: "3.13.12"
ci-python-version: "3.11"
source: "src"
matrix: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['build-matrix']) }}
Expand All @@ -562,10 +562,10 @@ jobs:
with:
nox-session: ci-test-onedir
nox-version: 2022.8.7
python-version: "3.11.14"
python-version: "3.13.12"
ci-python-version: "3.11"
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.11.14
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.13.12
nox-archive-hash: "${{ needs.prepare-workflow.outputs.nox-archive-hash }}"
matrix: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['build-matrix']) }}
linux_arm_runner: ${{ fromJSON(needs.prepare-workflow.outputs.config)['linux_arm_runner'] }}
Expand All @@ -582,7 +582,7 @@ jobs:
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
nox-version: 2022.8.7
ci-python-version: "3.11"
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.11.14
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.13.12
skip-code-coverage: true
testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}
matrix: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['pkg-test-matrix']) }}
Expand All @@ -600,7 +600,7 @@ jobs:
ci-python-version: "3.11"
testrun: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['testrun']) }}
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.11.14
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.13.12
skip-code-coverage: true
workflow-slug: scheduled
default-timeout: 360
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -496,8 +496,8 @@ jobs:
with:
cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
relenv-version: "0.22.4"
python-version: "3.11.14"
relenv-version: "0.22.7"
python-version: "3.13.12"
ci-python-version: "3.11"
matrix: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['build-matrix']) }}
linux_arm_runner: ${{ fromJSON(needs.prepare-workflow.outputs.config)['linux_arm_runner'] }}
Expand All @@ -514,8 +514,8 @@ jobs:
with:
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
relenv-version: "0.22.4"
python-version: "3.11.14"
relenv-version: "0.22.7"
python-version: "3.13.12"
ci-python-version: "3.11"
source: "onedir"
matrix: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['build-matrix']) }}
Expand All @@ -536,8 +536,8 @@ jobs:
with:
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
relenv-version: "0.22.4"
python-version: "3.11.14"
relenv-version: "0.22.7"
python-version: "3.13.12"
ci-python-version: "3.11"
source: "src"
matrix: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['build-matrix']) }}
Expand All @@ -556,10 +556,10 @@ jobs:
with:
nox-session: ci-test-onedir
nox-version: 2022.8.7
python-version: "3.11.14"
python-version: "3.13.12"
ci-python-version: "3.11"
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.11.14
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.13.12
nox-archive-hash: "${{ needs.prepare-workflow.outputs.nox-archive-hash }}"
matrix: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['build-matrix']) }}
linux_arm_runner: ${{ fromJSON(needs.prepare-workflow.outputs.config)['linux_arm_runner'] }}
Expand All @@ -576,7 +576,7 @@ jobs:
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
nox-version: 2022.8.7
ci-python-version: "3.11"
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.11.14
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.13.12
skip-code-coverage: true
testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}
matrix: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['pkg-test-matrix']) }}
Expand All @@ -594,7 +594,7 @@ jobs:
ci-python-version: "3.11"
testrun: ${{ toJSON(fromJSON(needs.prepare-workflow.outputs.config)['testrun']) }}
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.11.14
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.13.12
skip-code-coverage: true
workflow-slug: staging
default-timeout: 180
Expand Down
4 changes: 2 additions & 2 deletions cicd/shared-gh-workflows-context.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

# Tool versions
nox_version: "2022.8.7"
python_version: "3.11.14"
relenv_version: "0.22.4"
python_version: "3.13.12"
relenv_version: "0.22.7"
release_branches:
- "3006.x"
- "3007.x"
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
else:
ONEDIR_PYTHON_PATH = ONEDIR_ARTIFACT_PATH / "bin" / "python3"
# Python versions to run against
_PYTHON_VERSIONS = ("3", "3.8", "3.9", "3.10", "3.11")
_PYTHON_VERSIONS = ("3", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13")

# Nox options
# Reuse existing virtualenvs
Expand Down
2 changes: 1 addition & 1 deletion pkg/macos/install_salt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ fi
# Install Requirements into the Python Environment
#-------------------------------------------------------------------------------
_msg "Installing Salt requirements"
$PIP_BIN install -r "$REQ_FILE" > /dev/null 2>&1
CFLAGS="${CFLAGS} -Wno-int-conversion" $PIP_BIN install -r "$REQ_FILE" > /dev/null 2>&1
if [ -f "$BUILD_DIR/bin/distro" ]; then
_success
else
Expand Down
22 changes: 15 additions & 7 deletions pkg/windows/install_salt.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 +122,16 @@ if ( ! $SkipInstall ) {
#-------------------------------------------------------------------------------
# Installing dependencies
#-------------------------------------------------------------------------------
Write-Host "Installing dependencies: " -NoNewline
Start-Process -FilePath $SCRIPTS_DIR\pip3.exe `
Write-Host "Installing dependencies from $SALT_DEPS"
$pipProcess = Start-Process -FilePath $SCRIPTS_DIR\pip3.exe `
-ArgumentList "install", "-r", "$SALT_DEPS", "-U" `
-WorkingDirectory "$PROJECT_DIR" `
-Wait -WindowStyle Hidden
-Wait -PassThru
Write-Host "Pip process exited with code: $($pipProcess.ExitCode)"
if ( Test-Path -Path "$SCRIPTS_DIR\distro.exe" ) {
Write-Result "Success" -ForegroundColor Green
} else {
Write-Host "distro.exe not found in $SCRIPTS_DIR" -ForegroundColor Red
Write-Result "Failed" -ForegroundColor Red
exit 1
}
Expand Down Expand Up @@ -161,22 +163,28 @@ if ( ! (Test-Path -Path "$SCRIPTS_DIR\wmitest*") ) {
$dlls = "pythoncom$($PY_MAJOR_VERSION)$($PY_MINOR_VERSION).dll",
"pywintypes$($PY_MAJOR_VERSION)$($PY_MINOR_VERSION).dll"
$dlls | ForEach-Object {
$sourcePath = "$SITE_PKGS_DIR\pywin32_system32\$_"
if ( -not ( Test-Path -Path "$sourcePath" ) ) {
Write-Host "Source DLL not found: $sourcePath" -ForegroundColor Yellow
}
if ( -not ( Test-Path -Path "$SCRIPTS_DIR\$_" ) ) {
Write-Host "Copying $_ to Scripts: " -NoNewline
Copy-Item "$SITE_PKGS_DIR\pywin32_system32\$_" "$SCRIPTS_DIR" -Force | Out-Null
Copy-Item "$sourcePath" "$SCRIPTS_DIR" -Force | Out-Null
if ( Test-Path -Path "$SCRIPTS_DIR\$_") {
Write-Result "Success" -ForegroundColor Green
} else {
Write-Host "Failed to copy $_ to $SCRIPTS_DIR" -ForegroundColor Red
Write-Result "Failed" -ForegroundColor Red
exit 1
}
}
if ( -not ( Test-Path -Path "$SITE_PKGS_DIR\win32\$_" ) ) {
Write-Host "Moving $_ to win32: " -NoNewline
Copy-Item "$SITE_PKGS_DIR\pywin32_system32\$_" "$SITE_PKGS_DIR\win32" -Force | Out-Null
Write-Host "Copying $_ to win32: " -NoNewline
Copy-Item "$sourcePath" "$SITE_PKGS_DIR\win32" -Force | Out-Null
if ( Test-Path -Path "$SITE_PKGS_DIR\win32\$_" ) {
Write-Result "Success" -ForegroundColor Green
} else {
Write-Host "Failed to copy $_ to $SITE_PKGS_DIR\win32" -ForegroundColor Red
Write-Result "Failed" -ForegroundColor Red
exit 1
}
Expand Down Expand Up @@ -256,7 +264,7 @@ if ( ! $SkipInstall ) {
Start-Process -FilePath $SCRIPTS_DIR\pip3.exe `
-ArgumentList "install", $InstallPath `
-WorkingDirectory "$PROJECT_DIR" `
-Wait -WindowStyle Hidden
-Wait
} finally {
Remove-Item env:\RELENV_PIP_DIR
}
Expand Down
6 changes: 4 additions & 2 deletions pkg/windows/prep_salt.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -95,18 +95,20 @@ Write-Host $("-" * 80)
# Verify Environment
#-------------------------------------------------------------------------------

Write-Host "Verifying Python Build: " -NoNewline
Write-Host "Verifying Python Build at $PYTHON_BIN: " -NoNewline
if ( Test-Path -Path "$PYTHON_BIN" ) {
Write-Result "Success" -ForegroundColor Green
} else {
Write-Host "python.exe not found at $PYTHON_BIN" -ForegroundColor Red
Write-Result "Failed" -ForegroundColor Red
exit 1
}

Write-Host "Verifying Salt Installation: " -NoNewline
Write-Host "Verifying Salt Installation at $BUILD_DIR\salt-minion.exe: " -NoNewline
if ( Test-Path -Path "$BUILD_DIR\salt-minion.exe" ) {
Write-Result "Success" -ForegroundColor Green
} else {
Write-Host "salt-minion.exe not found at $BUILD_DIR\salt-minion.exe" -ForegroundColor Red
Write-Result "Failed" -ForegroundColor Red
exit 1
}
Expand Down
Loading
Loading