ci: use --break-system-packages on mac when installing pynvim

Python 3.12+ throws an error if you try to install a package in an
externally managed environment. Using `--break-system-packages` is not
recommended for personal use, but for CI it should be fine and is
probably the most straightforward solution.
This commit is contained in:
dundargoc
2024-03-29 13:20:43 +01:00
committed by dundargoc
parent 8424c64498
commit 36acb2a8ec
2 changed files with 6 additions and 4 deletions

View File

@@ -134,10 +134,6 @@ jobs:
- if: ${{ matrix.test != 'unittest' }}
name: Set up interpreter packages
run: |
# Use default CC to avoid compilation problems when installing Python modules.
echo "Install neovim module for Python."
CC=cc python3 -m pip -q install --user --upgrade pynvim
echo "Install neovim RubyGem."
gem install --no-document --bindir "$BIN_DIR" --user-install --pre neovim