Skip to content

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

Merged
pull[bot] merged 3 commits intogarymm:mainfrom
bazel-contrib:main
Mar 14, 2026
Merged

[pull] main from bazel-contrib:main#547
pull[bot] merged 3 commits intogarymm:mainfrom
bazel-contrib:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Mar 14, 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 : )

rickeylev and others added 3 commits March 14, 2026 01:12
Supporting Windows without full symlink support is quite difficult
because we rely on symlinks in many places. Since Windows support is
mediocre already, just require symlinks to be enabled. Symlink support
in Windows has been around for a long time now and is available via
non-admin mechanisms such as DevMode.
This makes the logic in the parser a little bit more sophisticated, but
we also start handling the yank reason. With this the yank reason will
be present in the logs, which should be a usability improvement.

The `yanked` attribute will be None if the package is not yanked and a
string value if it is yanked. An empty string value should be treated
as "yanked with no reason provided".

This implementation assumes that we have HTML escaped sequences as tag
values. It also un-escapes them when returning the strings.

The possibilities that it gives us are, but out of scope for this PR:
- Use the `data-requires-python` to potentially discard any Python
  packages that are unsupported in the `select_whl` function.
- Also retrieve the provenance attributes if they are supported.

Work towards #260.
Work towards #2731.
This PR adds functionality needed to write data that we find useful on
the
SimpleAPI responses to the lock file. I.e. this will no longer connect
to
the network if it can find the necessary information in the lock file.

Superseeds #3559
Fixes #2731

---------

Co-authored-by: Richard Levasseur <rlevasseur@google.com>
@pull pull Bot locked and limited conversation to collaborators Mar 14, 2026
@pull pull Bot added the ⤵️ pull label Mar 14, 2026
@pull pull Bot merged commit 3ed161f into garymm:main Mar 14, 2026
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.

2 participants