hundreds-carpet-28072
09/02/2025, 1:39 PMinterpreter_constraints match the ones used to generate the lockfile, and I don’t have any other config overwriting this.
InvalidLockfileError: You are consuming `black~=24.3.0`, `coverage[toml]==7.2.7`, and 11 other requirements from the `tools` lockfile at requirements-tools.lock with incompatible inputs.
- The inputs use interpreter constraints (`CPython>=3.8`) that are not a subset of those used to generate the lockfile (`CPython<3.11,>=3.9`).happy-kitchen-89482
09/02/2025, 10:28 PMhappy-kitchen-89482
09/02/2025, 10:28 PMhundreds-carpet-28072
09/03/2025, 11:43 AMhappy-kitchen-89482
09/03/2025, 9:02 PMrequirement-tools.lock? What are the ICs in your pants.toml? Where did CPython>=3.8 come from?hundreds-carpet-28072
09/04/2025, 1:19 PM# pants.toml
[python]
interpreter_constraints = ["CPython>=3.9"]
we don’t set a different IC anywhere.
requirements-tools.lock was just generated with pants generate-lockfiles --resolve=python-default --resolve=tools --resolve=test whose resolves points at a requirements-tools.txt that contains black, mypy etc.curved-manchester-66006
09/04/2025, 4:04 PMCPython>=3.8, but the toml snippet has CPython>=3.9". Am I reading that right?hundreds-carpet-28072
09/05/2025, 9:59 AMcurved-manchester-66006
09/05/2025, 1:21 PMgit grep 'CPython>=3.8' has no results? 😕hundreds-carpet-28072
09/11/2025, 1:27 PM