nanograv / PINT

PINT is not TEMPO3 -- Software for high-precision pulsar timing
Other
121 stars 101 forks source link

Deprecation message while installing PINT using `pip install -e` #1846

Closed abhisrkckl closed 1 month ago

abhisrkckl commented 1 month ago

DEPRECATION: Legacy editable install of pint-pulsar==1.0.1+233.gc406b12d from file:///home/abhimanyu/Work/PINT (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

abhisrkckl commented 1 month ago

We may have to update our package setup.

dlakaplan commented 1 month ago

But the discussion says:

TL;DR: the execution of setup.py develop when pip does an editable install. The -e / --editable pip install option is not deprecated. and I (at least) do the latter. Is this really an issue?

dlakaplan commented 1 month ago

OK, yes it is.

dlakaplan commented 1 month ago

https://pypi.org/project/ini2toml/ might be able to translate things for us