-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Daemon should respect the rule that stubs are normal even with follow-imports=skip #5566
Comments
It looks like same happens with @gvanrossum could you give some hints about why this might happen? |
(The thing we saw internally with Bazel has a completely different cause, unrelated to this issue.) |
Yes, I just tried to look a bit more at this, and it looks like the root cause is simple actually: daemon never supposed to work with @JukkaL what do you think about this? Also it looks like I had some misunderstanding about how fine-grained tests work, it seems to me now that by default at every test step all the modules currently present are passed to |
@ilevkivskyi Hmm this is pretty unfortunate. On the other hand, this has been around for a long time before this got reported, so it doesn't seem that an urgent fix is needed. We can look at this in a few weeks when the core team will have a bug fixing spree. |
I've looked into this some and it is no easier to properly support |
This might be easier to fix now with the new follow-imports=normal stuff? |
This might be easier now, though I can't say how easy exactly without spending some time on this. |
This works now. |
Currently this test fails, presumably because the daemon applies
--follow-imports=skip
to stub files as well (while it shouldn't):This was found in #5556
@msullivan do you have any ideas why this may happen?
The text was updated successfully, but these errors were encountered: