memilio icon indicating copy to clipboard operation
memilio copied to clipboard

deprecation warning for editable install mode

Open MaxBetzDLR opened this issue 1 year ago • 1 comments

Bug description

When building python in editable mode a deprecation warning occurs.

Version

Linux

To reproduce

  1. go to any python package
  2. 'pip install -e .'

Relevant log output

DEPRECATION: Legacy editable install of memilio-simulation==1.0.0 from file:///home/betz_mx/Project_Memilio/memilio/pycode/memilio-simulation (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

Add any relevant information, e.g. used compiler, screenshots.

No response

Checklist

  • [X] Attached labels, especially loc:: or model:: labels.
  • [X] Linked to project

MaxBetzDLR avatar Aug 16 '24 10:08 MaxBetzDLR

We should replace our setup.py with a pyproject.toml file (or at least add one). https://packaging.python.org/en/latest/guides/modernize-setup-py-project/

patricklnz avatar Aug 16 '24 11:08 patricklnz