Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wheel to workflow dependencies #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

charlesbmi
Copy link

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:

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 pypa/pip#8559
```

References:
* error message: https://github.com/eric-wieser/numpy_ringbuffer/actions/runs/4683053392/jobs/8298437415
* An alternative option (`--use-pep517`): pypa/pip#8559
@charlesbmi
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant