future-oxygen-10553
02/13/2023, 3:42 PMpants.toml
with [python-repos].indexes.add
then run ./pants generate-lockfiles
, the lockfile only has the package resolved from the custom domain, even though there are no wheels available for my platform from that domain, whereas wheels are available from PyPI for my domain. I need the extra index to be able to run my tests on CI. What can I do?[python-repos].indexes.add
, then pants correctly pulls the dependencies from PyPIenough-analyst-54434
02/13/2023, 3:52 PMfuture-oxygen-10553
02/13/2023, 3:57 PMcurrent value: [
"<https://pypi.org/simple/>",
"<https://download.pytorch.org/whl/cpu>"
] (from pants.toml)
enough-analyst-54434
02/13/2023, 4:02 PMfuture-oxygen-10553
02/13/2023, 4:03 PMenough-analyst-54434
02/13/2023, 4:06 PMfuture-oxygen-10553
02/13/2023, 4:15 PM<http://downloads.pytorch.org|downloads.pytorch.org>
is disabled: https://github.com/bryanwweber/torch-lockfile-test/blob/e0f0492d95ee17be91f03cae2aefacda1e0b2c02/lock.txtenough-analyst-54434
02/13/2023, 4:17 PMfuture-oxygen-10553
02/13/2023, 4:18 PMenough-analyst-54434
02/13/2023, 4:18 PMfuture-oxygen-10553
02/13/2023, 4:26 PMenough-analyst-54434
02/13/2023, 4:33 PM1.13.1+cpu
is locked. There are 0 artifacts for 1.13.1+cpu
on PyPI, only for 1.13.1
.+cpu
).future-oxygen-10553
02/15/2023, 4:37 PMenough-analyst-54434
02/15/2023, 4:38 PMfuture-oxygen-10553
02/15/2023, 4:38 PMpants.ci.toml
to specify the CPU one on CIenough-analyst-54434
02/15/2023, 4:39 PMAnyway, my solution to this is to generate two lockfiles, and useYup, sounds right. I just wanted to make sure I did due diligence at squashing a Pex bug if there was one.to specify the CPU one on CIpants.ci.toml
future-oxygen-10553
02/15/2023, 4:40 PM