Closed pquentin closed 6 months ago
Thanks for looking. I don't understand how that is relevant to that pull request though. On main requirements-dev.txt also contains lightgbm. If you don't want it, it is easier to edit it out with this pull request since it's only in setup.py.
I now realised I can install Eland with the PyTorch dependencies but without LightGBM by running
python -m pip install .[pytorch]
That, essentially what I was asking for and its existed for a very long time but I didn't realise so I had a hacky workaround involving requirements.txt.
Thanks for cleaning up the install config.
Today we specify
elasticsearch>=8.3,<9
in four places. In setup.py, as expected for the package metadata to be correct, but also:.[extras]
to install all packages with its extras.
is enough to make lint pass (also we don't need pre-releases anymore)