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 a89b511bb58..0da8b7b60ef 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 0e6d8f14d96..f073314f902 100644 --- a/python/lib/dependabot/python/update_checker/pipenv_version_resolver.rb +++ b/python/lib/dependabot/python/update_checker/pipenv_version_resolver.rb @@ -315,12 +315,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