From d936aeca20ed75502e6881fca13b844fc90f0cf6 Mon Sep 17 00:00:00 2001 From: Divyanshu Kalra Date: Mon, 6 Jan 2025 01:18:43 +0530 Subject: [PATCH 01/35] added aarch64 runner for windows --- .github/workflows/ci.yml | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f2248890df4..29225454efd4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }} cancel-in-progress: true - +build-binary env: CARGO_INCREMENTAL: 0 CARGO_NET_RETRY: 10 @@ -526,7 +526,7 @@ jobs: path: ./target/debug/uv retention-days: 1 - build-binary-windows: + build-binary-windows-x86_64: needs: determine_changes timeout-minutes: 10 if: ${{ github.repository == 'astral-sh/uv' && !contains(github.event.pull_request.labels.*.name, 'no-test') && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }} @@ -559,6 +559,39 @@ jobs: path: ${{ env.UV_WORKSPACE }}/target/debug/uv.exe retention-days: 1 + build-binary-windows-aarch64: + needs: determine_changes + timeout-minutes: 10 + if: ${{ github.repository == 'astral-sh/uv' && !contains(github.event.pull_request.labels.*.name, 'no-test') && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }} + runs-on: + labels: github-windows-11-aarch64-4 + name: "build binary | windows aarch64" + steps: + - uses: actions/checkout@v4 + + - name: Create Dev Drive using ReFS + run: ${{ github.workspace }}/.github/workflows/setup-dev-drive.ps1 + + # actions/checkout does not let us clone into anywhere outside ${{ github.workspace }}, so we have to copy the clone... + - name: Copy Git Repo to Dev Drive + run: | + Copy-Item -Path "${{ github.workspace }}" -Destination "${{ env.UV_WORKSPACE }}" -Recurse + + - uses: Swatinem/rust-cache@v2 + with: + workspaces: ${{ env.UV_WORKSPACE }} + + - name: "Build" + working-directory: ${{ env.UV_WORKSPACE }} + run: cargo build --target aarch64-pc-windows-msvc + + - name: "Upload binary" + uses: actions/upload-artifact@v4 + with: + name: uv-windows-${{ github.sha }} + path: ${{ env.UV_WORKSPACE }}/target/debug/uv.exe + retention-days: 1 + cargo-build-msrv: name: "cargo build (msrv)" needs: determine_changes From 76aa6d8a5d94bd473310eb6d9ca9709928177d62 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Sun, 5 Jan 2025 13:58:24 -0600 Subject: [PATCH 02/35] Empty commit From 0aef71c120f87a2c08d37c6bbc1479181aba6b72 Mon Sep 17 00:00:00 2001 From: Divyanshu Kalra Date: Mon, 6 Jan 2025 01:35:22 +0530 Subject: [PATCH 03/35] fixed typo. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 29225454efd4..02dce85cf2c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }} cancel-in-progress: true -build-binary + env: CARGO_INCREMENTAL: 0 CARGO_NET_RETRY: 10 From 027cdbd46d5c2179aeffe8cfd7886dc51bb2cbc1 Mon Sep 17 00:00:00 2001 From: Divyanshu Kalra Date: Mon, 6 Jan 2025 01:37:32 +0530 Subject: [PATCH 04/35] rename build-binary-windows-x86 back to build-binary-windows --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 02dce85cf2c6..8f4ba77a4da9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -526,7 +526,7 @@ jobs: path: ./target/debug/uv retention-days: 1 - build-binary-windows-x86_64: + build-binary-windows: needs: determine_changes timeout-minutes: 10 if: ${{ github.repository == 'astral-sh/uv' && !contains(github.event.pull_request.labels.*.name, 'no-test') && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }} From 423b77b46f1e55d67399ead80824ec221316bd49 Mon Sep 17 00:00:00 2001 From: Divyanshu Kalra Date: Mon, 6 Jan 2025 01:41:52 +0530 Subject: [PATCH 05/35] removed dev drive from build-binary-windows-aarch64 --- .github/workflows/ci.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8f4ba77a4da9..f7b307d1ad09 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -569,27 +569,16 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Create Dev Drive using ReFS - run: ${{ github.workspace }}/.github/workflows/setup-dev-drive.ps1 - - # actions/checkout does not let us clone into anywhere outside ${{ github.workspace }}, so we have to copy the clone... - - name: Copy Git Repo to Dev Drive - run: | - Copy-Item -Path "${{ github.workspace }}" -Destination "${{ env.UV_WORKSPACE }}" -Recurse - - uses: Swatinem/rust-cache@v2 - with: - workspaces: ${{ env.UV_WORKSPACE }} - name: "Build" - working-directory: ${{ env.UV_WORKSPACE }} run: cargo build --target aarch64-pc-windows-msvc - name: "Upload binary" uses: actions/upload-artifact@v4 with: name: uv-windows-${{ github.sha }} - path: ${{ env.UV_WORKSPACE }}/target/debug/uv.exe + path: target/debug/uv.exe retention-days: 1 cargo-build-msrv: From 17b5a7c9e2f75a1ffeaa497a25ee2771f00f0695 Mon Sep 17 00:00:00 2001 From: Divyanshu Kalra Date: Mon, 6 Jan 2025 01:56:35 +0530 Subject: [PATCH 06/35] added explict step to install rust in `build-binary-windows-aarch64` --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7b307d1ad09..fa45e31c914a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -568,6 +568,11 @@ jobs: name: "build binary | windows aarch64" steps: - uses: actions/checkout@v4 + + - name: Install Rust + uses: dtolnay/rust-toolchain@stable + with: + targets: aarch64-pc-windows-msvc - uses: Swatinem/rust-cache@v2 From e21da45af032ec99fb3fea6fc1bc414f1ccf6c56 Mon Sep 17 00:00:00 2001 From: Divyanshu Kalra Date: Tue, 7 Jan 2025 09:20:11 +0530 Subject: [PATCH 07/35] added llvm, rust and git to aarch64 flow --- .github/workflows/ci.yml | 43 ++++++++++++++++++++++++++++++++++------ 1 file changed, 37 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa45e31c914a..71e2b6064798 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -567,17 +567,48 @@ jobs: labels: github-windows-11-aarch64-4 name: "build binary | windows aarch64" steps: - - uses: actions/checkout@v4 - - - name: Install Rust - uses: dtolnay/rust-toolchain@stable + - name: Download LLVM (aarch64) + uses: robinraju/release-downloader@v1 + with: + repository: 'llvm/llvm-project' + tag: 'llvmorg-19.1.5' + filename: 'LLVM-19.1.5-woa64.exe' + + - name: Install LLVM (aarch64) + run: | + Start-Process -FilePath "LLVM-19.1.5-woa64.exe" -ArgumentList '/S' -NoNewWindow -Wait + + - name: Install Build Tools (aarch64) + run: | + Set-ExecutionPolicy Bypass -Scope Process -Force + [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072 + iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) + Add-Content -Path $env:GITHUB_PATH -Value "C:\ProgramData\chocolatey\bin" -Encoding utf8 + choco install visualstudio2022buildtools -y --no-progress --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621" + + - name: Install Nightly Rust (aarch64) + run: | + Add-Content -Path $env:GITHUB_PATH -Value "$env:USERPROFILE\.cargo\bin" -Encoding utf8 + Invoke-WebRequest -Uri "https://win.rustup.rs/aarch64" -OutFile "$env:RUNNER_TEMP\rustup-init.exe" + & "$env:RUNNER_TEMP\rustup-init.exe" --default-host aarch64-pc-windows-msvc --default-toolchain nightly -y + + - name: Download Git for Windows (aarch64) + uses: robinraju/release-downloader@v1 with: - targets: aarch64-pc-windows-msvc + repository: 'git-for-windows/git' + tag: 'v2.48.0-rc1.windows.1' + filename: 'Git-2.48.0-rc1-arm64.exe' + + - name: Install Git for Windows (aarch64) + run: | + Start-Process -FilePath "Git-2.48.0-rc1-arm64.exe" -ArgumentList "/VERYSILENT" -NoNewWindow -Wait + Add-Content -Path $env:GITHUB_PATH -Value "C:\Program Files\Git\cmd" -Encoding utf8 + Add-Content -Path $env:GITHUB_PATH -Value "C:\Program Files\Git\bin" -Encoding utf8 - uses: Swatinem/rust-cache@v2 - name: "Build" - run: cargo build --target aarch64-pc-windows-msvc + run: cargo build -vv --target aarch64-pc-windows-msvc - name: "Upload binary" uses: actions/upload-artifact@v4 From eb8b60c8817ee1b74808b983756992bb32c9f4ef Mon Sep 17 00:00:00 2001 From: Divyanshu Kalra Date: Tue, 7 Jan 2025 09:35:25 +0530 Subject: [PATCH 08/35] added back checkout process --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 71e2b6064798..f8088d06af2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -607,6 +607,8 @@ jobs: - uses: Swatinem/rust-cache@v2 + - uses: actions/checkout@v4 + - name: "Build" run: cargo build -vv --target aarch64-pc-windows-msvc From c45f762cb1b6dc0a0b0afaf583f3af79f242b69a Mon Sep 17 00:00:00 2001 From: Divyanshu Kalra Date: Tue, 7 Jan 2025 09:47:37 +0530 Subject: [PATCH 09/35] increased timeout for `build-binary-windows-aarch64` --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8088d06af2d..f9c2d58ee861 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -561,7 +561,7 @@ jobs: build-binary-windows-aarch64: needs: determine_changes - timeout-minutes: 10 + timeout-minutes: 30 if: ${{ github.repository == 'astral-sh/uv' && !contains(github.event.pull_request.labels.*.name, 'no-test') && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }} runs-on: labels: github-windows-11-aarch64-4 From b1544211e09dd659ae718f9e66a5b8f2a341534f Mon Sep 17 00:00:00 2001 From: Divyanshu Kalra Date: Tue, 7 Jan 2025 10:13:49 +0530 Subject: [PATCH 10/35] added clang to `build-binary-windows-aarch64` --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9c2d58ee861..bee1d1e761d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -584,7 +584,7 @@ jobs: [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072 iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) Add-Content -Path $env:GITHUB_PATH -Value "C:\ProgramData\chocolatey\bin" -Encoding utf8 - choco install visualstudio2022buildtools -y --no-progress --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621" + choco install visualstudio2022buildtools -y --no-progress --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621 --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang" - name: Install Nightly Rust (aarch64) run: | From c5532df24e42f2f533f23d0a6637c57a62f858bf Mon Sep 17 00:00:00 2001 From: Divyanshu Kalra Date: Tue, 7 Jan 2025 11:08:31 +0530 Subject: [PATCH 11/35] added cmake and other tools --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bee1d1e761d4..eb5044e2becf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -584,7 +584,7 @@ jobs: [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072 iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) Add-Content -Path $env:GITHUB_PATH -Value "C:\ProgramData\chocolatey\bin" -Encoding utf8 - choco install visualstudio2022buildtools -y --no-progress --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621 --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang" + choco install visualstudio2022buildtools -y --no-progress --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621 --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang --add Microsoft.VisualStudio.Component.VC.CMake.Project" - name: Install Nightly Rust (aarch64) run: | From 11c28dc11b641f4b127e767c0740b396a6731162 Mon Sep 17 00:00:00 2001 From: Divyanshu Kalra Date: Tue, 7 Jan 2025 11:40:52 +0530 Subject: [PATCH 12/35] added more tools to visualstudio in `Install Build Tools (aarch64)` --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb5044e2becf..95d584b01c22 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -584,7 +584,7 @@ jobs: [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072 iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) Add-Content -Path $env:GITHUB_PATH -Value "C:\ProgramData\chocolatey\bin" -Encoding utf8 - choco install visualstudio2022buildtools -y --no-progress --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621 --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang --add Microsoft.VisualStudio.Component.VC.CMake.Project" + choco install visualstudio2022buildtools -y --no-progress --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621 --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.VC.Llvm.Clang --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang --add Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset --add Microsoft.VisualStudio.Component.VC.CMake.Project --add Microsoft.VisualStudio.Component.VC.ATL --add Microsoft.VisualStudio.Component.VC.ATL.ARM --add Microsoft.VisualStudio.Component.VC.ASAN" - name: Install Nightly Rust (aarch64) run: | From 6331143cbf2fe4ccb62abef1c1f1e32738d448ef Mon Sep 17 00:00:00 2001 From: Divyanshu Kalra Date: Tue, 7 Jan 2025 11:46:57 +0530 Subject: [PATCH 13/35] prettier fixes --- .github/workflows/ci.yml | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 95d584b01c22..11f514b43a90 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -570,21 +570,32 @@ jobs: - name: Download LLVM (aarch64) uses: robinraju/release-downloader@v1 with: - repository: 'llvm/llvm-project' - tag: 'llvmorg-19.1.5' - filename: 'LLVM-19.1.5-woa64.exe' - + repository: "llvm/llvm-project" + tag: "llvmorg-19.1.5" + filename: "LLVM-19.1.5-woa64.exe" + - name: Install LLVM (aarch64) run: | Start-Process -FilePath "LLVM-19.1.5-woa64.exe" -ArgumentList '/S' -NoNewWindow -Wait - + - name: Install Build Tools (aarch64) run: | Set-ExecutionPolicy Bypass -Scope Process -Force [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072 iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) Add-Content -Path $env:GITHUB_PATH -Value "C:\ProgramData\chocolatey\bin" -Encoding utf8 - choco install visualstudio2022buildtools -y --no-progress --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621 --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.VC.Llvm.Clang --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang --add Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset --add Microsoft.VisualStudio.Component.VC.CMake.Project --add Microsoft.VisualStudio.Component.VC.ATL --add Microsoft.VisualStudio.Component.VC.ATL.ARM --add Microsoft.VisualStudio.Component.VC.ASAN" + choco install visualstudio2022buildtools -y --no-progress --package-parameters "^ + --add Microsoft.VisualStudio.Component.VC.Tools.ARM64 ^ + --add Microsoft.VisualStudio.Component.Windows11SDK.22621 ^ + --add Microsoft.VisualStudio.Workload.VCTools ^ + --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 ^ + --add Microsoft.VisualStudio.Component.VC.Llvm.Clang ^ + --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang ^ + --add Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset ^ + --add Microsoft.VisualStudio.Component.VC.CMake.Project ^ + --add Microsoft.VisualStudio.Component.VC.ATL ^ + --add Microsoft.VisualStudio.Component.VC.ATL.ARM ^ + --add Microsoft.VisualStudio.Component.VC.ASAN" - name: Install Nightly Rust (aarch64) run: | @@ -595,10 +606,10 @@ jobs: - name: Download Git for Windows (aarch64) uses: robinraju/release-downloader@v1 with: - repository: 'git-for-windows/git' - tag: 'v2.48.0-rc1.windows.1' - filename: 'Git-2.48.0-rc1-arm64.exe' - + repository: "git-for-windows/git" + tag: "v2.48.0-rc1.windows.1" + filename: "Git-2.48.0-rc1-arm64.exe" + - name: Install Git for Windows (aarch64) run: | Start-Process -FilePath "Git-2.48.0-rc1-arm64.exe" -ArgumentList "/VERYSILENT" -NoNewWindow -Wait From ead622d734b6bd6234bcf36d940d4a5d77a8340c Mon Sep 17 00:00:00 2001 From: Divyanshu Kalra Date: Tue, 7 Jan 2025 11:53:12 +0530 Subject: [PATCH 14/35] fixed multiline bug --- .github/workflows/ci.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11f514b43a90..4a9fe7792127 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -584,18 +584,7 @@ jobs: [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072 iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) Add-Content -Path $env:GITHUB_PATH -Value "C:\ProgramData\chocolatey\bin" -Encoding utf8 - choco install visualstudio2022buildtools -y --no-progress --package-parameters "^ - --add Microsoft.VisualStudio.Component.VC.Tools.ARM64 ^ - --add Microsoft.VisualStudio.Component.Windows11SDK.22621 ^ - --add Microsoft.VisualStudio.Workload.VCTools ^ - --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 ^ - --add Microsoft.VisualStudio.Component.VC.Llvm.Clang ^ - --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang ^ - --add Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset ^ - --add Microsoft.VisualStudio.Component.VC.CMake.Project ^ - --add Microsoft.VisualStudio.Component.VC.ATL ^ - --add Microsoft.VisualStudio.Component.VC.ATL.ARM ^ - --add Microsoft.VisualStudio.Component.VC.ASAN" + choco install visualstudio2022buildtools -y --no-progress --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621 --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.VC.Llvm.Clang --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang --add Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset --add Microsoft.VisualStudio.Component.VC.CMake.Project --add Microsoft.VisualStudio.Component.VC.ATL --add Microsoft.VisualStudio.Component.VC.ATL.ARM --add Microsoft.VisualStudio.Component.VC.ASAN" - name: Install Nightly Rust (aarch64) run: | From 1ee07c9eb2e78ebd3d38f3194b3123136d6f8e87 Mon Sep 17 00:00:00 2001 From: Divyanshu Kalra Date: Tue, 7 Jan 2025 12:24:24 +0530 Subject: [PATCH 15/35] added clang path and check --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a9fe7792127..35b69d610797 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -586,6 +586,11 @@ jobs: Add-Content -Path $env:GITHUB_PATH -Value "C:\ProgramData\chocolatey\bin" -Encoding utf8 choco install visualstudio2022buildtools -y --no-progress --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621 --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.VC.Llvm.Clang --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang --add Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset --add Microsoft.VisualStudio.Component.VC.CMake.Project --add Microsoft.VisualStudio.Component.VC.ATL --add Microsoft.VisualStudio.Component.VC.ATL.ARM --add Microsoft.VisualStudio.Component.VC.ASAN" + - name: Add clang to PATH and check if clang exists + run: | + $env:PATH += ";C:\Program Files\Microsoft Visual Studio\2022\BuildTools\Llvm\ARM64\bin\" + clang --version + - name: Install Nightly Rust (aarch64) run: | Add-Content -Path $env:GITHUB_PATH -Value "$env:USERPROFILE\.cargo\bin" -Encoding utf8 From 7ada457d95facf9ae6c4f7f007093b5478e1519f Mon Sep 17 00:00:00 2001 From: Divyanshu Kalra Date: Wed, 8 Jan 2025 08:11:58 +0530 Subject: [PATCH 16/35] - fixed clang path - fixed uv.exe path - fixed git upload name - removed unused tools from vs install step --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 35b69d610797..dd2b12aa129f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -584,11 +584,11 @@ jobs: [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072 iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) Add-Content -Path $env:GITHUB_PATH -Value "C:\ProgramData\chocolatey\bin" -Encoding utf8 - choco install visualstudio2022buildtools -y --no-progress --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621 --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.VC.Llvm.Clang --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang --add Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset --add Microsoft.VisualStudio.Component.VC.CMake.Project --add Microsoft.VisualStudio.Component.VC.ATL --add Microsoft.VisualStudio.Component.VC.ATL.ARM --add Microsoft.VisualStudio.Component.VC.ASAN" + choco install visualstudio2022buildtools -y --no-progress --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621 --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang" - name: Add clang to PATH and check if clang exists run: | - $env:PATH += ";C:\Program Files\Microsoft Visual Studio\2022\BuildTools\Llvm\ARM64\bin\" + $env:PATH += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\Llvm\bin" clang --version - name: Install Nightly Rust (aarch64) @@ -615,13 +615,13 @@ jobs: - uses: actions/checkout@v4 - name: "Build" - run: cargo build -vv --target aarch64-pc-windows-msvc + run: cargo build --target aarch64-pc-windows-msvc - name: "Upload binary" uses: actions/upload-artifact@v4 with: - name: uv-windows-${{ github.sha }} - path: target/debug/uv.exe + name: uv-windows-aarch64-${{ github.sha }} + path: target/aarch64-pc-windows-msvc/debug/uv.exe retention-days: 1 cargo-build-msrv: From cdccfd1010e4b308d130ad3354a8c0125b5cf24e Mon Sep 17 00:00:00 2001 From: Divyanshu Kalra Date: Wed, 8 Jan 2025 10:01:43 +0530 Subject: [PATCH 17/35] added cmake and cmake to path --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd2b12aa129f..27784b0ea402 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -584,12 +584,17 @@ jobs: [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072 iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) Add-Content -Path $env:GITHUB_PATH -Value "C:\ProgramData\chocolatey\bin" -Encoding utf8 - choco install visualstudio2022buildtools -y --no-progress --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621 --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang" + choco install visualstudio2022buildtools -y --no-progress --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621 --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang --add Microsoft.VisualStudio.Component.VC.CMake.Project" - name: Add clang to PATH and check if clang exists run: | $env:PATH += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\Llvm\bin" clang --version + + - name: Add cmake to PATH and check if cmake exists + run: | + $env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\" + cmake --version - name: Install Nightly Rust (aarch64) run: | From 4927f9e277cf3aeaa15eac01021bd8c064adb4d5 Mon Sep 17 00:00:00 2001 From: Divyanshu Kalra Date: Wed, 8 Jan 2025 10:46:46 +0530 Subject: [PATCH 18/35] replaced path with GITHUB_PATH --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27784b0ea402..2608565798d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -588,12 +588,12 @@ jobs: - name: Add clang to PATH and check if clang exists run: | - $env:PATH += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\Llvm\bin" + "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\Llvm\bin" >> $env:GITHUB_PATH clang --version - name: Add cmake to PATH and check if cmake exists run: | - $env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\" + "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\" >> $env:GITHUB_PATH cmake --version - name: Install Nightly Rust (aarch64) From 8af24733c3c75353ce7789546f68901f5bc73f80 Mon Sep 17 00:00:00 2001 From: Divyanshu Kalra Date: Wed, 8 Jan 2025 11:04:19 +0530 Subject: [PATCH 19/35] changed way to add to github path --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2608565798d4..dfcfd7770f67 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -588,12 +588,12 @@ jobs: - name: Add clang to PATH and check if clang exists run: | - "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\Llvm\bin" >> $env:GITHUB_PATH + Add-Content -Path $env:GITHUB_PATH -Value "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\Llvm\bin" -Encoding utf8 clang --version - name: Add cmake to PATH and check if cmake exists run: | - "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\" >> $env:GITHUB_PATH + Add-Content -Path $env:GITHUB_PATH -Value "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin" -Encoding utf8 cmake --version - name: Install Nightly Rust (aarch64) From 6f45ee47eb768bff9acec78705bbd95c7302dc94 Mon Sep 17 00:00:00 2001 From: Divyanshu Kalra Date: Wed, 8 Jan 2025 11:17:33 +0530 Subject: [PATCH 20/35] enforced path before cargo build --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dfcfd7770f67..96a821e4a81c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -588,11 +588,13 @@ jobs: - name: Add clang to PATH and check if clang exists run: | + $env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\Llvm\bin" Add-Content -Path $env:GITHUB_PATH -Value "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\Llvm\bin" -Encoding utf8 clang --version - name: Add cmake to PATH and check if cmake exists run: | + $env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\" Add-Content -Path $env:GITHUB_PATH -Value "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin" -Encoding utf8 cmake --version @@ -620,7 +622,7 @@ jobs: - uses: actions/checkout@v4 - name: "Build" - run: cargo build --target aarch64-pc-windows-msvc + run: $env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\Llvm\bin"; $env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\"; cargo build --target aarch64-pc-windows-msvc - name: "Upload binary" uses: actions/upload-artifact@v4 From 1c5d5640fdccaa74e57381083b63eacc477a5be1 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Wed, 8 Jan 2025 11:10:55 -0600 Subject: [PATCH 21/35] Prettier --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 96a821e4a81c..7e1c694a0e60 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -591,7 +591,7 @@ jobs: $env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\Llvm\bin" Add-Content -Path $env:GITHUB_PATH -Value "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\Llvm\bin" -Encoding utf8 clang --version - + - name: Add cmake to PATH and check if cmake exists run: | $env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\" From 0289e96deb99e39ec4cd2c7ef2be915d9a381707 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Wed, 8 Jan 2025 11:27:05 -0600 Subject: [PATCH 22/35] Move rust-cache step to after checkout --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e1c694a0e60..53c07974e081 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -582,7 +582,7 @@ jobs: run: | Set-ExecutionPolicy Bypass -Scope Process -Force [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072 - iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) + iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) Add-Content -Path $env:GITHUB_PATH -Value "C:\ProgramData\chocolatey\bin" -Encoding utf8 choco install visualstudio2022buildtools -y --no-progress --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621 --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang --add Microsoft.VisualStudio.Component.VC.CMake.Project" @@ -617,10 +617,10 @@ jobs: Add-Content -Path $env:GITHUB_PATH -Value "C:\Program Files\Git\cmd" -Encoding utf8 Add-Content -Path $env:GITHUB_PATH -Value "C:\Program Files\Git\bin" -Encoding utf8 - - uses: Swatinem/rust-cache@v2 - - uses: actions/checkout@v4 + - uses: Swatinem/rust-cache@v2 + - name: "Build" run: $env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\Llvm\bin"; $env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\"; cargo build --target aarch64-pc-windows-msvc From 3a5469e99703c625d2ed8ffc0b564f1400b22a76 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Wed, 8 Jan 2025 11:29:21 -0600 Subject: [PATCH 23/35] Display choco cache --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 53c07974e081..658f44383b82 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -585,6 +585,7 @@ jobs: iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) Add-Content -Path $env:GITHUB_PATH -Value "C:\ProgramData\chocolatey\bin" -Encoding utf8 choco install visualstudio2022buildtools -y --no-progress --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621 --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang --add Microsoft.VisualStudio.Component.VC.CMake.Project" + choco cache list -v - name: Add clang to PATH and check if clang exists run: | From b316c95c6dff22d9856efef8a3bc60e4fcf97948 Mon Sep 17 00:00:00 2001 From: Divyanshu Kalra Date: Wed, 8 Jan 2025 23:52:45 +0530 Subject: [PATCH 24/35] added tests for aarch64 windows, renamed windows to windows-x86. --- .github/workflows/ci.yml | 372 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 345 insertions(+), 27 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 658f44383b82..e66d4e61e7de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -526,7 +526,7 @@ jobs: path: ./target/debug/uv retention-days: 1 - build-binary-windows: + build-binary-windows-x86_64: needs: determine_changes timeout-minutes: 10 if: ${{ github.repository == 'astral-sh/uv' && !contains(github.event.pull_request.labels.*.name, 'no-test') && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }} @@ -555,7 +555,7 @@ jobs: - name: "Upload binary" uses: actions/upload-artifact@v4 with: - name: uv-windows-${{ github.sha }} + name: uv-windows-x86_64-${{ github.sha }} path: ${{ env.UV_WORKSPACE }}/target/debug/uv.exe retention-days: 1 @@ -822,9 +822,9 @@ jobs: run: | ./uv pip install -v anyio - integration-test-free-threaded-windows: + integration-test-free-threaded-windows-x86_64: timeout-minutes: 10 - needs: build-binary-windows + needs: build-binary-windows-x86_64 name: "integration test | free-threaded on windows" runs-on: windows-latest env: @@ -835,7 +835,7 @@ jobs: - name: "Download binary" uses: actions/download-artifact@v4 with: - name: uv-windows-${{ github.sha }} + name: uv-windows-x86_64-${{ github.sha }} - name: "Install free-threaded Python via uv" run: | @@ -869,6 +869,55 @@ jobs: run: | ./uv run python -c "" ./uv run -p 3.13t python -c "" + + integration-test-free-threaded-windows-aarch64: + timeout-minutes: 10 + needs: build-binary-windows-aarch64 + name: "integration test | free-threaded on windows" + runs-on: github-windows-11-aarch64-4 + env: + # Avoid debug build stack overflows. + UV_STACK_SIZE: 3000000 # 3 megabyte, triple the default on windows + + steps: + - name: "Download binary" + uses: actions/download-artifact@v4 + with: + name: uv-windows-aarch64-${{ github.sha }} + + - name: "Install free-threaded Python via uv" + run: | + ./uv python install -v 3.13t + + - name: "Create a virtual environment (stdlib)" + run: | + & (./uv python find 3.13t) -m venv .venv + + - name: "Check version (stdlib)" + run: | + .venv/Scripts/python --version + + - name: "Create a virtual environment (uv)" + run: | + ./uv venv -p 3.13t --python-preference only-managed + + - name: "Check version (uv)" + run: | + .venv/Scripts/python --version + + - name: "Check is free-threaded" + run: | + .venv/Scripts/python -c "import sys; exit(1) if sys._is_gil_enabled() else exit(0)" + + - name: "Check install" + run: | + ./uv pip install -v anyio + + - name: "Check uv run" + run: | + ./uv run python -c "" + ./uv run -p 3.13t python -c "" + integration-test-pypy-linux: timeout-minutes: 10 @@ -934,9 +983,9 @@ jobs: run: | ./uv pip install anyio - integration-test-pypy-windows: + integration-test-pypy-windows-x86_64: timeout-minutes: 10 - needs: build-binary-windows + needs: build-binary-windows-x86_64 name: "integration test | pypy on windows" runs-on: windows-latest @@ -944,7 +993,70 @@ jobs: - name: "Download binary" uses: actions/download-artifact@v4 with: - name: uv-windows-${{ github.sha }} + name: uv-windows-x86_64-${{ github.sha }} + + - name: "Install PyPy" + run: .\uv.exe python install pypy3.9 + + - name: "Create a virtual environment" + run: | + .\uv.exe venv -p pypy3.9 --python-preference only-managed + + - name: "Check for executables" + shell: python + run: | + import sys + from pathlib import Path + + def binary_exist(binary): + binaries_path = Path(".venv\\Scripts") + if (binaries_path / binary).exists(): + return True + print(f"Executable '{binary}' not found in folder '{binaries_path}'.") + + all_found = True + expected_binaries = [ + "pypy3.9.exe", + "pypy3.9w.exe", + "pypy3.exe", + "pypyw.exe", + "python.exe", + "python3.9.exe", + "python3.exe", + "pythonw.exe", + ] + for binary in expected_binaries: + if not binary_exist(binary): + all_found = False + + if not all_found: + print("One or more expected executables were not found.") + sys.exit(1) + + - name: "Check version" + run: | + & .venv\Scripts\pypy3.9.exe --version + & .venv\Scripts\pypy3.exe --version + & .venv\Scripts\python.exe --version + + - name: "Check install" + env: + # Avoid debug build stack overflows. + UV_STACK_SIZE: 3000000 # 3 megabyte, triple the default on windows + run: | + .\uv.exe pip install anyio + + integration-test-pypy-windows-aarch64: + timeout-minutes: 10 + needs: build-binary-windows-aarch64 + name: "integration test | pypy on windows" + runs-on: github-windows-11-aarch64-4 + + steps: + - name: "Download binary" + uses: actions/download-artifact@v4 + with: + name: uv-windows-aarch64-${{ github.sha }} - name: "Install PyPy" run: .\uv.exe python install pypy3.9 @@ -1066,9 +1178,9 @@ jobs: run: | ./uv pip install anyio - integration-test-graalpy-windows: + integration-test-graalpy-windows-x86_64: timeout-minutes: 10 - needs: build-binary-windows + needs: build-binary-windows-x86_64 name: "integration test | graalpy on windows" runs-on: windows-latest @@ -1080,7 +1192,70 @@ jobs: - name: "Download binary" uses: actions/download-artifact@v4 with: - name: uv-windows-${{ github.sha }} + name: uv-windows-x86_64-${{ github.sha }} + + - name: Graalpy info + run: Get-Command graalpy + + - name: "Create a virtual environment" + run: | + $graalpy = (Get-Command graalpy).source + .\uv.exe venv -p $graalpy + + - name: "Check for executables" + shell: python + run: | + import sys + from pathlib import Path + + def binary_exist(binary): + binaries_path = Path(".venv\\Scripts") + if (binaries_path / binary).exists(): + return True + print(f"Executable '{binary}' not found in folder '{binaries_path}'.") + + all_found = True + expected_binaries = [ + "graalpy.exe", + "python.exe", + "python3.exe", + ] + for binary in expected_binaries: + if not binary_exist(binary): + all_found = False + + if not all_found: + print("One or more expected executables were not found.") + sys.exit(1) + + - name: "Check version" + run: | + & .venv\Scripts\graalpy.exe --version + & .venv\Scripts\python3.exe --version + & .venv\Scripts\python.exe --version + + - name: "Check install" + env: + # Avoid debug build stack overflows. + UV_STACK_SIZE: 3000000 # 3 megabyte, triple the default on windows + run: | + .\uv.exe pip install anyio + + integration-test-graalpy-windows-aarch64: + timeout-minutes: 10 + needs: build-binary-windows-aarch64 + name: "integration test | graalpy on windows" + runs-on: github-windows-11-aarch64-4 + + steps: + - uses: timfel/setup-python@fc9bcb4a04f5b1ea7d678c2ca7ea1c479a2468d7 + with: + python-version: "graalpy24.1" + + - name: "Download binary" + uses: actions/download-artifact@v4 + with: + name: uv-windows-aarch64-${{ github.sha }} - name: Graalpy info run: Get-Command graalpy @@ -1614,8 +1789,8 @@ jobs: system-test-windows-python-310: timeout-minutes: 10 - needs: build-binary-windows - name: "check system | python3.10 on windows" + needs: build-binary-windows-x86_64 + name: "check system | python3.10 on windows x86_64" runs-on: windows-latest env: # Avoid debug build stack overflows. @@ -1630,7 +1805,33 @@ jobs: - name: "Download binary" uses: actions/download-artifact@v4 with: - name: uv-windows-${{ github.sha }} + name: uv-windows-x86_64-${{ github.sha }} + + - name: "Print Python path" + run: echo $(which python) + + - name: "Validate global Python install" + run: py -3.10 ./scripts/check_system_python.py --uv ./uv.exe + + system-test-windows-python-310-aarch64: + timeout-minutes: 10 + needs: build-binary-windows-aarch64 + name: "check system | python3.10 on windows aarch64" + runs-on: github-windows-11-aarch64-4 + env: + # Avoid debug build stack overflows. + UV_STACK_SIZE: 3000000 # 3 megabyte, triple the default on windows + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-python@v5 + with: + python-version: "3.10" + + - name: "Download binary" + uses: actions/download-artifact@v4 + with: + name: uv-windows-aarch64-${{ github.sha }} - name: "Print Python path" run: echo $(which python) @@ -1640,7 +1841,7 @@ jobs: system-test-windows-x86-python-310: timeout-minutes: 10 - needs: build-binary-windows + needs: build-binary-windows-x86_64 name: "check system | python3.10 on windows x86" runs-on: windows-latest env: @@ -1657,18 +1858,45 @@ jobs: - name: "Download binary" uses: actions/download-artifact@v4 with: - name: uv-windows-${{ github.sha }} + name: uv-windows-x86_64-${{ github.sha }} - name: "Print Python path" run: echo $(which python) - name: "Validate global Python install" run: python ./scripts/check_system_python.py --uv ./uv.exe + + system-test-windows-aarch64-python-310: + timeout-minutes: 10 + needs: build-binary-windows-aarch64 + name: "check system | python3.10 on windows aarch64" + runs-on: github-windows-11-aarch64-4 + env: + # Avoid debug build stack overflows. + UV_STACK_SIZE: 3000000 # 3 megabyte, triple the default on windows + steps: + - uses: actions/checkout@v4 - system-test-windows-python-313: + - uses: actions/setup-python@v5 + with: + python-version: "3.10" + architecture: "aarch64" + + - name: "Download binary" + uses: actions/download-artifact@v4 + with: + name: uv-windows-aarch64-${{ github.sha }} + + - name: "Print Python path" + run: echo $(which python) + + - name: "Validate global Python install" + run: python ./scripts/check_system_python.py --uv ./uv.exe + + system-test-windows-x86_64-python-313: timeout-minutes: 10 - needs: build-binary-windows - name: "check system | python3.13 on windows" + needs: build-binary-windows-x86_64 + name: "check system | python3.13 on windows x86_64" runs-on: windows-latest env: # Avoid debug build stack overflows. @@ -1685,7 +1913,35 @@ jobs: - name: "Download binary" uses: actions/download-artifact@v4 with: - name: uv-windows-${{ github.sha }} + name: uv-windows-x86_64-${{ github.sha }} + + - name: "Print Python path" + run: echo $(which python) + + - name: "Validate global Python install" + run: py -3.13 ./scripts/check_system_python.py --uv ./uv.exe + + system-test-windows-aarch64-python-313: + timeout-minutes: 10 + needs: build-binary-windows-aarch64 + name: "check system | python3.13 on windows aarch64" + runs-on: github-windows-11-aarch64-4 + env: + # Avoid debug build stack overflows. + UV_STACK_SIZE: 3000000 # 3 megabyte, triple the default on windows + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-python@v5 + with: + python-version: "3.13" + allow-prereleases: true + cache: pip + + - name: "Download binary" + uses: actions/download-artifact@v4 + with: + name: uv-windows-aarch64-${{ github.sha }} - name: "Print Python path" run: echo $(which python) @@ -1695,7 +1951,7 @@ jobs: system-test-choco: timeout-minutes: 10 - needs: build-binary-windows + needs: build-binary-windows-x86_64 name: "check system | python3.12 via chocolatey" runs-on: windows-latest env: @@ -1710,7 +1966,7 @@ jobs: - name: "Download binary" uses: actions/download-artifact@v4 with: - name: uv-windows-${{ github.sha }} + name: uv-windows-x86_64-${{ github.sha }} - name: "Print Python path" run: echo $(which python3) @@ -1718,6 +1974,32 @@ jobs: - name: "Validate global Python install" run: py -3.9 ./scripts/check_system_python.py --uv ./uv.exe + system-test-choco-aarch64: + timeout-minutes: 10 + needs: build-binary-windows-aarch64 + name: "check system | python3.12 via chocolatey" + runs-on: github-windows-11-aarch64-4 + env: + # Avoid debug build stack overflows. + UV_STACK_SIZE: 3000000 # 3 megabyte, triple the default on windows + steps: + - uses: actions/checkout@v4 + + - name: "Install Python" + run: choco install python3 --verbose --version=3.9.13 + + - name: "Download binary" + uses: actions/download-artifact@v4 + with: + name: uv-windows-aarch64-${{ github.sha }} + + - name: "Print Python path" + run: echo $(which python3) + + - name: "Validate global Python install" + run: py -3.9 ./scripts/check_system_python.py --uv ./uv.exe + + system-test-pyenv: timeout-minutes: 10 needs: build-binary-linux @@ -1789,7 +2071,7 @@ jobs: system-test-conda: timeout-minutes: 10 needs: - [build-binary-windows, build-binary-macos-aarch64, build-binary-linux] + [build-binary-windows-x86_64, build-binary-windows-aarch64, build-binary-macos-aarch64, build-binary-linux] name: check system | conda${{ matrix.python-version }} on ${{ matrix.os }} runs-on: ${{ matrix.runner }} strategy: @@ -1799,7 +2081,8 @@ jobs: python-version: ["3.8", "3.11"] include: - { os: "linux", target: "linux", runner: "ubuntu-latest" } - - { os: "windows", target: "windows", runner: "windows-latest" } + - { os: "windows", target: "windows-x86_64", runner: "windows-latest" } + - { os: "windows", target: "windows-aarch64", runner: "github-windows-11-aarch64-4" } - { os: "macos", target: "macos-aarch64", runner: "macos-14" } steps: - uses: actions/checkout@v4 @@ -1869,8 +2152,8 @@ jobs: system-test-windows-embedded-python-310: timeout-minutes: 10 - needs: build-binary-windows - name: "check system | embedded python3.10 on windows" + needs: build-binary-windows-x86_64 + name: "check system | embedded python3.10 on windows x86_64" runs-on: windows-latest env: # Avoid debug build stack overflows. @@ -1881,7 +2164,7 @@ jobs: - name: "Download binary" uses: actions/download-artifact@v4 with: - name: uv-windows-${{ github.sha }} + name: uv-windows-x86_64-${{ github.sha }} # Download embedded Python. - name: "Download embedded Python" @@ -1902,6 +2185,41 @@ jobs: - name: "Validate embedded Python install" run: python ./scripts/check_embedded_python.py --uv ./uv.exe + system-test-windows-embedded-python-310-aarch64: + timeout-minutes: 10 + needs: build-binary-windows-aarch64 + name: "check system | embedded python3.10 on windows aarch64" + runs-on: github-windows-11-aarch64-4 + env: + # Avoid debug build stack overflows. + UV_STACK_SIZE: 3000000 # 3 megabyte, triple the default on windows + steps: + - uses: actions/checkout@v4 + + - name: "Download binary" + uses: actions/download-artifact@v4 + with: + name: uv-windows-aarch64-${{ github.sha }} + + # Download embedded Python. + - name: "Download embedded Python" + run: curl -LsSf https://www.python.org/ftp/python/3.11.8/python-3.11.8-embed-arm64.zip -o python-3.11.8-embed-arm64.zip + + - name: "Unzip embedded Python" + run: 7z x python-3.11.8-embed-arm64.zip -oembedded-python + + - name: "Show embedded Python contents" + run: ls embedded-python + + - name: "Set PATH" + run: echo "${{ github.workspace }}\embedded-python" >> $env:GITHUB_PATH + + - name: "Print Python path" + run: echo "${{ github.workspace }}\embedded-python" >> $env:GITHUB_PATH; echo $(which python) + + - name: "Validate embedded Python install" + run: echo "${{ github.workspace }}\embedded-python" >> $env:GITHUB_PATH; python ./scripts/check_embedded_python.py --uv ./uv.exe + benchmarks: runs-on: ubuntu-latest needs: determine_changes From 6e26dac9dff9fe475ca01a32828a9bf993514d7a Mon Sep 17 00:00:00 2001 From: Divyanshu Kalra Date: Sun, 12 Jan 2025 19:12:57 +0530 Subject: [PATCH 25/35] added building aarch64 using x86 windows. --- .github/workflows/ci.yml | 66 ++++++++-------------------------------- 1 file changed, 13 insertions(+), 53 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e66d4e61e7de..404b4e05ad05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -532,7 +532,7 @@ jobs: if: ${{ github.repository == 'astral-sh/uv' && !contains(github.event.pull_request.labels.*.name, 'no-test') && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }} runs-on: labels: windows-latest-large - name: "build binary | windows" + name: "build binary | windows x86_64" steps: - uses: actions/checkout@v4 @@ -561,69 +561,29 @@ jobs: build-binary-windows-aarch64: needs: determine_changes - timeout-minutes: 30 + timeout-minutes: 25 if: ${{ github.repository == 'astral-sh/uv' && !contains(github.event.pull_request.labels.*.name, 'no-test') && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }} runs-on: - labels: github-windows-11-aarch64-4 + labels: windows-latest-large name: "build binary | windows aarch64" steps: - - name: Download LLVM (aarch64) - uses: robinraju/release-downloader@v1 - with: - repository: "llvm/llvm-project" - tag: "llvmorg-19.1.5" - filename: "LLVM-19.1.5-woa64.exe" - - - name: Install LLVM (aarch64) - run: | - Start-Process -FilePath "LLVM-19.1.5-woa64.exe" -ArgumentList '/S' -NoNewWindow -Wait - - - name: Install Build Tools (aarch64) - run: | - Set-ExecutionPolicy Bypass -Scope Process -Force - [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072 - iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) - Add-Content -Path $env:GITHUB_PATH -Value "C:\ProgramData\chocolatey\bin" -Encoding utf8 - choco install visualstudio2022buildtools -y --no-progress --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621 --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang --add Microsoft.VisualStudio.Component.VC.CMake.Project" - choco cache list -v - - - name: Add clang to PATH and check if clang exists - run: | - $env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\Llvm\bin" - Add-Content -Path $env:GITHUB_PATH -Value "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\Llvm\bin" -Encoding utf8 - clang --version - - - name: Add cmake to PATH and check if cmake exists - run: | - $env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\" - Add-Content -Path $env:GITHUB_PATH -Value "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin" -Encoding utf8 - cmake --version - - - name: Install Nightly Rust (aarch64) - run: | - Add-Content -Path $env:GITHUB_PATH -Value "$env:USERPROFILE\.cargo\bin" -Encoding utf8 - Invoke-WebRequest -Uri "https://win.rustup.rs/aarch64" -OutFile "$env:RUNNER_TEMP\rustup-init.exe" - & "$env:RUNNER_TEMP\rustup-init.exe" --default-host aarch64-pc-windows-msvc --default-toolchain nightly -y + - uses: actions/checkout@v4 - - name: Download Git for Windows (aarch64) - uses: robinraju/release-downloader@v1 - with: - repository: "git-for-windows/git" - tag: "v2.48.0-rc1.windows.1" - filename: "Git-2.48.0-rc1-arm64.exe" + - name: Create Dev Drive using ReFS + run: ${{ github.workspace }}/.github/workflows/setup-dev-drive.ps1 - - name: Install Git for Windows (aarch64) + # actions/checkout does not let us clone into anywhere outside ${{ github.workspace }}, so we have to copy the clone... + - name: Copy Git Repo to Dev Drive run: | - Start-Process -FilePath "Git-2.48.0-rc1-arm64.exe" -ArgumentList "/VERYSILENT" -NoNewWindow -Wait - Add-Content -Path $env:GITHUB_PATH -Value "C:\Program Files\Git\cmd" -Encoding utf8 - Add-Content -Path $env:GITHUB_PATH -Value "C:\Program Files\Git\bin" -Encoding utf8 - - - uses: actions/checkout@v4 + Copy-Item -Path "${{ github.workspace }}" -Destination "${{ env.UV_WORKSPACE }}" -Recurse - uses: Swatinem/rust-cache@v2 + with: + workspaces: ${{ env.UV_WORKSPACE }} - name: "Build" - run: $env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\Llvm\bin"; $env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\"; cargo build --target aarch64-pc-windows-msvc + working-directory: ${{ env.UV_WORKSPACE }} + run: cargo build --target aarch64-pc-windows-msvc - name: "Upload binary" uses: actions/upload-artifact@v4 From b643e45436daac7814a3ccd7a861f822b8402a9c Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Tue, 21 Jan 2025 17:04:15 -0600 Subject: [PATCH 26/35] Install target --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef5d4d26bad3..f1c1b36f61cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -573,6 +573,9 @@ jobs: with: workspaces: ${{ env.UV_WORKSPACE }} + - name: "Install cross target" + run: rustup target add aarch64-pc-windows-msvc + - name: "Build" working-directory: ${{ env.UV_WORKSPACE }} run: cargo build --target aarch64-pc-windows-msvc From 7e5fb73fb390b49ca9ecd9aa54093c9c84d53909 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Tue, 21 Jan 2025 17:05:20 -0600 Subject: [PATCH 27/35] Lint with prettier --- .github/workflows/ci.yml | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f1c1b36f61cf..032df1894541 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -822,7 +822,7 @@ jobs: run: | ./uv run python -c "" ./uv run -p 3.13t python -c "" - + integration-test-free-threaded-windows-aarch64: timeout-minutes: 10 needs: build-binary-windows-aarch64 @@ -871,7 +871,6 @@ jobs: ./uv run python -c "" ./uv run -p 3.13t python -c "" - integration-test-pypy-linux: timeout-minutes: 10 needs: build-binary-linux @@ -998,7 +997,7 @@ jobs: UV_STACK_SIZE: 3000000 # 3 megabyte, triple the default on windows run: | .\uv.exe pip install anyio - + integration-test-pypy-windows-aarch64: timeout-minutes: 10 needs: build-binary-windows-aarch64 @@ -1193,7 +1192,7 @@ jobs: UV_STACK_SIZE: 3000000 # 3 megabyte, triple the default on windows run: | .\uv.exe pip install anyio - + integration-test-graalpy-windows-aarch64: timeout-minutes: 10 needs: build-binary-windows-aarch64 @@ -1818,7 +1817,7 @@ jobs: - name: "Validate global Python install" run: python ./scripts/check_system_python.py --uv ./uv.exe - + system-test-windows-aarch64-python-310: timeout-minutes: 10 needs: build-binary-windows-aarch64 @@ -1873,7 +1872,7 @@ jobs: - name: "Validate global Python install" run: py -3.13 ./scripts/check_system_python.py --uv ./uv.exe - + system-test-windows-aarch64-python-313: timeout-minutes: 10 needs: build-binary-windows-aarch64 @@ -1952,7 +1951,6 @@ jobs: - name: "Validate global Python install" run: py -3.9 ./scripts/check_system_python.py --uv ./uv.exe - system-test-pyenv: timeout-minutes: 10 needs: build-binary-linux @@ -2024,7 +2022,12 @@ jobs: system-test-conda: timeout-minutes: 10 needs: - [build-binary-windows-x86_64, build-binary-windows-aarch64, build-binary-macos-aarch64, build-binary-linux] + [ + build-binary-windows-x86_64, + build-binary-windows-aarch64, + build-binary-macos-aarch64, + build-binary-linux, + ] name: check system | conda${{ matrix.python-version }} on ${{ matrix.os }} runs-on: ${{ matrix.runner }} strategy: @@ -2034,8 +2037,16 @@ jobs: python-version: ["3.8", "3.11"] include: - { os: "linux", target: "linux", runner: "ubuntu-latest" } - - { os: "windows", target: "windows-x86_64", runner: "windows-latest" } - - { os: "windows", target: "windows-aarch64", runner: "github-windows-11-aarch64-4" } + - { + os: "windows", + target: "windows-x86_64", + runner: "windows-latest", + } + - { + os: "windows", + target: "windows-aarch64", + runner: "github-windows-11-aarch64-4", + } - { os: "macos", target: "macos-aarch64", runner: "macos-14" } steps: - uses: actions/checkout@v4 From 002c9fca1587f83f3135c21e235b1b1697c29b3f Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Tue, 21 Jan 2025 17:10:25 -0600 Subject: [PATCH 28/35] Fix job --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1bcedb8e32e1..6cfc4fb32d63 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -699,7 +699,7 @@ jobs: smoke-test-windows: timeout-minutes: 10 - needs: build-binary-windows + needs: build-binary-windows-x86_64 name: "smoke test | windows x86_64" runs-on: windows-latest steps: From ef45b12f349865de74ebe7fc7b12c927b2def278 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Wed, 22 Jan 2025 00:20:59 -0600 Subject: [PATCH 29/35] Use smaller runner --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6cfc4fb32d63..2604d92e7a7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -514,7 +514,7 @@ jobs: timeout-minutes: 25 if: ${{ github.repository == 'astral-sh/uv' && !contains(github.event.pull_request.labels.*.name, 'no-test') && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }} runs-on: - labels: windows-latest-large + labels: windows-latest name: "build binary | windows aarch64" steps: - uses: actions/checkout@v4 From 43bb8660cd422e87c68f577748d36551db1b2dbc Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Wed, 22 Jan 2025 00:45:56 -0600 Subject: [PATCH 30/35] Fix upload; adjust CI jobs --- .github/workflows/ci.yml | 282 ++++----------------------------------- 1 file changed, 27 insertions(+), 255 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2604d92e7a7b..fadc7d575b5e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -542,7 +542,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: uv-windows-aarch64-${{ github.sha }} - path: target/aarch64-pc-windows-msvc/debug/uv.exe + path: ${{ env.UV_WORKSPACE }}/target/aarch64-pc-windows-msvc/debug/uv.exe retention-days: 1 cargo-build-msrv: @@ -697,7 +697,7 @@ jobs: eval "$(./uv generate-shell-completion bash)" eval "$(./uvx --generate-shell-completion bash)" - smoke-test-windows: + smoke-test-windows-x86_64: timeout-minutes: 10 needs: build-binary-windows-x86_64 name: "smoke test | windows x86_64" @@ -717,6 +717,26 @@ jobs: (& ./uv generate-shell-completion powershell) | Out-String | Invoke-Expression (& ./uvx --generate-shell-completion powershell) | Out-String | Invoke-Expression + smoke-test-windows-aarch64: + timeout-minutes: 10 + needs: build-binary-windows-aarch64 + name: "smoke test | windows aarch64" + runs-on: windows-latest + steps: + - name: "Download binary" + uses: actions/download-artifact@v4 + with: + name: uv-windows-aarch64-${{ github.sha }} + + - name: "Smoke test" + working-directory: ${{ env.UV_WORKSPACE }} + run: | + ./uv venv -v + ./uv pip install ruff -v + ./uvx -v ruff --version + (& ./uv generate-shell-completion powershell) | Out-String | Invoke-Expression + (& ./uvx --generate-shell-completion powershell) | Out-String | Invoke-Expression + integration-test-conda: timeout-minutes: 10 needs: build-binary-linux @@ -888,54 +908,6 @@ jobs: ./uv run python -c "" ./uv run -p 3.13t python -c "" - integration-test-free-threaded-windows-aarch64: - timeout-minutes: 10 - needs: build-binary-windows-aarch64 - name: "integration test | free-threaded on windows" - runs-on: github-windows-11-aarch64-4 - env: - # Avoid debug build stack overflows. - UV_STACK_SIZE: 3000000 # 3 megabyte, triple the default on windows - - steps: - - name: "Download binary" - uses: actions/download-artifact@v4 - with: - name: uv-windows-aarch64-${{ github.sha }} - - - name: "Install free-threaded Python via uv" - run: | - ./uv python install -v 3.13t - - - name: "Create a virtual environment (stdlib)" - run: | - & (./uv python find 3.13t) -m venv .venv - - - name: "Check version (stdlib)" - run: | - .venv/Scripts/python --version - - - name: "Create a virtual environment (uv)" - run: | - ./uv venv -p 3.13t --python-preference only-managed - - - name: "Check version (uv)" - run: | - .venv/Scripts/python --version - - - name: "Check is free-threaded" - run: | - .venv/Scripts/python -c "import sys; exit(1) if sys._is_gil_enabled() else exit(0)" - - - name: "Check install" - run: | - ./uv pip install -v anyio - - - name: "Check uv run" - run: | - ./uv run python -c "" - ./uv run -p 3.13t python -c "" - integration-test-pypy-linux: timeout-minutes: 10 needs: build-binary-linux @@ -1063,66 +1035,6 @@ jobs: run: | .\uv.exe pip install anyio - integration-test-pypy-windows-aarch64: - timeout-minutes: 10 - needs: build-binary-windows-aarch64 - name: "integration test | pypy on windows" - runs-on: github-windows-11-aarch64-4 - - steps: - - name: "Download binary" - uses: actions/download-artifact@v4 - with: - name: uv-windows-aarch64-${{ github.sha }} - - - name: "Install PyPy" - run: .\uv.exe python install pypy3.9 - - - name: "Create a virtual environment" - run: | - .\uv.exe venv -p pypy3.9 --python-preference only-managed - - - name: "Check for executables" - shell: python - run: | - import sys - from pathlib import Path - - def binary_exist(binary): - binaries_path = Path(".venv\\Scripts") - if (binaries_path / binary).exists(): - return True - print(f"Executable '{binary}' not found in folder '{binaries_path}'.") - - all_found = True - expected_binaries = [ - "pypy3.9.exe", - "pypy3.9w.exe", - "pypy3.exe", - "pypyw.exe", - "python.exe", - "python3.9.exe", - "python3.exe", - "pythonw.exe", - ] - for binary in expected_binaries: - if not binary_exist(binary): - all_found = False - - if not all_found: - print("One or more expected executables were not found.") - sys.exit(1) - - - name: "Check version" - run: | - & .venv\Scripts\pypy3.9.exe --version - & .venv\Scripts\pypy3.exe --version - & .venv\Scripts\python.exe --version - - - name: "Check install" - run: | - .\uv.exe pip install anyio - integration-test-graalpy-linux: timeout-minutes: 10 needs: build-binary-linux @@ -1255,66 +1167,6 @@ jobs: run: | .\uv.exe pip install anyio - integration-test-graalpy-windows-aarch64: - timeout-minutes: 10 - needs: build-binary-windows-aarch64 - name: "integration test | graalpy on windows" - runs-on: github-windows-11-aarch64-4 - - steps: - - uses: timfel/setup-python@fc9bcb4a04f5b1ea7d678c2ca7ea1c479a2468d7 - with: - python-version: "graalpy24.1" - - - name: "Download binary" - uses: actions/download-artifact@v4 - with: - name: uv-windows-aarch64-${{ github.sha }} - - - name: Graalpy info - run: Get-Command graalpy - - - name: "Create a virtual environment" - run: | - $graalpy = (Get-Command graalpy).source - .\uv.exe venv -p $graalpy - - - name: "Check for executables" - shell: python - run: | - import sys - from pathlib import Path - - def binary_exist(binary): - binaries_path = Path(".venv\\Scripts") - if (binaries_path / binary).exists(): - return True - print(f"Executable '{binary}' not found in folder '{binaries_path}'.") - - all_found = True - expected_binaries = [ - "graalpy.exe", - "python.exe", - "python3.exe", - ] - for binary in expected_binaries: - if not binary_exist(binary): - all_found = False - - if not all_found: - print("One or more expected executables were not found.") - sys.exit(1) - - - name: "Check version" - run: | - & .venv\Scripts\graalpy.exe --version - & .venv\Scripts\python3.exe --version - & .venv\Scripts\python.exe --version - - - name: "Check install" - run: | - .\uv.exe pip install anyio - integration-test-github-actions: timeout-minutes: 10 needs: build-binary-linux @@ -1821,10 +1673,10 @@ jobs: - name: "Validate global Python install" run: py -3.10 ./scripts/check_system_python.py --uv ./uv.exe - system-test-windows-python-310-aarch64: + system-test-windows-aarch64-python-313: timeout-minutes: 10 needs: build-binary-windows-aarch64 - name: "check system | python3.10 on windows aarch64" + name: "check system | python3.13 on windows aarch64" runs-on: github-windows-11-aarch64-4 env: # Avoid debug build stack overflows. @@ -1834,7 +1686,7 @@ jobs: - uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.13" - name: "Download binary" uses: actions/download-artifact@v4 @@ -1845,9 +1697,9 @@ jobs: run: echo $(which python) - name: "Validate global Python install" - run: py -3.10 ./scripts/check_system_python.py --uv ./uv.exe + run: py -3.13 ./scripts/check_system_python.py --uv ./uv.exe - system-test-windows-x86-python-310: + system-test-windows-x86_64-python-310: timeout-minutes: 10 needs: build-binary-windows-x86_64 name: "check system | python3.10 on windows x86" @@ -1871,33 +1723,6 @@ jobs: - name: "Validate global Python install" run: python ./scripts/check_system_python.py --uv ./uv.exe - system-test-windows-aarch64-python-310: - timeout-minutes: 10 - needs: build-binary-windows-aarch64 - name: "check system | python3.10 on windows aarch64" - runs-on: github-windows-11-aarch64-4 - env: - # Avoid debug build stack overflows. - UV_STACK_SIZE: 3000000 # 3 megabyte, triple the default on windows - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-python@v5 - with: - python-version: "3.10" - architecture: "aarch64" - - - name: "Download binary" - uses: actions/download-artifact@v4 - with: - name: uv-windows-aarch64-${{ github.sha }} - - - name: "Print Python path" - run: echo $(which python) - - - name: "Validate global Python install" - run: python ./scripts/check_system_python.py --uv ./uv.exe - system-test-windows-x86_64-python-313: timeout-minutes: 10 needs: build-binary-windows-x86_64 @@ -1923,34 +1748,6 @@ jobs: - name: "Validate global Python install" run: py -3.13 ./scripts/check_system_python.py --uv ./uv.exe - system-test-windows-aarch64-python-313: - timeout-minutes: 10 - needs: build-binary-windows-aarch64 - name: "check system | python3.13 on windows aarch64" - runs-on: github-windows-11-aarch64-4 - env: - # Avoid debug build stack overflows. - UV_STACK_SIZE: 3000000 # 3 megabyte, triple the default on windows - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-python@v5 - with: - python-version: "3.13" - allow-prereleases: true - cache: pip - - - name: "Download binary" - uses: actions/download-artifact@v4 - with: - name: uv-windows-aarch64-${{ github.sha }} - - - name: "Print Python path" - run: echo $(which python) - - - name: "Validate global Python install" - run: py -3.13 ./scripts/check_system_python.py --uv ./uv.exe - system-test-choco: timeout-minutes: 10 needs: build-binary-windows-x86_64 @@ -1973,31 +1770,6 @@ jobs: - name: "Validate global Python install" run: py -3.9 ./scripts/check_system_python.py --uv ./uv.exe - system-test-choco-aarch64: - timeout-minutes: 10 - needs: build-binary-windows-aarch64 - name: "check system | python3.12 via chocolatey" - runs-on: github-windows-11-aarch64-4 - env: - # Avoid debug build stack overflows. - UV_STACK_SIZE: 3000000 # 3 megabyte, triple the default on windows - steps: - - uses: actions/checkout@v4 - - - name: "Install Python" - run: choco install python3 --verbose --version=3.9.13 - - - name: "Download binary" - uses: actions/download-artifact@v4 - with: - name: uv-windows-aarch64-${{ github.sha }} - - - name: "Print Python path" - run: echo $(which python3) - - - name: "Validate global Python install" - run: py -3.9 ./scripts/check_system_python.py --uv ./uv.exe - system-test-pyenv: timeout-minutes: 10 needs: build-binary-linux From 857c4e8fc6a8e4884211db8346ed8eced40e8ea4 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Wed, 22 Jan 2025 01:02:20 -0600 Subject: [PATCH 31/35] More fixes Most of these jobs fail due to the minimal runners --- .github/workflows/ci.yml | 76 +++------------------------------------- 1 file changed, 5 insertions(+), 71 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fadc7d575b5e..d1a0b3c89d76 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -721,7 +721,7 @@ jobs: timeout-minutes: 10 needs: build-binary-windows-aarch64 name: "smoke test | windows aarch64" - runs-on: windows-latest + runs-on: github-windows-11-aarch64-4 steps: - name: "Download binary" uses: actions/download-artifact@v4 @@ -1673,32 +1673,6 @@ jobs: - name: "Validate global Python install" run: py -3.10 ./scripts/check_system_python.py --uv ./uv.exe - system-test-windows-aarch64-python-313: - timeout-minutes: 10 - needs: build-binary-windows-aarch64 - name: "check system | python3.13 on windows aarch64" - runs-on: github-windows-11-aarch64-4 - env: - # Avoid debug build stack overflows. - UV_STACK_SIZE: 3000000 # 3 megabyte, triple the default on windows - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-python@v5 - with: - python-version: "3.13" - - - name: "Download binary" - uses: actions/download-artifact@v4 - with: - name: uv-windows-aarch64-${{ github.sha }} - - - name: "Print Python path" - run: echo $(which python) - - - name: "Validate global Python install" - run: py -3.13 ./scripts/check_system_python.py --uv ./uv.exe - system-test-windows-x86_64-python-310: timeout-minutes: 10 needs: build-binary-windows-x86_64 @@ -1843,11 +1817,10 @@ jobs: needs: [ build-binary-windows-x86_64, - build-binary-windows-aarch64, build-binary-macos-aarch64, build-binary-linux, ] - name: check system | conda${{ matrix.python-version }} on ${{ matrix.os }} + name: check system | conda${{ matrix.python-version }} on ${{ matrix.os }} {{ matrix.arch }} runs-on: ${{ matrix.runner }} strategy: fail-fast: false @@ -1855,18 +1828,14 @@ jobs: os: ["linux", "windows", "macos"] python-version: ["3.8", "3.11"] include: - - { os: "linux", target: "linux", runner: "ubuntu-latest" } + - { os: "linux", target: "linux", runner: "ubuntu-latest", arch: "x86_64" } - { os: "windows", target: "windows-x86_64", runner: "windows-latest", + arch: "x86_64" } - - { - os: "windows", - target: "windows-aarch64", - runner: "github-windows-11-aarch64-4", - } - - { os: "macos", target: "macos-aarch64", runner: "macos-14" } + - { os: "macos", target: "macos-aarch64", runner: "macos-14", arch: "aarch64" } steps: - uses: actions/checkout@v4 @@ -1962,41 +1931,6 @@ jobs: - name: "Validate embedded Python install" run: python ./scripts/check_embedded_python.py --uv ./uv.exe - system-test-windows-embedded-python-310-aarch64: - timeout-minutes: 10 - needs: build-binary-windows-aarch64 - name: "check system | embedded python3.10 on windows aarch64" - runs-on: github-windows-11-aarch64-4 - env: - # Avoid debug build stack overflows. - UV_STACK_SIZE: 3000000 # 3 megabyte, triple the default on windows - steps: - - uses: actions/checkout@v4 - - - name: "Download binary" - uses: actions/download-artifact@v4 - with: - name: uv-windows-aarch64-${{ github.sha }} - - # Download embedded Python. - - name: "Download embedded Python" - run: curl -LsSf https://www.python.org/ftp/python/3.11.8/python-3.11.8-embed-arm64.zip -o python-3.11.8-embed-arm64.zip - - - name: "Unzip embedded Python" - run: 7z x python-3.11.8-embed-arm64.zip -oembedded-python - - - name: "Show embedded Python contents" - run: ls embedded-python - - - name: "Set PATH" - run: echo "${{ github.workspace }}\embedded-python" >> $env:GITHUB_PATH - - - name: "Print Python path" - run: echo "${{ github.workspace }}\embedded-python" >> $env:GITHUB_PATH; echo $(which python) - - - name: "Validate embedded Python install" - run: echo "${{ github.workspace }}\embedded-python" >> $env:GITHUB_PATH; python ./scripts/check_embedded_python.py --uv ./uv.exe - benchmarks: runs-on: ubuntu-latest needs: determine_changes From 7eb2d2e2d366b60170dd891c41f6e032ae47bc1f Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Wed, 22 Jan 2025 01:05:09 -0600 Subject: [PATCH 32/35] lint --- .github/workflows/ci.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d1a0b3c89d76..f5a4b01ffdcd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1828,14 +1828,24 @@ jobs: os: ["linux", "windows", "macos"] python-version: ["3.8", "3.11"] include: - - { os: "linux", target: "linux", runner: "ubuntu-latest", arch: "x86_64" } + - { + os: "linux", + target: "linux", + runner: "ubuntu-latest", + arch: "x86_64", + } - { os: "windows", target: "windows-x86_64", runner: "windows-latest", - arch: "x86_64" + arch: "x86_64", + } + - { + os: "macos", + target: "macos-aarch64", + runner: "macos-14", + arch: "aarch64", } - - { os: "macos", target: "macos-aarch64", runner: "macos-14", arch: "aarch64" } steps: - uses: actions/checkout@v4 From 668b5cce69a3922c01bde79aaaa5d975fd349c03 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Wed, 22 Jan 2025 01:14:03 -0600 Subject: [PATCH 33/35] Add uvx --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f5a4b01ffdcd..6096c42282ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -542,7 +542,9 @@ jobs: uses: actions/upload-artifact@v4 with: name: uv-windows-aarch64-${{ github.sha }} - path: ${{ env.UV_WORKSPACE }}/target/aarch64-pc-windows-msvc/debug/uv.exe + path: | + ${{ env.UV_WORKSPACE }}/target/aarch64-pc-windows-msvc/debug/uv.exe + ${{ env.UV_WORKSPACE }}/target/aarch64-pc-windows-msvc/debug/uvx.exe retention-days: 1 cargo-build-msrv: From 1ab6005903bcb450409c435689328babdc2ff693 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Wed, 22 Jan 2025 22:22:57 -0600 Subject: [PATCH 34/35] Revert `Cargo.lock` changes --- Cargo.lock | 68 +++++++++++++++++++++++++++--------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0710bdfd127a..88ad7ea2bcb0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -352,9 +352,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.7.0" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1be3f42a67d6d345ecd59f675f3f012d6974981560836e938c22b424b85ce1be" +checksum = "8f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36" [[package]] name = "block-buffer" @@ -684,7 +684,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "117725a109d387c937a1533ce01b450cbde6b88abceea8473c4d7a85853cda3c" dependencies = [ "lazy_static", - "windows-sys 0.59.0", + "windows-sys 0.48.0", ] [[package]] @@ -873,9 +873,9 @@ dependencies = [ [[package]] name = "data-encoding" -version = "2.6.0" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" +checksum = "0e60eed09d8c01d3cee5b7d30acb059b76614c918fa0f992e0dd6eeb10daad6f" [[package]] name = "data-url" @@ -1038,7 +1038,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" dependencies = [ "libc", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -1370,7 +1370,7 @@ version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0bf760ebf69878d9fd8f110c89703d90ce35095324d1f1edcb595c63945ee757" dependencies = [ - "bitflags 2.7.0", + "bitflags 2.8.0", "ignore", "walkdir", ] @@ -1783,9 +1783,9 @@ checksum = "b72ad49b554c1728b1e83254a1b1565aea4161e28dabbfa171fc15fe62299caf" [[package]] name = "indexmap" -version = "2.7.0" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f" +checksum = "8c9c992b02b5b4c94ea26e32fe5bccb7aa7d9f390ab5c1221ff895bc7ea8b652" dependencies = [ "equivalent", "hashbrown 0.15.2", @@ -1903,29 +1903,29 @@ checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" [[package]] name = "jiff" -version = "0.1.22" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c258647f65892e500c2478ef2c71ba008e7dc1774a8289345adbbb502a4def1" +checksum = "d2bb0c2e28117985a4d90e3bc70092bc8f226f434c7ec7e23dd9ff99c5c5721a" dependencies = [ "jiff-tzdb-platform", "log", "portable-atomic", "portable-atomic-util", "serde", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] name = "jiff-tzdb" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91335e575850c5c4c673b9bd467b0e025f164ca59d0564f69d0c2ee0ffad4653" +checksum = "cf2cec2f5d266af45a071ece48b1fb89f3b00b2421ac3a5fe10285a6caaa60d3" [[package]] name = "jiff-tzdb-platform" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9835f0060a626fe59f160437bc725491a6af23133ea906500027d1bd2f8f4329" +checksum = "a63c62e404e7b92979d2792352d885a7f8f83fd1d0d31eea582d77b2ceca697e" dependencies = [ "jiff-tzdb", ] @@ -2027,7 +2027,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ - "bitflags 2.7.0", + "bitflags 2.8.0", "libc", "redox_syscall 0.5.8", ] @@ -2280,7 +2280,7 @@ version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" dependencies = [ - "bitflags 2.7.0", + "bitflags 2.8.0", "cfg-if", "cfg_aliases", "libc", @@ -2701,7 +2701,7 @@ version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cc5b72d8145275d844d4b5f6d4e1eef00c8cd889edb6035c21675d1bb1f45c9f" dependencies = [ - "bitflags 2.7.0", + "bitflags 2.8.0", "flate2", "hex", "procfs-core", @@ -2714,7 +2714,7 @@ version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "239df02d8349b06fc07398a3a1697b06418223b1c7725085e801e7c0fc6a12ec" dependencies = [ - "bitflags 2.7.0", + "bitflags 2.8.0", "hex", ] @@ -2800,7 +2800,7 @@ dependencies = [ "once_cell", "socket2", "tracing", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -2907,7 +2907,7 @@ version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834" dependencies = [ - "bitflags 2.7.0", + "bitflags 2.8.0", ] [[package]] @@ -3234,11 +3234,11 @@ version = "0.38.43" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a78891ee6bf2340288408954ac787aa063d8e8817e9f53abb37c695c6d834ef6" dependencies = [ - "bitflags 2.7.0", + "bitflags 2.8.0", "errno", "libc", "linux-raw-sys", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -3399,7 +3399,7 @@ version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "81d3f8c9bfcc3cbb6b0179eb57042d75b1582bdc65c3cb95f3fa999509c03cbc" dependencies = [ - "bitflags 2.7.0", + "bitflags 2.8.0", "core-foundation", "core-foundation-sys", "libc", @@ -3477,9 +3477,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.135" +version = "1.0.137" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b0d7ba2887406110130a978386c4e1befb98c674b4fba677954e4db976630d9" +checksum = "930cfb6e6abf99298aaad7d29abbef7a9999a9a8806a40088f55f0dcec03146b" dependencies = [ "itoa", "memchr", @@ -3574,9 +3574,9 @@ checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" [[package]] name = "similar" -version = "2.6.0" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1de1d4f81173b03af4c0cbed3c898f6bff5b870e4a7f5d6f4057d62a7a4b686e" +checksum = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa" [[package]] name = "simplecss" @@ -3807,7 +3807,7 @@ dependencies = [ "getrandom", "once_cell", "rustix", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -3871,9 +3871,9 @@ dependencies = [ [[package]] name = "test-log" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dffced63c2b5c7be278154d76b479f9f9920ed34e7574201407f0b14e2bbb93" +checksum = "e7f46083d221181166e5b6f6b1e5f1d499f3a76888826e6cb1d057554157cd0f" dependencies = [ "test-log-macros", "tracing-subscriber", @@ -5021,7 +5021,7 @@ version = "0.0.1" dependencies = [ "anyhow", "arcstr", - "bitflags 2.7.0", + "bitflags 2.8.0", "fs-err 3.0.0", "itertools 0.14.0", "jiff", @@ -6015,7 +6015,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.48.0", ] [[package]] From e50050eb722735dba2b0e28c873792f840729ba4 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Wed, 22 Jan 2025 22:24:49 -0600 Subject: [PATCH 35/35] Use `-` for x86-64 instead of `_` in display names --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6096c42282ed..b09566722e08 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1629,7 +1629,7 @@ jobs: system-test-macos-x86_64: timeout-minutes: 10 needs: build-binary-macos-x86_64 - name: "check system | python on macos x86_64" + name: "check system | python on macos x86-64" runs-on: macos-13 # github-macos-13-x86_64-4 steps: - uses: actions/checkout@v4 @@ -1655,7 +1655,7 @@ jobs: system-test-windows-python-310: timeout-minutes: 10 needs: build-binary-windows-x86_64 - name: "check system | python3.10 on windows x86_64" + name: "check system | python3.10 on windows x86-64" runs-on: windows-latest steps: - uses: actions/checkout@v4 @@ -1702,7 +1702,7 @@ jobs: system-test-windows-x86_64-python-313: timeout-minutes: 10 needs: build-binary-windows-x86_64 - name: "check system | python3.13 on windows x86_64" + name: "check system | python3.13 on windows x86-64" runs-on: windows-latest steps: - uses: actions/checkout@v4 @@ -1834,13 +1834,13 @@ jobs: os: "linux", target: "linux", runner: "ubuntu-latest", - arch: "x86_64", + arch: "x86-64", } - { os: "windows", target: "windows-x86_64", runner: "windows-latest", - arch: "x86_64", + arch: "x86-64", } - { os: "macos", @@ -1914,7 +1914,7 @@ jobs: system-test-windows-embedded-python-310: timeout-minutes: 10 needs: build-binary-windows-x86_64 - name: "check system | embedded python3.10 on windows x86_64" + name: "check system | embedded python3.10 on windows x86-64" runs-on: windows-latest steps: - uses: actions/checkout@v4