Hi! I’m trying to do pants generate-lockfiles both...
# general
b
Hi! I’m trying to do pants generate-lockfiles both in version 2.15.0 and 2.16.0 and it’s taking forever. Any troubleshooting advice I could have?
When I say forever, it’s running for more than 1 hour and not finishing
r
Are you using anything related boto like boto3 or botocore?
b
Not that I know. Let me check the lock file
I’ve tried commenting all does until I found the issue is with pydantic 1.10.9. I’m trying newer versions to see if it helps
Looks like it was a package version conflict. But pants never resolved it and hanged
e
@breezy-apple-27122 if you're not setting https://www.pantsbuild.org/docs/reference-python#pip_version to the latest version (23.0.1), you should be. The default Pip used by Pants is from 2020 and more modern Pip is generally much faster in perverse backtracking scenarios.
h
Upgrade for the default in https://github.com/pantsbuild/pants/pull/19538 (it seems silly to foist bad performance on people due to an archaic default)
❤️ 1