@@ -413,11 +413,11 @@ jobs:
413413 echo "Installing depthai==$ver using $(python -V)"
414414
415415 # Get the name of the one file in bindings/python/wheelhouse/audited
416- wheel_name =$(ls bindings/python/wheelhouse/audited/*.whl)
416+ wheel =$(ls bindings/python/wheelhouse/audited/*.whl)
417417
418418 # Install wheel
419419 python -m pip install -U pip
420- python -m pip install --force-reinstall bindings/python/wheelhouse/audited/$wheel_name
420+ python -m pip install --force-reinstall $wheel
421421
422422 EXPECTED_VERSION="$ver" python bindings/python/ci/smoke_depthai.py
423423
@@ -540,11 +540,11 @@ jobs:
540540 echo "Installing depthai==$ver using $($PYBIN -V)"
541541
542542 # Get the name of the one file in bindings/python/wheelhouse/audited
543- wheel_name =$(ls bindings/python/wheelhouse/audited/*.whl)
543+ wheel =$(ls bindings/python/wheelhouse/audited/*.whl)
544544
545545 "$PYBIN" -m ensurepip --upgrade || true
546546 "$PYBIN" -m pip install -U pip
547- "$PYBIN" -m pip install --force-reinstall bindings/python/wheelhouse/audited/$wheel_name
547+ "$PYBIN" -m pip install --force-reinstall $wheel
548548
549549 # Smoke test: fail hard on any exception or version mismatch
550550 EXPECTED_VERSION="$ver" python bindings/python/ci/smoke_depthai.py
@@ -670,12 +670,12 @@ jobs:
670670 echo "Installing depthai==$ver using $($PYBIN -V)"
671671
672672 # Get the name of the one file in bindings/python/wheelhouse/audited
673- wheel_name =$(ls bindings/python/wheelhouse/audited/*.whl)
673+ wheel =$(ls bindings/python/wheelhouse/audited/*.whl)
674674
675675 # Install from Artifactory snapshot
676676 "$PYBIN" -m ensurepip --upgrade || true
677677 "$PYBIN" -m pip install -U pip
678- "$PYBIN" -m pip install --force-reinstall bindings/python/wheelhouse/audited/$wheel_name
678+ "$PYBIN" -m pip install --force-reinstall $wheel
679679
680680 EXPECTED_VERSION="$ver" "$PYBIN" bindings/python/ci/smoke_depthai.py
681681
@@ -729,14 +729,14 @@ jobs:
729729 Write-Host "Installing depthai==$ver using:"; python -VV
730730
731731 # Get the name of the one file in bindings/python/wheelhouse/audited
732- wheel_name=$(ls bindings/python/wheelhouse/audited/*.whl)
732+ $ wheel_name = (Get-ChildItem bindings/python/wheelhouse/audited/*.whl).Name
733733
734734 # Install from Artifactory snapshot
735735 python -m pip install -U pip
736736 python -m pip install --force-reinstall bindings/python/wheelhouse/audited/$wheel_name
737737
738738 # Smoke test (no heredoc; YAML-safe). Fail on import error or version mismatch.
739- $env:EXPECTED_VERSION = $ver " python bindings/python/ci/smoke_depthai.py
739+ $env:EXPECTED_VERSION = $ver python bindings/python/ci/smoke_depthai.py
740740 release :
741741 if : startsWith(github.ref, 'refs/tags/v')
742742 # needs: [pytest, build-linux-armhf, build-windows-x86_64, build-macos-x86_64, build-macos-arm64, build-linux-x86_64, build-linux-arm64]
0 commit comments