Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(gazelle) Register pyi_deps as ResolveAttrs #3037

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

Merged
merged 2 commits into from
Jun 30, 2025

Conversation

amartani
Copy link
Contributor

Fix an issue in #3014 where, when all type-checking dependencies are removed from a file, the corresponding target's pyi_deps doesn't get cleaned up. I traced this back to ResolveAttrs, though I'm not entirely sure of what other behaviors this may trigger. (Currently, removing deps from ResolveAttrs doesn't break any existing test case)

(No new changelog entry since this is a fix to an unreleased feature that is already in the changelog)

and a case of deps being only partially removed.
@amartani amartani requested a review from dougthor42 June 29, 2025 22:17
Copy link
Collaborator

@dougthor42 dougthor42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updated tests! Those look great.

@dougthor42 dougthor42 added this pull request to the merge queue Jun 30, 2025
Merged via the queue into bazel-contrib:main with commit 581cddc Jun 30, 2025
3 checks passed
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.

3 participants