neovim / pynvim

Python client and plugin host for Nvim
http://pynvim.readthedocs.io/en/latest/
Apache License 2.0
1.51k stars 118 forks source link

pynvim needs to be updated to use pyproject.toml #518

Closed crowellel closed 1 year ago

crowellel commented 1 year ago

When I just recently installed pynvim, I was presented with a deprecation warning that stated that starting in pip ver 23.1, pip will require compliance with using a pyproject.toml file for module installation, instead of the legacy setup.py file that pynvim currently uses. Therefore I would recommend updating the package and migrating to a pyproject.toml file for setup as soon as possible to avoid having installation broken when pip starts forcing compliance.

justinmk commented 1 year ago

any chance you could send a PR?

crowellel commented 1 year ago

I was actually considering doing just that. I've just never worked with packaging before so I figured this would be a good learning opportunity. I'll send the PR once I get it done. I estimate two weeks due to current time constraints.

zachliu commented 1 year ago

just saw the same msg today

DEPRECATION: pynvim 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

@badboy1cdx thank you in advance!

crowellel commented 1 year ago

PR has been submitted. See: #519