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

Update legacy editable install for torch_em #346

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

anwai98
Copy link
Collaborator

@anwai98 anwai98 commented Sep 23, 2024

While doing editable installs using pip, it returns a depreciation warning stating:

DEPRECATION: Legacy editable install of torch_em==0.7.3 from file:///home/nimanwai/torch-em (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 pypa/pip#11457

Hence, adding pyproject.toml in favor of updating the legacy editable installation of the package from source.

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

Successfully merging this pull request may close these issues.

1 participant