:wave: Hey team, I'm hoping to generate a lockfile...
# general
g
👋 Hey team, I'm hoping to generate a lockfile with the following requirement:
Copy code
python_requirement(
    name="airbyte-cdk",
    requirements=["airbyte-cdk==6.51.0"],
)
and am getting this error:
Copy code
pip: ERROR: No matching distribution found for airbyte-cdk==6.51.0
However, that version is available on PyPi (and I've run into this with a few other packages so I don't think it's specific to airbyte-cdk). Any ideas on how to resolve this? So far, I've tried pinning the version of pip used in pants.toml:
Copy code
pip_version="25.0.1"
✅ 1
Solved! Needed to add:
Copy code
[python.resolves_to_interpreter_constraints]
example = ["CPython==3.12.*"]
so Pants knows which interpreter to use when generating the lockfile