Can't build wheel with somoclu and pip 23.1
OliviaLynn opened this issue · comments
Olivia R. Lynn commented
Pip's recent update to 23.1 is now preventing users from building wheels that include somoclu.
I've recreated the most minimal version in an empty repository with the workflow:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy
pip install somoclu
This workflow fails [link], but on removing the line to upgrade pip, the workflow runs successfully [link].
xgdgsc commented
Is this pypa/pip#8559 ?
Olivia R. Lynn commented
Looks like it--adding a pip install wheel
before installing somoclu lets us use an upgraded pip. Thanks!