IPESE / REHO

Master version of the model
Apache License 2.0
6 stars 10 forks source link

[Feature]: JOSS REVIEW Editable install deprecation #35

Closed willu47 closed 5 days ago

willu47 commented 1 week ago

Summary

I cloned and performed an editable install using pip:

git clone https://github.com/IPESE/REHO.git
cd REHO
pip install -e . --extra-index-url https://pypi.ampl.com

and received the following warning:

DEPRECATION: Legacy editable install of REHO==1.1.4 from file:///Users/wusher_1/repository/REHO (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

Detailed design

Your design

Notes and comments

Your notes

DorsanL commented 6 days ago

Thank you for this suggestion. A pyproject.toml file has replaced the previous setup.py file (https://github.com/IPESE/REHO/commit/82b76a4f09038fc0a27d8d9ba4af41ad9c189edb)

willu47 commented 5 days ago

Looks good.