scikit-learn-contrib / MAPIE

A scikit-learn-compatible module to estimate prediction intervals and control risks based on conformal predictions.
https://mapie.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
1.3k stars 111 forks source link

Installing MAPIE 0.9 in dev mode throws a pip deprecation warning #512

Open Valentin-Laurent opened 2 months ago

Valentin-Laurent commented 2 months ago

Describe the bug Installing MAPIE 0.9 in dev mode throws a pip deprecation warning.

To Reproduce Clone the repo then run pip install -e .

Stacktrace

DEPRECATION: Legacy editable install of MAPIE==0.9.0 from file:///Users/vlaurent/code/pro/MAPIE/MAPIE (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
  Running setup.py develop for MAPIE
Successfully installed MAPIE-0.9.0