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

Skip to content

Conversation

amartani
Copy link
Contributor

Fix an issue in #3014 where a dependency may end up being added in both deps and pyi_deps, in cases where the regular and the type-checking import refer to different python modules on the same py_library target. Other cases are already deduplicated earlier on, but this case can only be deduplicated in the resolve phase.

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

@amartani amartani requested a review from dougthor42 June 29, 2025 21:54
@dougthor42 dougthor42 added this pull request to the merge queue Jun 29, 2025
Merged via the queue into bazel-contrib:main with commit 57f819c Jun 29, 2025
3 checks passed
amartani added a commit to benchling/rules_python that referenced this pull request Jul 8, 2025
…ntrib#3036)

Fix an issue in bazel-contrib#3014
where a dependency may end up being added in both `deps` and `pyi_deps`,
in cases where the regular and the type-checking import refer to
different python modules on the same `py_library` target. Other cases
are already deduplicated earlier on, but this case can only be
deduplicated in the resolve phase.

(No new changelog entry since this is a fix to an unreleased feature
that is already in the changelog)
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