Open jasondamour opened 4 months ago
@jasondamour your suspicion is correct. The problem is specifically with the use of the setuptools.setup
setup_requires
argument which was a big part of the motivation for PEP-518. See here for the same problem and a self serve solution: https://github.com/pantsbuild/pants/issues/19898#issuecomment-1730109755
Describe the bug Reproduction Repository: https://github.com/jasondamour/pants-numpy-issue-repro When trying to generate a lockfile for a project depending on
gensim
, lockfile fails:Pants version 2.20
OS Macos, haven't tested linux
Additional info Gensim is clearly doing some wonky stuff with numpy: https://github.com/piskvorky/gensim/blob/3.8.3/setup.py
Looking into the pants cache, numpy is not present (as expected by pants):