Skip to content

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 bazel-contrib:main with commit 6883524 Dec 21, 2023
@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