From 68a4b2e4e46f6664980f0f96d3b9a68ba7198eb7 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Tue, 2 May 2023 19:28:24 +0200 Subject: GitHub Actions: do not install six in CI (#37361) * GitHub Actions: do not install six in CI * Remove workflow code that was commented out * Remove any use of "six" from packages --- .github/workflows/windows_python.yml | 81 ++---------------------------------- 1 file changed, 3 insertions(+), 78 deletions(-) (limited to '.github/workflows/windows_python.yml') diff --git a/.github/workflows/windows_python.yml b/.github/workflows/windows_python.yml index 92ac3b2f52..33c2d17db5 100644 --- a/.github/workflows/windows_python.yml +++ b/.github/workflows/windows_python.yml @@ -23,7 +23,7 @@ jobs: python-version: 3.9 - name: Install Python packages run: | - python -m pip install --upgrade pip six pywin32 setuptools pytest-cov clingo + python -m pip install --upgrade pip pywin32 setuptools pytest-cov clingo - name: Create local develop run: | ./.github/workflows/setup_git.ps1 @@ -47,7 +47,7 @@ jobs: python-version: 3.9 - name: Install Python packages run: | - python -m pip install --upgrade pip six pywin32 setuptools coverage pytest-cov clingo + python -m pip install --upgrade pip pywin32 setuptools coverage pytest-cov clingo - name: Create local develop run: | ./.github/workflows/setup_git.ps1 @@ -71,85 +71,10 @@ jobs: python-version: 3.9 - name: Install Python packages run: | - python -m pip install --upgrade pip six pywin32 setuptools coverage + python -m pip install --upgrade pip pywin32 setuptools coverage - name: Build Test run: | spack compiler find spack external find cmake spack external find ninja spack -d install abseil-cpp - # TODO: johnwparent - reduce the size of the installer operations - # make-installer: - # runs-on: windows-latest - # steps: - # - name: Disable Windows Symlinks - # run: | - # git config --global core.symlinks false - # shell: - # powershell - # - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - # with: - # fetch-depth: 0 - # - uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b - # with: - # python-version: 3.9 - # - name: Install Python packages - # run: | - # python -m pip install --upgrade pip six pywin32 setuptools - # - name: Add Light and Candle to Path - # run: | - # $env:WIX >> $GITHUB_PATH - # - name: Run Installer - # run: | - # ./share/spack/qa/setup_spack_installer.ps1 - # spack make-installer -s . -g SILENT pkg - # echo "installer_root=$((pwd).Path)" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append - # env: - # ProgressPreference: SilentlyContinue - # - uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb - # with: - # name: Windows Spack Installer Bundle - # path: ${{ env.installer_root }}\pkg\Spack.exe - # - uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb - # with: - # name: Windows Spack Installer - # path: ${{ env.installer_root}}\pkg\Spack.msi - # execute-installer: - # needs: make-installer - # runs-on: windows-latest - # defaults: - # run: - # shell: pwsh - # steps: - # - uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b - # with: - # python-version: 3.9 - # - name: Install Python packages - # run: | - # python -m pip install --upgrade pip six pywin32 setuptools - # - name: Setup installer directory - # run: | - # mkdir -p spack_installer - # echo "spack_installer=$((pwd).Path)\spack_installer" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append - # - uses: actions/download-artifact@v3 - # with: - # name: Windows Spack Installer Bundle - # path: ${{ env.spack_installer }} - # - name: Execute Bundled Installer - # run: | - # $proc = Start-Process ${{ env.spack_installer }}\spack.exe "/install /quiet" -Passthru - # $handle = $proc.Handle # cache proc.Handle - # $proc.WaitForExit(); - # $LASTEXITCODE - # env: - # ProgressPreference: SilentlyContinue - # - uses: actions/download-artifact@v3 - # with: - # name: Windows Spack Installer - # path: ${{ env.spack_installer }} - # - name: Execute MSI - # run: | - # $proc = Start-Process ${{ env.spack_installer }}\spack.msi "/quiet" -Passthru - # $handle = $proc.Handle # cache proc.Handle - # $proc.WaitForExit(); - # $LASTEXITCODE -- cgit v1.2.3-60-g2f50