File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ def run(command, env_extra=None):
227
227
#
228
228
if pip == 'sudo' :
229
229
log ('## Installing Python packages required for building MuPDF and PyMuPDF.' )
230
- run (f'sudo pip install --upgrade pip' )
230
+ # run(f'sudo pip install --upgrade pip') # Breaks on Github see: https://github.com/pypa/get-pip/issues/226.
231
231
names = test_py .wrap_get_requires_for_build_wheel (f'{ __file__ } /../..' )
232
232
run (f'sudo pip install { names } ' )
233
233
@@ -275,7 +275,7 @@ def run(command):
275
275
run (f'. { venv_name } /bin/activate && pip install --upgrade installer' )
276
276
run (f'{ env } { venv_name } /bin/python -m pip wheel -vv -w dist { os .path .abspath (pymupdf_dir )} ' )
277
277
elif pip == 'sudo' :
278
- run (f'sudo pip install --upgrade pip' )
278
+ # run(f'sudo pip install --upgrade pip') # Breaks on Github see: https://github.com/pypa/get-pip/issues/226.
279
279
run (f'sudo pip install installer' )
280
280
run (f'{ env } pip wheel -vv -w dist { os .path .abspath (pymupdf_dir )} ' )
281
281
else :
You can’t perform that action at this time.
0 commit comments