Open isaacimholt opened 1 month ago
can you try https://devpi.my_company.net/root/namespace/+simple/
, without the package name in the url?
can you try
https://devpi.my_company.net/root/namespace/+simple/
, without the package name in the url?
Sorry about that it was a formatting error, the index url does not include the package name, I've edited the original post
Can you include some redacted content from https://devpi.my_company.net/root/namespace/+simple/my_package/? Are there a <a/>
elements without href
values?
Sorry for the late reply, here is the body of the page:
<body><h1>root/my_namespace: links for my_package</h1>
root/my_namespace <a href="../../+f/086/8962b8e5583b4/my_package-0.2.tar.gz#sha256=0868962b8e5583b4fb05e059025b9ed9b48b9e9499d75c9a800c987823579e78" data-requires-python=">=2.7">my_package-0.2.tar.gz</a><br>
root/my_namespace <a href="../../+f/abe/2ed2f4444082c/my_package-0.2-py2.py3-none-any.whl#sha256=abe2ed2f4444082cadbbd3debc9a1a14500a99d4f8771a2bd9622d9ac15de36e" data-requires-python=">=2.7">my_package-0.2-py2.py3-none-any.whl</a><br>
root/my_namespace <a href="../../+f/9b5/e4768d3dfc9a0/my_package-0.1.2.tar.gz#sha256=9b5e4768d3dfc9a014cad4ed92b320e4d30b5af6d676b780a5341946b6fc29cd" data-requires-python=">=2.7">my_package-0.1.2.tar.gz</a><br>
root/my_namespace <a href="../../+f/97f/3f532c81bc708/my_package-0.1.2-py2.py3-none-any.whl#sha256=97f3f532c81bc708cf4f1a8d29510d483dc6fedc1d3b889783310c8e9446e2d6" data-requires-python=">=2.7">my_package-0.1.2-py2.py3-none-any.whl</a><br>
root/my_namespace <a href="../../+f/159/86c1b2e850a56/my_package-0.1.1.tar.gz#sha256=15986c1b2e850a56eb8fd26e26956b6c0a5c186fcd01cc476dd23b9824511b7b" data-requires-python=">=2.7">my_package-0.1.1.tar.gz</a><br>
root/my_namespace <a href="../../+f/d58/c0ad2b9e84b4f/my_package-0.1.1-py2.py3-none-any.whl#sha256=d58c0ad2b9e84b4f5c3cfccab4d1dcc035cc71dc2f1ac46e9b9d4226d45930e8" data-requires-python=">=2.7">my_package-0.1.1-py2.py3-none-any.whl</a><br>
</body>
Unfortunately I can't reproduce this. Pasting that HTML into our HTML parser gives me the expected output.
I don't know if it helps since it sounds like you can see the package via pip, but I just got the same error and it was resolved by ensuring I was on the company VPN.
I am trying to use
uv
on a company project but it is not able to parse the package page. I suspect it is attempting to parse some javascript.I think I cannot paste the source of the page in question, but I searched for
<a
and I found 1 extra occurrence in some javascript which looks like this (this is under a<head><script type="text/javascript">
html section, if that is relevant):It works fine with
pip
, please let me know if you need any other information to resolve this issue.