Skip to content

Commit bd26ce8

Browse files
mrecachinasCopilot
andcommitted
Fix PEP 668 on macOS: use --break-system-packages for pip
macos-14 runners use externally managed Homebrew Python. Add --break-system-packages flag to pip install in wheels_macos job. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ccd9984 commit bd26ce8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/pythonpackage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ jobs:
9090
- uses: actions/checkout@v4.2.2
9191
- name: Install cibuildwheel
9292
run: |
93-
python3 -m pip install --upgrade pip
94-
python3 -m pip install cibuildwheel "twine>=6.1.0" "packaging>=24.2"
93+
python3 -m pip install --break-system-packages --upgrade pip
94+
python3 -m pip install --break-system-packages cibuildwheel "twine>=6.1.0" "packaging>=24.2"
9595
9696
- name: 🛠 Build Hexhamming Python C extension
9797
run: cibuildwheel

0 commit comments

Comments
 (0)