diff --git a/python/lib/dependabot/python/update_checker/pip_compile_version_resolver.rb b/python/lib/dependabot/python/update_checker/pip_compile_version_resolver.rb index defb7804bbe..683aa27f350 100644 --- a/python/lib/dependabot/python/update_checker/pip_compile_version_resolver.rb +++ b/python/lib/dependabot/python/update_checker/pip_compile_version_resolver.rb @@ -301,17 +301,6 @@ def python_env env end - def error_certainly_bad_python_version?(message) - return true if message.include?("UnsupportedPythonVersion") - - unless message.include?('"python setup.py egg_info" failed') || - message.include?("exit status 1: python setup.py egg_info") - return false - end - - message.include?("SyntaxError") - end - def write_temporary_dependency_files(updated_req: nil, update_requirement: true) dependency_files.each do |file|