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

DEPRECATION: pyrfr is being installed using the legacy 'setup.py install' method #70

Open
jhj0411jhj opened this issue Dec 16, 2022 · 1 comment

Comments

@jhj0411jhj
Copy link

pyrfr version: 0.8.3

I tried to pip install pyrfr on GitHub actions' ["ubuntu-latest", "macos-latest", "windows-latest"]. On macos and windows, I got the deprecation warning:

  DEPRECATION: pyrfr 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
  Running setup.py install for pyrfr: started
  Running setup.py install for pyrfr: still running...
  Running setup.py install for pyrfr: finished with status 'done'

The installation was successful, though. Then I tried to install wheel before installing pyrfr, the output message is normal:

Building wheels for collected packages: pyrfr
  Building wheel for pyrfr (setup.py): started
  Building wheel for pyrfr (setup.py): still running...
  Building wheel for pyrfr (setup.py): finished with status 'done'
  Created wheel for pyrfr: filename=pyrfr-0.8.3-cp38-cp38-macosx_10_15_x86_64.whl size=508192 sha256=5ac670c98adbb1ade8c32d3a0b8bba414fcf384ec8b40eef56089ba5d80f6195
  Stored in directory: /Users/runner/Library/Caches/pip/wheels/3b/ca/fd/ed04af714a195453416b55d093a747fb022d058772f64519c4
Successfully built pyrfr

Is it a problem for me to concern?

@jhj0411jhj
Copy link
Author

python setup.py is not suggested anymore. Using python -m build or python -m build --wheel --sdist is suggested.

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

No branches or pull requests

1 participant