Skip to content

Commit 589d236

Browse files
Fix pip install procedure (#1942)
Backport of tiny-pilot/tinypilot-pro#1773. <a data-ca-tag href="https://codeapprove.com/pr/tiny-pilot/tinypilot/1942"><img src="https://codeapprove.com/external/github-tag-allbg.png" alt="Review on CodeApprove" /></a> --------- Co-authored-by: Jan Heuermann <[email protected]>
1 parent 1c55c04 commit 589d236

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.circleci/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ jobs:
104104
name: Install requirements and run lint script
105105
command: |
106106
. venv/bin/activate
107+
pip install --upgrade pip
107108
pip install \
108109
--requirement requirements.txt \
109110
--requirement requirements_dev.txt
@@ -138,6 +139,7 @@ jobs:
138139
command: |
139140
python3 -m venv venv
140141
. venv/bin/activate
142+
pip install --upgrade pip
141143
pip install \
142144
--requirement requirements.txt \
143145
--requirement requirements_dev.txt
@@ -167,6 +169,7 @@ jobs:
167169
name: Install requirements
168170
command: |
169171
. venv/bin/activate
172+
pip install --upgrade pip
170173
pip install \
171174
--requirement requirements.txt \
172175
--requirement requirements_dev.txt
@@ -194,6 +197,7 @@ jobs:
194197
command: |
195198
python3 -m venv venv
196199
. venv/bin/activate
200+
pip install --upgrade pip
197201
pip install \
198202
--requirement requirements.txt \
199203
--requirement requirements_dev.txt

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ To install TinyPilot's dev packages, run the following command:
2121
```bash
2222
python3 -m venv venv && \
2323
. venv/bin/activate && \
24+
pip install --upgrade pip && \
2425
pip install \
2526
--requirement requirements.txt \
2627
--requirement requirements_dev.txt && \

0 commit comments

Comments
 (0)