paulbrodersen / netgraph

Publication-quality network visualisations in python
GNU General Public License v3.0
667 stars 40 forks source link

Deprecation issue installing netgraph #54

Closed fsoupimenta closed 1 year ago

fsoupimenta commented 1 year ago

I tried to install netgraph in my project, and this problem appeared;

DEPRECATION: netgraph is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559

Would it be possible to update netgraph to match these new installation settings?

paulbrodersen commented 1 year ago

This is just a deprecation warning, i.e. the package still installs fine, correct?

I have a hard deadline next week, so assuming this is a non-breaking issue, then I will look into it afterwards.

fsoupimenta commented 1 year ago

You are right! It was just a warning to alert you, nothing breaks.

paulbrodersen commented 1 year ago

Hi @fsoupimenta, thanks for bringing the issue to my attention. I have switched from a setup.py based installation to a pyproject.toml/ wheel based installation. As a result, pip should no longer raise a deprecation warning.