FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Avoid ensurepip failures in Windows artifact builds by Copilot · Pull Request #37 · ansys/ansys-pythonnet · GitHub

Repository navigation

Avoid ensurepip failures in Windows artifact builds - #37

Merged
RobPasMue merged 2 commits into
mainfrom
copilot/fix-github-actions-build-test-windows-x64
Oct 12, 2026
Merged

RobPasMue merged 2 commits into
mainfrom
copilot/fix-github-actions-build-test-windows-x64

Conversation

Copilot AI commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

Windows x64 jobs on Python 3.11–3.13 fail during artifact packaging: build invokes ensurepip, whose bundled pip raises PermissionError [WinError 5] on the uv-managed Python directory.

  • Build installer: Use python -m build --installer uv across the CI matrix to bypass the failing pip bootstrap.
  • Scope: Reuse the existing uv installation; retain build isolation and Twine checks without adding virtualenv.

Co-authored-by: RobPasMue <37798125+RobPasMue@users.noreply.github.com>
Co-authored-by: RobPasMue <37798125+RobPasMue@users.noreply.github.com>
Copilot AI requested a review from RobPasMue October 12, 2026 13:18
RobPasMue marked this pull request as ready for review October 12, 2026 13:20
RobPasMue merged commit f0a06d2 into main Oct 12, 2026
39 checks passed
RobPasMue deleted the copilot/fix-github-actions-build-test-windows-x64 branch October 12, 2026 13:48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL