-
Notifications
You must be signed in to change notification settings - Fork 541
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: pypi parse_simpleapi_html.bzl is robust to metadata containing ">" sign #2031
fix: pypi parse_simpleapi_html.bzl is robust to metadata containing ">" sign #2031
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
@mihaidusmanu, could you please rebase on latest The PR description would become a commit message, so feel free to clean it up a little, so that it looks better when reading git log. :) Thanks for the contribution! |
Hello @aignas - I just signed the CLA, updated the changelog and also tried to update the PR description. Regarding rebasing on latest main, I believe it is already up to date (?) |
2f39744
to
af2a5d8
Compare
I simplified the code using |
This PR modifies the logic for finding the end of the of the
tag metadata attributes in the pypi
parse_simpleapi_html
function.This was discovered after investigation of the following error:
which was traced back to the to a
data-requires-python
attribute containing a>
sign (instead of>
) in the Azure Artifacts pypi feed, e.g.:<a href="https://microsoft.pkgs.visualstudio.com/REDACTED_URL/six-1.16.0-py2.py3-none-any.whl#sha256=8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254" data-requires-python=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*">six-1.16.0-py2.py3-none-any.whl</a><br/>