Skip to content
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

Add UV_NO_SYNC environment variable #7752

Merged
merged 1 commit into from
Sep 28, 2024

Conversation

adisbladis
Copy link
Contributor

Summary

I have a workflow where I want use uv as a dependency solver only, and manage my environments with external tooling (Nix).

Test Plan

Manually tested. Automated testing seems excessive for such a trivial change.

Problems

It's still not as useful as I'd like it to be.
uv uncondtionally creates a virtual environment, something I would expect that --no-sync should disable.
This looks a bit more tricky to achieve and I'm not sure about how to best structure it.

I have a workflow where I want use `uv` as a dependency solver only, and manage my environments with external tooling (Nix).
@charliermarsh
Copy link
Member

I think --no-sync should probably avoid creating a virtual environment.

@charliermarsh charliermarsh merged commit 9f981c9 into astral-sh:main Sep 28, 2024
61 checks passed
@charliermarsh charliermarsh added the configuration Settings and such label Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configuration Settings and such
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants