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

Deprecation warning when installing in editable mode #22

Open
flferretti opened this issue Oct 14, 2024 · 0 comments
Open

Deprecation warning when installing in editable mode #22

flferretti opened this issue Oct 14, 2024 · 0 comments

Comments

@flferretti
Copy link

When installing the library using pip install --no-deps -e . a deprecation warning is produced. It can be solved by substituting the setup.cfg with a pyproject.toml

$ pip install --no-deps -e .
Obtaining file:///home/fferretti-iit.local/git/comodo
  Preparing metadata (setup.py) ... done
Installing collected packages: comodo
  DEPRECATION: Legacy editable install of comodo==0.0.1 from file:///home/fferretti-iit.local/git/comodo (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:/pypa/pip/issues/11457
  Running setup.py develop for comodo
Successfully installed comodo

C.C. @xela-95

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

No branches or pull requests

1 participant