numpy_ringbuffer icon indicating copy to clipboard operation
numpy_ringbuffer copied to clipboard

Add wheel to workflow dependencies

Open charlesbmi opened this issue 2 years ago • 1 comments

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:

  • error message: https://github.com/eric-wieser/numpy_ringbuffer/actions/runs/4683053392/jobs/8298437415
  • An alternative option (--use-pep517): https://github.com/pypa/pip/issues/8559

charlesbmi avatar Apr 13 '23 02:04 charlesbmi

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') }}

charlesbmi avatar Apr 13 '23 19:04 charlesbmi