diff --git a/python/lib/dependabot/python/update_checker/pipenv_version_resolver.rb b/python/lib/dependabot/python/update_checker/pipenv_version_resolver.rb index 9425616b435..44f90855f0b 100644 --- a/python/lib/dependabot/python/update_checker/pipenv_version_resolver.rb +++ b/python/lib/dependabot/python/update_checker/pipenv_version_resolver.rb @@ -28,10 +28,9 @@ class UpdateChecker # just raise if the latest version can't be resolved. Knowing that is # still better than nothing, though. class PipenvVersionResolver - # rubocop:disable Layout/LineLength GIT_DEPENDENCY_UNREACHABLE_REGEX = /git clone --filter=blob:none (?[^\s]+).*/ GIT_REFERENCE_NOT_FOUND_REGEX = /git checkout -q (?[^\s]+).*/ - PIPENV_INSTALLATION_ERROR = "pipenv.patched.notpip._internal.exceptions.InstallationError: Command errored out" \ + PIPENV_INSTALLATION_ERROR = "pipenv.patched.pip._internal.exceptions.InstallationError: Command errored out" \ " with exit status 1: python setup.py egg_info" TRACEBACK = "Traceback (most recent call last):" PIPENV_INSTALLATION_ERROR_REGEX = @@ -41,7 +40,6 @@ class PipenvVersionResolver UNSUPPORTED_DEP_REGEX = /Could not find a version that satisfies the requirement.*(?:#{UNSUPPORTED_DEPS.join('|')})/ PIPENV_RANGE_WARNING = /Warning:\sPython\s[<>].* was not found/ - # rubocop:enable Layout/LineLength DEPENDENCY_TYPES = %w(packages dev-packages).freeze @@ -258,7 +256,7 @@ def clean_error_message(message) next false if l.start_with?("CRITICAL:") next false if l.start_with?("ERROR:") next false if l.start_with?("packaging.specifiers") - next false if l.start_with?("pipenv.patched.notpip._internal") + next false if l.start_with?("pipenv.patched.pip._internal") next false if l.include?("Max retries exceeded") true diff --git a/python/spec/dependabot/python/update_checker/pipenv_version_resolver_spec.rb b/python/spec/dependabot/python/update_checker/pipenv_version_resolver_spec.rb index b5b5a246d42..079ed09a9aa 100644 --- a/python/spec/dependabot/python/update_checker/pipenv_version_resolver_spec.rb +++ b/python/spec/dependabot/python/update_checker/pipenv_version_resolver_spec.rb @@ -114,7 +114,7 @@ expect { subject }. to raise_error(Dependabot::DependencyFileNotResolvable) do |error| expect(error.message).to start_with( - "CRITICAL:pipenv.patched.notpip._internal.resolution.resolvelib.factory:" \ + "CRITICAL:pipenv.patched.pip._internal.resolution.resolvelib.factory:" \ "Could not find a version that satisfies the requirement " \ "pytest==10.4.0" )