-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Stalewaiting-on-reporterIssue is waiting on a reply from the reporter. It will be automatically cloesd if there is no reply.Issue is waiting on a reply from the reporter. It will be automatically cloesd if there is no reply.
Description
Environment:
- OS: Windows 11 (PowerShell)
- Python: 3.14.x
- Package manager: uv
Problem:
Running uv sync on Windows fails when building cffi==1.17.1.
From the dependency chain:
- toolbox depends on cryptography (v45.0.4)
- cryptography depends on cffi
- uv does not pick up a prebuilt Windows wheel for cffi
- instead, it falls back to building cffi from source
During the build step, the process fails with the following error:
Microsoft Visual C++ 14.0 or greater is required
The failure happens inside setuptools.build_meta.build_wheel,
specifically during MSVC environment detection in distutils.
Steps to reproduce:
- On a Windows machine without Microsoft C++ Build Tools installed
- Run:
uv sync
- The build fails while compiling cffi
Expected behavior:
- On Windows, a precompiled wheel for cffi should be used if available
- Or the documentation should clearly state that MSVC Build Tools are required on Windows
Suggestions:
- Ensure Windows wheels for cffi are properly resolved when using uv
- Or document the Windows build requirements explicitly in the README / install guide
This issue is easy to hit on fresh Windows environments or CI machines.
Sharing this for awareness and possible improvement. Thanks!
Metadata
Metadata
Assignees
Labels
Stalewaiting-on-reporterIssue is waiting on a reply from the reporter. It will be automatically cloesd if there is no reply.Issue is waiting on a reply from the reporter. It will be automatically cloesd if there is no reply.