From cf3e5fe4c389d5ea7b8448b94f009157404c192c Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Fri, 23 May 2025 17:36:14 +0200 Subject: ci: do not update pip on macos The workaround in commit 2f146775e ("Work around the mising RECORD file with homebrew pip.", 2025-05-04) is brittle and has broken again. Do not bother updating setuptool and pip at all, they should be relatively up to date on homebrew. Suggested-by: Eli Schwartz Signed-off-by: Paolo Bonzini --- .github/workflows/macos.yml | 7 ------- 1 file changed, 7 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 9013beac6..675807bd8 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -94,17 +94,10 @@ jobs: # productive -- only victim blaming -- however it bites particularly badly because this is a container/VM # See commit 5c479d7a13a518c18ccb4dc3b6bdd7bfc2a9bdb5 for a more thorough analysis. find /opt/homebrew/Cellar/python* -name EXTERNALLY-MANAGED -print0 | xargs -0 rm -vf - # Homebrew's installation of pip 25.0.1 in Python 3.13.3 is broken; it - # doesn't include a RECORD file, so it can't be upgraded by pip. Create - # a dummy RECORD file. - PIP_RECORD=$(python3 -c "import pip, os; print(f'{os.path.dirname(pip.__file__)}-{pip.__version__}.dist-info/RECORD')") - touch $PIP_RECORD # use python3 from homebrew because it is a valid framework, unlike the actions one: # https://github.com/actions/setup-python/issues/58 - run: brew install pkg-config ninja llvm qt@5 boost ldc hdf5 openmpi lapack scalapack sdl2 boost-python3 gtk-doc zstd ncurses objfw libomp - run: | - python3 -m pip install --upgrade setuptools - python3 -m pip install --upgrade pip python3 -m pip install cython coverage - env: CPPFLAGS: "-I/opt/homebrew/include" -- cgit v1.2.3