-
-
Notifications
You must be signed in to change notification settings - Fork 272
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
Maturin develop always rebuilds every dependency #504
Comments
Could you check the output of |
@konstin I don't see anything unusual in the output:
I wonder if it has to do with that I put the recommended OSX fixes in
|
The last few times I have not been able to reproduce this, and it seems |
I see this issue on my setup. I also noticed that maturin seems to ignore the flags
However, even without these flags I see a rebuild of the python bindings whenever I have compiled some other crate in the same workspace... |
This might be relevant: PyO3/pyo3#1708 |
So am I reading this correctly that this is currently waiting on rust-lang/rustup#2849 (comment)? |
I'm not sure. I used to build my python bindings without maturin and never encountered this issue from what I remembered. |
The problem (and also cargo rebuilding way to much in other circumstances) always confuses me, because maturin is just passing some arguments like you normally and also i don't understand how to get cargo to tell me why it's recompiling |
The only "fix" that works for me is to set |
I was able to repro this and narrow it down Ofc recompiles are a complex issue that appears as a symptom that can have many causes, so your mileage may vary. |
I now only see pyo3 being rebuild. But it happens consistently whenever I run |
Please provide the following information:
python -V
): 3.7pip -V
): 19.2.3pyo3
,rust-cpython
orcffi
):cargo build
work? yes/
)?Please list the exact steps required to reproduce your error with all command output and if possible with a repository:
My crate has 280 dependencies. When I run
Maturin develop
it always rebuilds every single one, even when I don't change the dependencies.... it's almost like it is running clean every time. Is there a way to not rebuild all the deps?thanks
The text was updated successfully, but these errors were encountered: