KEMBAR78
Keep track of fine-grained deps for modules in typeshed by JukkaL · Pull Request #10034 · python/mypy · GitHub
Skip to content

Conversation

@JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Feb 5, 2021

Even if we assume that typeshed stubs don't change, we need the deps
when bringing in new stubs when following imports during a fine-grained
increment.

This fixes false positives when following imports to six and
requests.

Some modules are always part of the initial build, and we can still
skip generating deps for them, as an optimization.

I only tested this manually, since I couldn't figure out an easy way to
reproduce the issue in our tests.

Fixes #10033.

Even if we assume that typeshed stubs don't change, we need the deps
when bringing in new stubs when following imports during a fine-grained
increment.

This fixes false positives when following imports to `six` and
`requests`.

Some modules are always part of the initial build, and we can still
skip generating deps for them, as an optimization.

I only tested this manually, since I couldn't figure out an easy way to
reproduce the issue in our tests.

Fixes #10033.
@JukkaL JukkaL merged commit 55359ee into master Feb 5, 2021
@JukkaL JukkaL deleted the daemon-stdlib-deps branch February 5, 2021 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

False positives when following imports to six stubs in daemon

2 participants