SciCompMod / memilio

Modular spatio-temporal models for epidemic and pandemic simulations
https://scicompmod.github.io/memilio/
Apache License 2.0
53 stars 15 forks source link

deprecation warning for editable install mode #1110

Open MaxBetzDLR opened 3 weeks ago

MaxBetzDLR commented 3 weeks ago

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

patricklnz commented 3 weeks ago

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/