mirror of
https://github.com/astral-sh/uv
synced 2026-01-22 05:50:25 -05:00
fixed uv can't create .venv for cpython-x86 on Windows (#2707)
Adaptation to the win32 platform is added. https://docs.python.org/3/library/sysconfig.html#sysconfig.get_platform ## Summary fixed uv can't create .venv for cpython-x86 on Windows [uv can't create .venv for cpython-x86 on Windows ](https://github.com/astral-sh/rye/issues/952) --------- Co-authored-by: Nashan <34827878+zhuang1234@users.noreply.github.com>
This commit is contained in:
26
.github/workflows/ci.yml
vendored
26
.github/workflows/ci.yml
vendored
@@ -543,6 +543,32 @@ jobs:
|
||||
- name: "Validate global Python install"
|
||||
run: py -3.10 ./scripts/check_system_python.py --uv ./uv.exe
|
||||
|
||||
system-test-windows-x86-python-310:
|
||||
needs: build-binary-windows
|
||||
name: "check system | python3.10 on windows x86"
|
||||
runs-on: windows-latest
|
||||
env:
|
||||
# Avoid debug build stack overflows.
|
||||
UV_STACK_SIZE: 2000000 # 2 megabyte, double the default on windows
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.10"
|
||||
architecture: "x86"
|
||||
|
||||
- name: "Download binary"
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: uv-windows-${{ 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-python-313:
|
||||
needs: build-binary-windows
|
||||
name: "check system | python3.13 on windows"
|
||||
|
||||
Reference in New Issue
Block a user