From 1973abb6f00de4c0f088af6f13b202a63369333f Mon Sep 17 00:00:00 2001 From: Chris Pappas Date: Wed, 3 Jul 2024 14:31:37 -0400 Subject: [PATCH] fix: semi-temp fix to pin pip/pip-tools versions to prevent pip install failures (#4170) --- .github/workflows/migrations-mysql8.yml | 1 + requirements/pip_tools.in | 2 +- requirements/pip_tools.txt | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/migrations-mysql8.yml b/.github/workflows/migrations-mysql8.yml index c03b8ef9956..2394c14eb9a 100644 --- a/.github/workflows/migrations-mysql8.yml +++ b/.github/workflows/migrations-mysql8.yml @@ -48,6 +48,7 @@ jobs: mysql -V - name: Install Python dependencies run: | + pip install pip==21.2.1 --upgrade # set pip version to be compatible with deprecated pip version syntax pip install -r requirements/pip_tools.txt pip install -r requirements/production.txt pip uninstall -y mysqlclient diff --git a/requirements/pip_tools.in b/requirements/pip_tools.in index f2177985a94..bee11765df0 100644 --- a/requirements/pip_tools.in +++ b/requirements/pip_tools.in @@ -1,4 +1,4 @@ -c constraints.txt # Dependencies to run compile tools -pip-tools # Contains pip-compile, used to generate pip requirements files +pip-tools==6.0 # Contains pip-compile, used to generate pip requirements files diff --git a/requirements/pip_tools.txt b/requirements/pip_tools.txt index b6150065453..669c1f956a0 100644 --- a/requirements/pip_tools.txt +++ b/requirements/pip_tools.txt @@ -10,7 +10,7 @@ click==8.1.3 # via pip-tools packaging==23.1 # via build -pip-tools==6.13.0 +pip-tools==6.0 # via -r requirements/pip_tools.in pyproject-hooks==1.0.0 # via build