Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legacy editable install is deprecated #283

Open
CodeWithEmad opened this issue Oct 15, 2024 · 2 comments
Open

Legacy editable install is deprecated #283

CodeWithEmad opened this issue Oct 15, 2024 · 2 comments

Comments

@CodeWithEmad
Copy link
Member

CodeWithEmad commented Oct 15, 2024

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
Copy link
Member Author

@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).

@kdmccormick
Copy link
Member

@feanil I know you've mentioned that we need to migrate to pyproject.toml within the next couple releases. I'm adding this issue to the maintenance board so we can track that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants