Skip to content

GraalPy wheel build fails when using uv in build frontend on Windows #2754

Description

@joerick

When building GraalPy wheels with uv in the build frontend (build[uv] or uv), the build fails with a file-not-found error during get_requires_for_build_wheel. This was observed on Windows with both GraalPy 3.11 and 3.12.

Error message:

Building wheel...
× Failed to build
│ C:\Users\runneradmin\AppData\Local\Temp\pytest-of-runneradmin\pytest-1\popen-gw3\test_uv_0\project
├─▶ The build backend returned an error
╰─▶ Call to setuptools.build_meta:__legacy__.get_requires_for_build_wheel failed:
    failed to open file D:\_temp\setup-uv-cache\builds-v0\.tmpt0SnPs\get_requires_for_build_wheel.txt:
    The system cannot find the file specified. (os error 2) (exit code: 0)

cibuildwheel: C:\hostedtoolcache\windows\uv\0.10.7\x86_64\uv.EXE build --python=python C:\Users\runneradmin\AppData\Local\Temp\pytest-of-runneradmin\pytest-1\popen-gw3\test_uv_0\project --wheel --out-dir=C:\Users\runneradmin\AppData\Local\Temp\cibw-run-jhxnk6y1\gp312_250-win_amd64\built_wheel failed with code 2.

In #2741 I've skipped those tests and documented the known issue. But it would be nice to get to the bottom of this.

cc @timfel

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions