-
Notifications
You must be signed in to change notification settings - Fork 950
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build from source packages #9961
Comments
Since |
E.g. if I try to install pyside6 I get:
with
with |
@hoegge What's the Python version of the virtual environment you installed it in? Or, provide the --verbose output, it should be written there as well. |
@FishAlchemist Ah - can side the example was bad due to a type adding both pyside and pyside6. My first problem was installing pandasgui:
Where UV could not install but pip could. |
Please read some more about the resolver in https://docs.astral.sh/uv/concepts/resolution/ — we can't just fall back to installing for a single platform. Instead, we're making the resolver robust to these problems. See also
If you need help with a particular failing resolution, feel free to open a new issue with the details necessary to reproduce it. |
Feature Request: Add fallback to
pip
for building/installing packages from source inuv sync
Description
uv
is an amazing solution that significantly lowers entry barriers to Python development and package management. However, I have encountered scenarios whereuv sync
cannot install packages that require building from source (e.g., when no binary wheels are available).Currently, I need to manually install these packages using:
This workaround works but introduces a manual step, making the workflow less seamless.
Feature Request
Would it be possible for
uv sync
to fall back topip
(or an equivalent mechanism) when no binary wheels are available? For example:pip
(or build tools) to build the package from source.Benefits
uv
to remain the single command for dependency management.Thank you for considering this feature request! I’d be happy to provide more details or feedback if needed.
The text was updated successfully, but these errors were encountered: