File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -256,17 +256,9 @@ jobs:
256256 - name : Install Ninja
257257 run : brew install ninja
258258
259- - name : Patch pip
260- # Patch https://github.com/pypa/pip/issues/11539
261- run : |
262- cat >>/usr/local/lib/python${{ matrix.python }}/site-packages/pip/_internal/locations/_sysconfig.py <<EOF
263- def get_prefixed_libs(prefix: str) -> typing.Tuple[str, str]:
264- if "venv" in sysconfig.get_scheme_names():
265- paths = sysconfig.get_paths(vars={"base": prefix, "platbase": prefix}, scheme="venv")
266- else:
267- paths = sysconfig.get_paths(vars={"base": prefix, "platbase": prefix})
268- return (paths["purelib"], paths["platlib"])
269- EOF
259+ - name : Update pip
260+ # pip >= 23.0 fixes https://github.com/pypa/pip/issues/11539
261+ run : python -m pip --disable-pip-version-check install --upgrade "pip >= 23.0"
270262
271263 - name : Install Meson
272264 run : python -m pip --disable-pip-version-check install "meson==${{ matrix.meson }}"
You can’t perform that action at this time.
0 commit comments