Skip to content

Commit

Permalink
Python: Better error message in pip-compile for bad Python version
Browse files Browse the repository at this point in the history
  • Loading branch information
greysteil committed Aug 7, 2019
1 parent 00e3296 commit 95e7412
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ def error_certainly_bad_python_version?(message)
end

def error_suggests_bad_python_version?(message)
return true if error_certainly_bad_python_version?(message)
return true if message.include?("not find a version that satisfies")
return true if message.include?("No matching distribution found")

Expand Down

0 comments on commit 95e7412

Please sign in to comment.