Pip search fallback mechanism should catch Exception on the REST request

Description

The fallback mechanism uses the versions as returned by pip search if the PyPi REST API is not available.

Currently the fallback mechanism only falls back to pip search versions if the response code is != 200 when querying the PyPi REST API. However if requests fails due to other errors the fallback mechanism fails. In this jira all exceptions caused as a result of the REST request itself handled.

Assignee

Robin

Reporter

Robin

Labels

None

Fix versions

Affects versions

Priority

High
Configure