diff --git a/python/lib/dependabot/python/file_updater/pipfile_file_updater.rb b/python/lib/dependabot/python/file_updater/pipfile_file_updater.rb index a89b511bb58a..0da8b7b60ef5 100644 --- a/python/lib/dependabot/python/file_updater/pipfile_file_updater.rb +++ b/python/lib/dependabot/python/file_updater/pipfile_file_updater.rb @@ -299,12 +299,12 @@ def write_temporary_dependency_files(pipfile_content) end def install_required_python - # Initialize a git repo to appease pip-tools - begin - run_command("git init") if setup_files.any? - rescue Dependabot::SharedHelpers::HelperSubprocessFailed - nil - end + # # Initialize a git repo to appease pip-tools + # begin + # run_command("git init") if setup_files.any? + # rescue Dependabot::SharedHelpers::HelperSubprocessFailed + # nil + # end language_version_manager.install_required_python end 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 51237451cce8..cfa23d28b0ce 100644 --- a/python/lib/dependabot/python/update_checker/pipenv_version_resolver.rb +++ b/python/lib/dependabot/python/update_checker/pipenv_version_resolver.rb @@ -313,12 +313,12 @@ def write_temporary_dependency_files(updated_req: nil, end def install_required_python - # Initialize a git repo to appease pip-tools - begin - run_command("git init") if setup_files.any? - rescue Dependabot::SharedHelpers::HelperSubprocessFailed - nil - end + # # Initialize a git repo to appease pip-tools + # begin + # run_command("git init") if setup_files.any? + # rescue Dependabot::SharedHelpers::HelperSubprocessFailed + # nil + # end language_version_manager.install_required_python end