Skip to content

Commit bb8fdc5

Browse files
authoredJun 20, 2022
Try another way of updating pip
1 parent b7ff83b commit bb8fdc5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎Makefile

+2-3
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,8 @@ $(BUILD_DIR)/virtualenv: | $(BUILD_DIR)
144144
virtualenv --version || pip install virtualenv
145145
virtualenv build/python-dev
146146
virtualenv build/python-rel
147-
# ignore pip upgrade failure to allow windows builds to continue
148-
$(SCRIPT_DIR)/python-dev pip install pip --upgrade || exit 0
149-
$(SCRIPT_DIR)/python-rel pip install pip --upgrade || exit 0
147+
$(SCRIPT_DIR)/python-dev python -m pip install --upgrade pip || exit 0
148+
$(SCRIPT_DIR)/python-rel python -m pip install --upgrade pip || exit 0
150149
$(SCRIPT_DIR)/python-dev3 pip install black
151150
@touch $(BUILD_DIR)/virtualenv
152151

0 commit comments

Comments
 (0)
Please sign in to comment.