clarete / forbiddenfruit

Patch built-in python objects

Home Page:https://clarete.li/forbiddenfruit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add `pyproject.toml` or implement wheel-based distribution

C-Ezra-M opened this issue · comments

After installing from pip, I got this deprecation warning:

PowerShell session

This isn't related to the functionality of forbiddenfruit, but to how it's distributed via pip. In text, it looks like this:

PS C:\Users\Keyacom> py -m pip install forbiddenfruit
Collecting forbiddenfruit
  Downloading forbiddenfruit-0.1.4.tar.gz (43 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.8/43.8 kB 1.1 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Installing collected packages: forbiddenfruit
  DEPRECATION: forbiddenfruit 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 forbiddenfruit ... done
Successfully installed forbiddenfruit-0.1.4

This basically says that once pip 23.1 comes out, this package must have pyproject.toml (PEP 518), or be distributed via wheels, as per PEP 517.