https://pantsbuild.org/ logo
#general
Title
# general
r

rhythmic-battery-45198

11/01/2022, 3:44 PM
Hello - I am dealing with a pesky third party dependency. Only a source distribution is provided.
setup.py
script imports
numpy
which is not not specified either using
setup_requires
or
PEP-518 build-system requires
. Is there any pants mechanism to patch this type of undeclared dependency? https://www.pantsbuild.org/docs/python-third-party-dependencies#requirements-with-undeclared-dependencies addresses a similar issue, but not for build-dependencies.
e

enough-analyst-54434

11/01/2022, 3:46 PM
There is not. You currently need to pre-build the wheel variants you need and host them on a custom index or custom find-links and configure `[python-repos]`: https://www.pantsbuild.org/docs/reference-python-repos
r

rhythmic-battery-45198

11/01/2022, 3:47 PM
Ok thanks. 👍
2 Views