Skip to content
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

fix: missing dependencies of py_binary #1630

Merged
merged 1 commit into from
Dec 21, 2023
Merged

Conversation

linzhp
Copy link
Contributor

@linzhp linzhp commented Dec 18, 2023

When multiple main modules import the same package, the package is only added to one of the main module's deps, this is because the allDeps set returned from parse removed the duplicates based on the import's name.

This PR have every main module maintains a list of deps it imports to avoid this issue.

@linzhp linzhp requested a review from f0rmiga as a code owner December 18, 2023 19:58
@linzhp linzhp changed the title fix: missing dependencies of main module fix: missing dependencies of py_binary Dec 20, 2023
@linzhp
Copy link
Contributor Author

linzhp commented Dec 20, 2023

@aignas in case you missed this PR

@aignas aignas added this pull request to the merge queue Dec 20, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 20, 2023
@aignas aignas added this pull request to the merge queue Dec 20, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 20, 2023
@aignas aignas added this pull request to the merge queue Dec 21, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 21, 2023
@aignas aignas added this pull request to the merge queue Dec 21, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 21, 2023
@aignas aignas added this pull request to the merge queue Dec 21, 2023
Merged via the queue into bazelbuild:main with commit 6883524 Dec 21, 2023
1 check passed
@linzhp linzhp deleted the main_deps branch December 21, 2023 16:03
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.

2 participants