peterwittek / somoclu

Massively parallel self-organizing maps: accelerate training on multicore CPUs, GPUs, and clusters

Home Page:https://peterwittek.github.io/somoclu/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't build wheel with somoclu and pip 23.1

OliviaLynn opened this issue · comments

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].

Is this pypa/pip#8559 ?

Looks like it--adding a pip install wheel before installing somoclu lets us use an upgraded pip. Thanks!