Skip to content

Commit b7ff83b

Browse files
authoredJun 20, 2022
Ignore pip upgrade failure to allow windows builds to run
1 parent 145ffa0 commit b7ff83b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,9 @@ $(BUILD_DIR)/virtualenv: | $(BUILD_DIR)
144144
virtualenv --version || pip install virtualenv
145145
virtualenv build/python-dev
146146
virtualenv build/python-rel
147-
$(SCRIPT_DIR)/python-dev pip install pip --upgrade
148-
$(SCRIPT_DIR)/python-rel pip install pip --upgrade
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
149150
$(SCRIPT_DIR)/python-dev3 pip install black
150151
@touch $(BUILD_DIR)/virtualenv
151152

0 commit comments

Comments
 (0)
Please sign in to comment.