Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,6 @@ jobs:
build-binary-windows-aarch64:
needs: determine_changes
timeout-minutes: 25
if: ${{ !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
name: "build binary | windows aarch64"
Expand Down Expand Up @@ -2261,7 +2260,7 @@ jobs:
name: uv-windows-aarch64-${{ github.sha }}

- name: "Validate global Python install"
run: py -3.13 ./scripts/check_system_python.py --uv ./uv.exe
run: py -3.13-arm64 ./scripts/check_system_python.py --uv ./uv.exe

# Test our PEP 514 integration that installs Python into the Windows registry.
system-test-windows-registry:
Expand Down
10 changes: 8 additions & 2 deletions scripts/check_system_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def install_package(*, uv: str, package: str):
check=True,
)

logging.info(f"Checking that `{package}` can be imported.")
logging.info(f"Checking that `{package}` can be imported with `{sys.executable}`.")
code = subprocess.run(
[sys.executable, "-c", f"import {package}"],
cwd=temp_dir,
Expand Down Expand Up @@ -82,11 +82,17 @@ def install_package(*, uv: str, package: str):
)

# Ensure that the package (`pylint`) is installed.
logging.info("Checking that `pylint` is installed.")
logging.info(
f"Checking that `pylint` is installed with `{sys.executable} -m pip`."
)
code = subprocess.run(
[sys.executable, "-m", "pip", "show", "pylint"],
cwd=temp_dir,
)
subprocess.run(
["uv", "pip", "show", "--system", "--verbose", "pylint"],
cwd=temp_dir,
)
if code.returncode != 0:
raise Exception("The package `pylint` isn't installed (but should be).")

Expand Down
Loading