I’ve got a `pip` related question, fishing for com...
# general
c
I’ve got a
pip
related question, fishing for community experiences/knowledge. 🎣
With the recent upgrade of
pip
we started to see things like this in our logs:
Copy code
00:00:41.302  Collecting ansicolors==1.1.8
00:00:41.302    Using cached <https://pypi>.<redacted>.se/packages/ansicolors/1.1.8/ansicolors-1.1.8-py2.py3-none-any.whl (13 kB)
00:00:41.302  warning: missing-index-doctype
00:00:41.302  
00:00:41.302  × The package index page being used does not have a proper HTML doctype declaration.
00:00:41.302  ╰─> Problematic URL: <https://pypi>.<redacted>.se/simple/ansicolors/
00:00:41.302  
00:00:41.302  note: This is an issue with the page at the URL mentioned above.
00:00:41.302  hint: You might need to reach out to the owner of that package index, to get this fixed. See <https://github.com/pypa/pip/issues/10825> for context.
Our
pypi
repo in this case is served by Nexus, but it seems it’s not the only one presenting this issue. The linked issue in that error, https://github.com/pypa/pip/issues/10825, does present a good deal of context and background info, but I’m curious about how this is handled in the wider community here.
f
I saw that as well. I’ve pinned
pip
at
21.3.1
to avoid dealing with this
🙈 1
👍 1
a
looks like they just fixed this https://issues.sonatype.org/browse/NEXUS-31057
👍 1
saw in another slack that you can use
--use-deprecated=html5lib
until that gets released
c
Thanks @acoustic-librarian-3937 We somehow must’ve missed that nexus issue. So there’ll be an upgrade path, that’s good news.
a
np!
🙏 1