-
Notifications
You must be signed in to change notification settings - Fork 3k
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
--use-deprecated=html5lib
does not parse links, even though they're present
#10845
Comments
When I run the same command under Pip 21.3.1 I see it runs a GET on |
--use-deprecated=html5lib
--use-deprecated=html5lib
--use-deprecated=html5lib
and Artifactory
Can you share the raw HTML document returned by Artifactory? Feel free to redact the URLs as appropriate. |
Already done in previous comment: #10845 (comment) |
I'm able to reproduce this, with just pip's parsing logic:
21.3.1
22.0
|
--use-deprecated=html5lib
and Artifactory--use-deprecated=html5lib
does not parse links, even though they're present
The issue seems to be simply that the HTML doesn't include a doctype (which seems to be required by PEP 503 and the HTML5 spec) I'm unsure whether this is something where we should be lenient in what we accept. Edit: Never mind, I missed that this was about the old parsing using html5lib. |
Description
When using Pip 22.0 with
--use-deprecated=html5lib
with JFrog as the Index packages pip throws the error:ERROR: No matching distribution found for requests
Tested with the "requests" package on Windows 10 using pip 22.0 (fails) and pip 21.3.1 (works)
Expected behavior
--use-deprecated=html5lib
should allow JFrog indexes to work.pip version
22.0
Python version
3.10
OS
Windows
How to Reproduce
Install package from JFrog index using pip 22.0
Output
Code of Conduct
The text was updated successfully, but these errors were encountered: