Skip to content

[pull] main from bazel-contrib:main#486

Merged
pull[bot] merged 3 commits into
garymm:mainfrom
bazel-contrib:main
Jan 11, 2026
Merged

[pull] main from bazel-contrib:main#486
pull[bot] merged 3 commits into
garymm:mainfrom
bazel-contrib:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Jan 11, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Some packages like use `platlib` in the data to put the main files. This
PR is implementing correct handling of such packages by recursively
merging two trees. If we have any collisions, we will print an error
and stop. That is unlikely but better to be safe. Users can patch the
failure to be a warning if necessary.

In order to make this more testable, move the functions to a separate
file.

Fixes #3500
Fixes #2949 
To be cherry-picked as part of #3466
Before this PR the error message would not be super helpful and may
potentially make it hard to debug and report errors. This PR does the
following:
* Add a better error message which also adds comparison of the args with
  which we create the whl library.
* Add a test that ensures that the error message is legible and works.
* Add the necessary plumbing to logger to allow for testing error
  messages.

A proper fix requires more work, so just adding better logging and error
messages may be useful here.

Work towards #3479
@pull pull Bot locked and limited conversation to collaborators Jan 11, 2026
@pull pull Bot added the ⤵️ pull label Jan 11, 2026
@pull pull Bot merged commit 2398fcc into garymm:main Jan 11, 2026
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant