average-breakfast-91545
03/30/2025, 10:06 AMparticles expecting numpy in setup.py, or torch-geometric expecting torch at build time?elegant-florist-94385
03/30/2025, 9:21 PMpython_requirements(overrides="...") (or the similar overrides field in whatever target generator you use. https://www.pantsbuild.org/stable/reference/targets/python_requirements#overrides
In short, the steps are:
1. Identify what package is needed (and version/extras/etc.)
2. Add this requirement to your project manually
3. add an override to tell pants that the particles requirement depends on numpy .
Now, they should always be sandboxed together and things (should) workaverage-breakfast-91545
03/30/2025, 9:22 PMdependencies in an overide but as I understand that applies to runtime deps, not buildtime. I also tried setting the requirements but I suspect that just replaces the package you want with the package you're setting.average-breakfast-91545
03/30/2025, 9:23 PMrequirements="some_address" which I don't think is actually supported cos requirements needs to be a pip string.elegant-florist-94385
03/30/2025, 9:24 PMaverage-breakfast-91545
03/30/2025, 9:25 PM