faint-waitress-55925
05/30/2023, 10:21 AMpyproject.toml
file in which I have the following requirement:
snowflake-connector-python = {git = "<https://github.com/snowflakedb/snowflake-connector-python.git>", rev = "36e20a072fee7167432b6a42e3f7dcc91e2406a1", extras = ["pandas", "secure-local-storage"]}
I have no problem when I try to install this using pip or Poetry, but when I run pants generate-lockfiles
, it runs without finishing and without printing any log. I don't know how to debug this. Does someone have a suggestion?faint-waitress-55925
05/30/2023, 12:06 PMenough-analyst-54434
05/30/2023, 5:10 PM[python] pip_version
to the newest possible in Pants 2.16.+: https://www.pantsbuild.org/v2.16/docs/reference-python#pip_version - Pip has sped up quite a bit since the default 20.3.4 (3 years old) Pants / Pex use. Additionally, you want to make sure you're setting reasonable interpreter_constraints
. If they are un-necessarily wide, that will slow down the locking.