echoing-farmer-15630
03/30/2022, 2:15 PMpython_requirements
for our direct dependencies) but I wasn't sure of that yet)bitter-ability-32190
03/30/2022, 2:17 PMbitter-ability-32190
03/30/2022, 2:17 PMechoing-farmer-15630
03/30/2022, 2:32 PMechoing-farmer-15630
03/30/2022, 2:32 PMbitter-ability-32190
03/30/2022, 2:35 PMlockfile_generator
to pex
and when you run generate-lockfile
you'll get a PEX JSON. the PEX JSON contains transitive package metadata, so when Pants asks PEX to make pexs, it can do so fully in parallel, instead of semi-serially.bitter-ability-32190
03/30/2022, 2:35 PMbitter-ability-32190
03/30/2022, 2:35 PMbitter-ability-32190
03/30/2022, 2:36 PMechoing-farmer-15630
03/30/2022, 2:58 PMechoing-farmer-15630
03/30/2022, 4:29 PMhundreds-father-404
03/30/2022, 6:05 PMechoing-farmer-15630
03/30/2022, 7:33 PMstderr:
ERROR: Package 'aiofiles' requires a different Python: 3.10.2 not in '<4.0,>=3.6'
...neither of which makes sense to me (it shouldn't be resolving with 3.10, and 3.10.2 is in fact between 3.6 and 4.0...)hundreds-father-404
03/30/2022, 7:36 PMechoing-farmer-15630
03/30/2022, 7:41 PMechoing-farmer-15630
03/30/2022, 7:42 PMechoing-farmer-15630
03/30/2022, 7:46 PMProcess 'Generate lockfile for python-default' failed with exit code 1.
echoing-farmer-15630
03/30/2022, 7:47 PM/tmp/process-executionKTQOsz for "Generate lockfile for python-default"
echoing-farmer-15630
03/30/2022, 7:49 PM/tmp/process-executionKTQOsz
⯠grep python __run.sh
/home/vputz/.pyenv/versions/3.10.2/bin/python ./pex --tmpdir .tmp lock ...
hundreds-father-404
03/30/2022, 8:01 PMechoing-farmer-15630
03/30/2022, 8:41 PMinterpreter_constraints
is ["CPython==3.9.*"]
, resolves_to_interpreter_constraints="{'python-default': ['==3.9.*']}"
, and yet trying
./pants --no-process-cleanup generate-lockfiles --generate-lockfiles-resolve="['python-default']"
...gets me that ERROR: Package 'aiofiles' requires a different Python: 3.10.2 not in '<4.0,>=3.6'
error.
The resulting execution still referenced something in my ~/.cache/pants directory so I nuked that, ./.pants.d
and .pids
and started from scratch.... same thing.
Weird. I'll try it with rc1 tomorrow (late over here). Very strange.hundreds-father-404
04/04/2022, 9:04 PMechoing-farmer-15630
04/05/2022, 8:43 PM