LLNL / thicket

https://thicket.readthedocs.io
MIT License
14 stars 9 forks source link

Editable installs break due to setuptools #133

Open ilumsden opened 7 months ago

ilumsden commented 7 months ago

As reported here, there is a bug in newer versions of setuptools that can caused editable installs to break due to changes that setuptools made to support PEP 600.

There are two ways to address this. In the short term, users can add --config-settings editable_mode=strict to their pip install -e command. This forces setuptools to use the older style of editable installs. Longer term, the best way to fix this for Hatchet and Thicket is to move away from setuptools.

ilumsden commented 7 months ago

Regarding editable_mode, this page from setuptools explains what it does: https://setuptools.pypa.io/en/latest/userguide/development_mode.html#strict-editable-installs

ilumsden commented 7 months ago

We ran into a case where editable_mode does not fix this issue

ilumsden commented 4 months ago

See #135 and https://github.com/LLNL/hatchet/pull/128