Bug#994045: Root cause of 994045

2021-10-20 Thread Stefano Rivera
Hi Michalik, (2021.09.11_01:54:07_-0700) > The try..except ladder in _get_html_page() uses > > > > while the exception raised by requests is > > > > and so pip does not recognize the two as equal. They *should* be the same, the pip._vendor mechanism should have put the requests whl on

Bug#994045: Root cause of 994045

2021-09-11 Thread Michalik, Blazej (Nokia - PL/Wroclaw)
Looks like the issue stems from pip._internal.index._get_html_page and imports in pip/_internal/index.py. The try..except ladder in _get_html_page() uses while the exception raised by requests is and so pip does not recognize the two as equal. The exception is propagated while normally it