google / jaxopt

Hardware accelerated, batchable and differentiable optimizers in JAX.
https://jaxopt.github.io
Apache License 2.0
903 stars 62 forks source link

Consider switching to pyproject.toml #566

Open NeilGirdhar opened 6 months ago

NeilGirdhar commented 6 months ago

When doing an editable install of jaxopt, I get:

DEPRECATION: Config settings are ignored for project file:///Users/neil/src/jaxopt. pip 24.0 will enforce this behaviour change. A possible replacement is to use --use-pep517 or add a pyproject.toml file to the project.

JaxOpt has a fairly simple setup.py, so it would be quite easy to convert it to a pyproject.toml. This has other benefits like pulling pylint's settings into the common file (like the Jax team did). Would such a PR be welcome?