Skip to content

Add docker integration test for Windows NanoServer#13

Open
zaniebot wants to merge 2 commits intomainfrom
claude/add-docker-integration-test-fswQu
Open

Add docker integration test for Windows NanoServer#13
zaniebot wants to merge 2 commits intomainfrom
claude/add-docker-integration-test-fswQu

Conversation

@zaniebot
Copy link
Copy Markdown
Owner

Summary

  • Add a Docker integration test that verifies uv add works for packages with console_scripts entry points on Windows NanoServer
  • Windows NanoServer does not support the BeginUpdateResourceW / UpdateResourceW / EndUpdateResourceW APIs used to embed metadata in trampoline executables, causing ERROR_NOT_SUPPORTED (os error -2147024776)
  • The test runs uv init + uv add docxcompose inside a mcr.microsoft.com/powershell:lts-nanoserver-ltsc2022 container to reproduce the environment from the bug report

Test plan

  • Verify the CI job runs on windows-latest with Docker Windows containers
  • Confirm uv add docxcompose succeeds (or fails with the known error until a fix lands)
  • Validate the PowerShell test script runs correctly inside the NanoServer container

Closes astral-sh#18663

https://claude.ai/code/session_013vcS8BENMisjMctFbQCZVR

claude added 2 commits March 25, 2026 12:22
…ation

Add a test that verifies `uv add` works for packages with console_scripts
entry points on Windows NanoServer, where the `BeginUpdateResourceW` /
`UpdateResourceW` / `EndUpdateResourceW` APIs are not supported.

Closes astral-sh#18663

https://claude.ai/code/session_013vcS8BENMisjMctFbQCZVR
pytest is a pure-Python package with console_scripts entry points,
making it a cleaner test case that avoids potential native dependency
issues on NanoServer.

https://claude.ai/code/session_013vcS8BENMisjMctFbQCZVR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: ERROR_NOT_SUPPORTED when installing packages with entrypoints on Windows NanoServer docker image (regression since uv==0.9.9)

2 participants