Skip to content

Commit

Permalink
Upgrade to newer Python pip
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed Nov 16, 2021
1 parent 4f01631 commit b4b87a8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
run: |
python -m venv venv
. venv/bin/activate
pip install -U "pip<20.3" setuptools
pip install -U "pip>=21.0" setuptools
pip install -r requirements.txt -r requirements_test.txt
- name: Generate partial pre-commit restore key
id: generate-pre-commit-key
Expand Down Expand Up @@ -580,7 +580,7 @@ jobs:
python -m venv venv
. venv/bin/activate
pip install -U "pip<20.3" setuptools wheel
pip install -U "pip>=21.0" setuptools wheel
pip install -r requirements_all.txt
pip install -r requirements_test.txt
pip install -e .
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/package_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ifaddr==0.1.7
jinja2==3.0.3
paho-mqtt==1.6.1
pillow==8.2.0
pip>=8.0.3,<20.3
pip>=21.0
pyserial==3.5
python-slugify==4.0.1
pyudev==0.22.0
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ifaddr==0.1.7
jinja2==3.0.3
PyJWT==2.1.0
cryptography==35.0.0
pip>=8.0.3,<20.3
pip>=21.0
python-slugify==4.0.1
pyyaml==6.0
requests==2.26.0
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"PyJWT==2.1.0",
# PyJWT has loose dependency. We want the latest one.
"cryptography==35.0.0",
"pip>=8.0.3,<20.3",
"pip>=21.0",
"python-slugify==4.0.1",
"pyyaml==6.0",
"requests==2.26.0",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ignore_basepython_conflict = True
[testenv]
basepython = {env:PYTHON3_PATH:python3}
# pip version duplicated in homeassistant/package_constraints.txt
pip_version = pip>=8.0.3,<20.3
pip_version = pip>=21.0
commands =
{envpython} -X dev -bb -m pytest --timeout=9 --durations=10 -n auto --dist=loadfile -qq -o console_output_style=count -p no:sugar {posargs}
{toxinidir}/script/check_dirty
Expand Down

0 comments on commit b4b87a8

Please sign in to comment.