eric-wieser / numpy_ringbuffer

Ring-buffer implementation that thinly wraps a numpy array
https://pypi.python.org/pypi/numpy_ringbuffer/
MIT License
89 stars 16 forks source link

Add wheel to workflow dependencies #19

Open charlesbmi opened 1 year ago

charlesbmi commented 1 year ago

Should resolve the workflow error:

  DEPRECATION: numpy-ringbuffer is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559

References:

charlesbmi commented 1 year ago

Ran into this error:

Version 3.5 was not found in the local cache
Error: Version 3.5 with arch x[6](https://github.com/eric-wieser/numpy_ringbuffer/actions/runs/4684709218/jobs/8304464362#step:3:7)4 not found

I tried removing the deprecated Python versions. If that doesn't fix it, we could clear the cache before looking for Python versions:

- name: Clear the Python setup cache
  uses: actions/cache@v2
  with:
    path: ~/.cache/pypoetry/virtualenvs
    key: ${{ runner.os }}-python-${{ matrix.python-version }}-deps-${{ hashFiles('**/poetry.lock') }}