openedx / public-engineering

General public issue repository for the Open edX engineering community
4 stars 2 forks source link

Legacy editable install is deprecated #283

Open CodeWithEmad opened 3 hours ago

CodeWithEmad commented 3 hours ago

Looks like as of pip 24.2, the legacy editable install is marked as deprecated. https://pip.pypa.io/en/stable/news/#v24-2

DEPRECATION: Legacy editable install of xblock-sdk==0.13.0 from file:///home/emad/xblock-sdk (from -r requirements/local.txt (line 4)) (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 https://github.com/pypa/pip/issues/11457

As it says, "A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64"

CodeWithEmad commented 3 hours ago

@feanil I'm unsure if this repo is the best place to mention this issue. Kindly let me know if it's in the right place (or if it's even a valid issue that we should work on).