From b97562999043936508be4692b597474630d3dfe1 Mon Sep 17 00:00:00 2001 From: Jeff Widman Date: Thu, 3 Aug 2023 10:14:08 -0700 Subject: [PATCH] Bump `pip-tools` to `7.2.0` Relevant breaking changes: https://github.com/jazzband/pip-tools/releases/tag/7.0.0 --- python/helpers/requirements.txt | 2 +- .../python/update_checker/pip_compile_version_resolver.rb | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/python/helpers/requirements.txt b/python/helpers/requirements.txt index e8b993cba186..a307f8b890c3 100644 --- a/python/helpers/requirements.txt +++ b/python/helpers/requirements.txt @@ -1,5 +1,5 @@ pip>=21.3.1,<23.2.0 # Range maintains py36 support TODO: Review python 3.6 support in April 2023 (eol ubuntu 18.04) -pip-tools>=6.4.0,<=6.13.0 # Range maintains py36 support TODO: Review python 3.6 support in April 2023 (eol ubuntu 18.04) +pip-tools==7.2.0 hashin==0.17.0 pipenv==2022.4.8 pipfile==0.0.2 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 390e646a42af..e44a885e13af 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 @@ -251,9 +251,6 @@ def pip_compile_options(filename) # TODO: Stop explicitly specifying `allow-unsafe` once it becomes the default: # https://github.com/jazzband/pip-tools/issues/989#issuecomment-1661254701 options += ["--allow-unsafe"] - # TODO: This is the default as of https://github.com/jazzband/pip-tools/releases/tag/7.0.0 - # so stop explicitly specifying it as soon as we upgrade - options += ["--resolver backtracking"] if (requirements_file = compiled_file_for_filename(filename)) options << "--output-file=#{requirements_file.name}"