lively-exabyte-12840
02/23/2022, 1:45 PMlively-exabyte-12840
02/23/2022, 2:06 PMenough-analyst-54434
02/23/2022, 3:49 PMenough-analyst-54434
02/23/2022, 3:54 PMhappy-kitchen-89482
02/23/2022, 4:11 PMlively-exabyte-12840
02/23/2022, 4:23 PMlively-exabyte-12840
02/23/2022, 4:24 PMenough-analyst-54434
02/23/2022, 4:35 PMlively-exabyte-12840
02/23/2022, 5:36 PM[python]
requirement_constraints = "constraints.txt"
I still get an error - e.g.:
The conflict is caused by:
The user requested jinja2==3.0.3
dbt-core 1.0.3 depends on Jinja2==2.11.3
I from the logging that ./pex is being used, but I don't see "--no-deps" in the list of arg; should it be there since I have requirement_constraints set in the "python" section?enough-analyst-54434
02/23/2022, 5:41 PMrequirement_constraints
is like a lock in that versions can be all pinned transitively, but does a full resolve anyhow. To get a real lockfile behavior where there is no resolve and the stated pinned requirements are used as-is flat you need 2.10.x: https://pypi.org/project/pantsbuild.pants/2.10.0rc1/ and https://www.pantsbuild.org/v2.10/docs/reference-python#section-enable-resolves
This is alpha and the latter docs call out known issues.lively-exabyte-12840
02/23/2022, 7:23 PMenough-analyst-54434
02/23/2022, 7:25 PMlively-exabyte-12840
02/23/2022, 7:29 PMenough-analyst-54434
02/23/2022, 7:54 PMlively-exabyte-12840
02/23/2022, 8:42 PMenough-analyst-54434
02/24/2022, 2:50 AMenough-analyst-54434
02/24/2022, 2:52 PMlively-exabyte-12840
02/24/2022, 3:59 PM