ripe-cpu-85141
10/21/2022, 8:34 PM./pants generate-lockfiles
, The command takes forever as it is trying to compile NumPy. I can't find why it can't use a wheel instead of compiling the package and why it tries to install NumPy in the first place. I tried to pip install -r reqs.txt
on a clean venv to see if something was pulling numpy but nothing appeared. Any idea why numpy appears and how I could debug that?wide-midnight-78598
10/21/2022, 9:02 PMripe-cpu-85141
10/21/2022, 9:07 PMripe-cpu-85141
10/21/2022, 9:10 PMripe-cpu-85141
10/21/2022, 9:11 PMripe-cpu-85141
10/21/2022, 9:11 PMcurved-television-6568
10/21/2022, 9:19 PMps ax | grep pants
and look for the …/pip.log
file arg to a process like this one:curved-television-6568
10/21/2022, 9:20 PM49518 ?? S 0:00.17 /Users/x/.cache/pants/named_caches/pex_root/venvs/c9e55cc98846b062ba9676b3c1a5214512602544/b804a7d1f8bd9cd2ff386af6a48d90174070910e/bin/python -sE /Users/x/.cache/pants/named_caches/pex_root/venvs/c9e55cc98846b062ba9676b3c1a5214512602544/b804a7d1f8bd9cd2ff386af6a48d90174070910e/pex --disable-pip-version-check --no-python-version-warning --exists-action a --no-input --isolated -q --cache-dir /Users/x/.cache/pants/named_caches/pex_root/pip_cache --log /private/var/folders/y2/6t5bbk554wv5h6w_qlgpcpnm0000gr/T/pants-sandbox-HFUKU3/.tmp/pex-pip-log.3bwh4h5q/pip.log download --dest /private/var/folders/y2/6t5bbk554wv5h6w_qlgpcpnm0000gr/T/pants-sandbox-HFUKU3/.tmp/tmphlyaj6u0/Users.x..pyenv.versions.3.8.13.bin.python3.8 --requirement __pip_args.txt Brotli==1.0.9 Django==3.2.16 JPype1==0.7.1 J...
curved-television-6568
10/21/2022, 9:20 PM/private/var/folders/y2/6t5bbk554wv5h6w_qlgpcpnm0000gr/T/pants-sandbox-HFUKU3/.tmp/pex-pip-log.3bwh4h5q/pip.log
in this case, then tail that 🙂curved-television-6568
10/21/2022, 9:21 PMenough-analyst-54434
10/21/2022, 9:59 PMripe-cpu-85141
10/22/2022, 12:55 PMripe-cpu-85141
10/22/2022, 12:56 PMCPython==3.9.*
wide-midnight-78598
10/22/2022, 5:05 PMripe-cpu-85141
10/24/2022, 2:57 PMripe-cpu-85141
10/24/2022, 2:59 PMripe-cpu-85141
10/24/2022, 3:00 PMripe-cpu-85141
10/24/2022, 3:16 PMripe-cpu-85141
10/24/2022, 4:43 PM