Hi all! Quick question to see if anyone has any id...
# general
p
Hi all! Quick question to see if anyone has any ideas/methods to help debug. I'm able to build a docker image in my local but in our CI the build fails because it cannot find resolution for a dependency pinned in Poetry pyproject.toml/lockfile. I've since found that this is due to that the dependency requires that python be >=3.8, because if I downgrade the dependency to a version where it only needs >= 3.7 it builds. I have an interpreter constraint set for my entire pants project that is >=3.10,<3.11 and in the pyproject.toml is 3.10.6. Why is it allowing the CI to build with some 3.7 version, or am I misunderstanding something about pants?
b
How do you set the interpreter constraint for your project? 3.7 might be coming from pants default constraints somehow…
p
In my pants.toml:
Copy code
[python]
interpreter_constraints = ["CPython>=3.10,<3.11"]