From 15676f7acd233a2c79877ece2f19f1aafda2e48d Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Tue, 4 Aug 2026 10:47:09 -0500 Subject: [PATCH] Revert "Add docker integration test for Windows NanoServer entrypoint installation" --- .github/workflows/test-integration.yml | 21 ----------------- test/integration/windows-nanoserver.ps1 | 31 ------------------------- 2 files changed, 52 deletions(-) delete mode 100644 test/integration/windows-nanoserver.ps1 diff --git a/.github/workflows/test-integration.yml b/.github/workflows/test-integration.yml index 0e70ac19c3c..419817dddae 100644 --- a/.github/workflows/test-integration.yml +++ b/.github/workflows/test-integration.yml @@ -790,27 +790,6 @@ jobs: ghcr.io/astral-sh/termux-python:latest \ /entrypoint.sh bash /test-termux.sh - integration-test-windows-nanoserver: - name: "windows nanoserver" - timeout-minutes: 15 - runs-on: windows-latest - steps: - - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - with: - persist-credentials: false - - - name: "Download binary" - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 - with: - name: uv-windows-x86_64-${{ inputs.sha }} - - - name: "Run uv on Windows NanoServer" - run: | - docker run --rm ` - -v "${{ github.workspace }}:C:\uv" ` - mcr.microsoft.com/powershell:lts-nanoserver-ltsc2022 ` - pwsh -ExecutionPolicy Bypass -File C:\uv\test\integration\windows-nanoserver.ps1 - integration-test-github-actions: name: "github actions" timeout-minutes: 10 diff --git a/test/integration/windows-nanoserver.ps1 b/test/integration/windows-nanoserver.ps1 deleted file mode 100644 index 8ef1f01b8f4..00000000000 --- a/test/integration/windows-nanoserver.ps1 +++ /dev/null @@ -1,31 +0,0 @@ -$ErrorActionPreference = "Stop" - -# Test that uv can install packages with entrypoints on Windows NanoServer. -# -# Windows NanoServer does not support the `BeginUpdateResourceW`, -# `UpdateResourceW`, and `EndUpdateResourceW` APIs that are used to embed -# metadata in trampoline executables. uv must fall back to the legacy -# trampoline format on this platform. -# -# See: https://github.com/astral-sh/uv/issues/18663 - -Write-Host "Testing uv on Windows NanoServer" - -# Add the mounted binary directory to PATH -$env:PATH = "C:\uv;" + $env:PATH - -# Verify uv is available -uv --version -if ($LASTEXITCODE -ne 0) { throw "uv --version failed" } - -# Create a temporary project -uv init C:\test-project -if ($LASTEXITCODE -ne 0) { throw "uv init failed" } - -# Install a package that has console_scripts entry points. -# `pytest` is a pure-Python package that registers a `pytest` console script, -# which exercises the trampoline creation code path. -uv --directory C:\test-project add pytest -if ($LASTEXITCODE -ne 0) { throw "uv add pytest failed" } - -Write-Host "Successfully installed package with entrypoints on Windows NanoServer"