diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ad6becee4e2..9320da66dd4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -48,7 +48,7 @@ jobs: run: | python -m venv venv . venv/bin/activate - pip install -U pip setuptools + pip install -U "pip<20.3" setuptools pip install -r requirements.txt -r requirements_test.txt - name: Restore pre-commit environment from cache id: cache-precommit @@ -611,7 +611,7 @@ jobs: run: | python -m venv venv . venv/bin/activate - pip install -U pip setuptools wheel + pip install -U "pip<20.3" setuptools wheel pip install -r requirements_all.txt pip install -r requirements_test.txt pip install -e . diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index ad46a8a36f4..33a9466f4dc 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -20,7 +20,7 @@ jinja2>=2.11.2 netdisco==2.8.2 paho-mqtt==1.5.1 pillow==7.2.0 -pip>=8.0.3 +pip>=8.0.3,<20.3 python-slugify==4.0.1 pytz>=2020.1 pyyaml==5.3.1 diff --git a/requirements.txt b/requirements.txt index 3a376b6e7cc..ece1877ea75 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,7 +13,7 @@ importlib-metadata==1.6.0;python_version<'3.8' jinja2>=2.11.2 PyJWT==1.7.1 cryptography==3.2 -pip>=8.0.3 +pip>=8.0.3,<20.3 python-slugify==4.0.1 pytz>=2020.1 pyyaml==5.3.1 diff --git a/setup.py b/setup.py index 885d6e192d6..d5d133d4a3a 100755 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ REQUIRES = [ "PyJWT==1.7.1", # PyJWT has loose dependency. We want the latest one. "cryptography==3.2", - "pip>=8.0.3", + "pip>=8.0.3,<20.3", "python-slugify==4.0.1", "pytz>=2020.1", "pyyaml==5.3.1",