https://pantsbuild.org/ logo
#development
Title
# development
h

hundreds-breakfast-49010

01/08/2021, 6:27 PM
pertaining to https://github.com/pantsbuild/pants/pull/11431/files#diff-7bb4254d8d29d74613b20d64715369465d9b3fab399dfbb3fdc7f49e9ff5e4ad , I added
freezegun==1.0.0
to
requirements.txt
and then ran
generate_lockfile.sh
to generate
constraints.txt
it looks like this downgraded the version of pip,and I'm not sure why it would do that or if it's safe to manually change that
h

hundreds-father-404

01/08/2021, 6:47 PM
I normally manually change it back
h

hundreds-breakfast-49010

01/08/2021, 6:54 PM
@hundreds-father-404 do we know why that script is manually downgrading the version?
h

hundreds-father-404

01/08/2021, 6:55 PM
No, but I’m pretty sure that script is using pip’s old resolver which is not very intelligent and goes with “first seen”
h

hundreds-breakfast-49010

01/08/2021, 6:55 PM
legit. I'll manually remove the downgrade