-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Description
So I get now pip is PEP compliant, and the reasons why it was done.
However, this now breaks peoples workflow without any sane workaround (the only one to work is to remove pyproject.toml file before install and put it back afterwards), I consider it as a PEP oversight to not specify that it does not apply for editable installs.
PEP-517/8 on purpose did not want to cover editable installs, considering something to be addressed down the line (there's some discussion on the topic upstream, but that's ages away from reality). As such I would argue PEP-517/PEP-518 no longer applies when editable install mode is enabled. It's the build frontend dependent on how this case is handled.
We have two options now:
- In develop mode, pip should fallback to the old system, maintain the status quo until we figure out how to support editable installs in the new world.
- Alternatively, provide a flag that triggers the old build system independent of the presence/content of the
pyproject.toml
.
Note this now breaks a lot of dependent systems (pipenv, tox, poetry, etc).