jupyter-incubator / sparkmagic

Jupyter magics and kernels for working with remote Spark clusters
Other
1.33k stars 447 forks source link

pip deprecation warning when installing hdijupyterutils and autovizwidget #803

Open AlJohri opened 1 year ago

AlJohri commented 1 year ago

Is your feature request related to a problem? Please describe.

When installing aws-glue-sessions, I see the following two deprecation warnings related to hdijupyterutils and autovizwidget not having a pyproject.toml.

DEPRECATION: hdijupyterutils 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 Running setup.py install for hdijupyterutils ... done

DEPRECATION: autovizwidget 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 Running setup.py install for autovizwidget ... done

Describe the solution you'd like Request to add a pyproject.toml to both packages as per PEP 621.

devstein commented 1 year ago

Hi @AlJohri thanks for making an issue! I'll fix in the next release. Feel free to contribute as well!