Legacy editable install

I got a warning from pip, how is this to be solved?

DEPRECATION: Legacy editable install of myproject[dev]==0.0.1 from file:///home/…myproject (setup.py develop) is deprecated. pip 25.0 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at Deprecate `pip install --editable` calling `setup.py develop` · Issue #11457 · pypa/pip · GitHub

This after upgrading pip from 24.0 → 24.2

11 Likes

Thnk u so much this post was very useful

6 Likes

Thanks for your time and effort.

I went through doing an nbdev_new on a copy of the repo and it seemed that pyproject.toml was new with setup.py unaffected. Using that .toml helped with the editable install.

3 Likes