-
Notifications
You must be signed in to change notification settings - Fork 955
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
Don't pull foreign cargo packages into workspace #2491
Comments
@konstin -- any ideas? |
(This is not the cause of #2490.) |
This is a general cargo behavior,
fails. There seems to be no way to exclude all packages, i've put a feature request upstream: rust-lang/cargo#13600 |
Yeah we need some sort of isolated flag. |
@konstin - I guess we could add an empty |
Does that affect anyone but us when we're developing and putting the cache inside for the uv checkout? |
To be clear, this only affects workflows in which the user puts the cache in the same directory as their project, and their project is a Cargo workspace. |
what can i do to overcome this error? @charliermarsh |
We are also interested in this... 😅 |
This issue is the only reason we stopped using uv. Is there any fix available? |
Can you share why you're placing the uv cache inside your project? |
I don't try to do anything specific. I just run 'pip install -r requirements' in uv env and this cargo error raises |
Can you share the error? |
If you do
cargo run pip install deptry --no-binary deptry --cache-dir foo
from theuv
directory:We need a way to "stop" Maturin from thinking it's in a workspace.
The text was updated successfully, but these errors were encountered: