We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c8898a6 + a1f8d83 commit ddd6ff7Copy full SHA for ddd6ff7
src/e3/python/pypi.py
@@ -276,7 +276,13 @@ def fetch_candidates(
276
"""
277
if identifier not in self.candidate_cache:
278
self.candidate_cache[identifier] = []
279
- project_links = self.fetch_project_links(identifier.split("@", 1)[0])
+ # When we are trying to fetch a PyPI candidate, we can just ignore errors.
280
+ # Indeed the goal of the current function is to create a list of candidate.
281
+ # A package that causes an Exception during parsing should not be
282
+ # considered as a valid candidate.
283
+ project_links = self.fetch_project_links(
284
+ identifier.split("@", 1)[0], ignore_errors=True
285
+ )
286
for link in project_links:
287
try:
288
c = PyPICandidate(
0 commit comments