Quick question related to Python lockfile generati...
# general
p
Quick question related to Python lockfile generation. On wheelodex, I see that pydantic-core has many wheels available. However, the
artifacts
key for
pydantic-core
in my lockfile lists only a handful of them (see thread.) Why is this so? I'm running into a situation where a wheel that exists in the package index is not known by pants, causing a source build.
1
Untitled.json
b
Sorry for the trouble. It looks like that lockfile includes only the Python 3.11 wheels. Can you share a bit more context for your situation?
pants.toml
and whatever targets you are building? Or even a standalone reproducer?
p
Ya, let me pull together a minimal reproduction
Figured it out. This occurred during a python version number bump; I hadn't realized that
interpreter_constraints
impacted the selected artifacts, but that makes sense.
👍 1