openedx / openedx-k8s-harmony

A Prototype Helm Chart for deploying multiple Open edX instances (via Tutor) onto a cluster.
GNU Affero General Public License v3.0
10 stars 14 forks source link

Use a pyproject.toml instead of setup.py #112

Open Ian2012 opened 1 week ago

Ian2012 commented 1 week ago

Currently, when installing the harmony tutor plugin on python 3.12 the following deprecation warning appears:

DEPRECATION: tutor-contrib-harmony-plugin 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

We need to use a pyproject.toml file as tutor does: https://github.com/overhangio/tutor/blob/master/pyproject.toml