https://pantsbuild.org/ logo
d

dazzling-diamond-4749

11/16/2021, 8:02 PM
saw a weird issues with 2.8rc5 and lockfiles yesterday. Pants resolves pandas to require
python>3.7, python<=3.7.1
(I'm on a different brach right now; I'll post repro and full error message later)
h

hundreds-father-404

11/16/2021, 8:03 PM
Hm, this is for a tool lockfile?
d

dazzling-diamond-4749

11/16/2021, 8:04 PM
it was
[python-setup].experimental_lockfile
might be able to repro with a small lockfile tho
h

hundreds-father-404

11/16/2021, 8:14 PM
Got it. Yeah, Pants is directly using Poetry in 2.7 and 2.8 to generate the lockfile. We'll Soon™️ switch to using Pex which uses pip
™️ 1
💯 1
Btw, the lockfile can be generated however you want. Generation != consumption. So feel free to change the lockfile how you'd like, and the
[python-setup].experimental_lockfile
feature should still read it
d

dazzling-diamond-4749

11/16/2021, 8:46 PM
I assume the format is standard for poetry? I can just use a script + poetry to generate a lock file
h

hundreds-father-404

11/16/2021, 8:50 PM
4 Views