pybars3
pybars3 copied to clipboard
pip deprecation warning when installing pybars3
On a call to pip install pybars3 on a pip version >= 22.3.1 I get the following warning:
Collecting pybars3
Downloading pybars3-0.9.7.tar.gz (29 kB)
Preparing metadata (setup.py) ... done
Collecting PyMeta3>=0.5.1
Downloading PyMeta3-0.5.1.tar.gz (29 kB)
Preparing metadata (setup.py) ... done
Installing collected packages: PyMeta3, pybars3
DEPRECATION: PyMeta3 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 PyMeta3 ... done
DEPRECATION: pybars3 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 pybars3 ... done
Successfully installed PyMeta3-0.5.1 pybars3-0.9.7
So it seems pip 23.1 users will no longer be able to install pybars3 (or PyMeta3)
After looking more detail into the pip deprecation warning, it seems you just need to depend on wheel and the deprecation warning will go away. Indeed, if I pip install pybars3 with wheel installed, I get no warnings.
https://github.com/pypa/pip/issues/8559#issuecomment-1311463869