freezing-wall-19707
08/10/2026, 7:05 PMuv with a private python repository? I'm having some issues with getting auth to work right. It's working locally, but not in CI, and I can't seem to figure out why. Curious if anyone else has had any hiccups they managed to work throughbrief-scientist-13682
08/10/2026, 9:00 PM~/.netrc, credentials embedded in a configured custom index URL or env vars with pass-throughs for those env vars configured in Pants?
Or - do you locally use uv auth locally? This one does not appear to be handled by Pants.freezing-wall-19707
08/10/2026, 9:29 PMfreezing-wall-19707
08/10/2026, 9:30 PMbrief-scientist-13682
08/10/2026, 9:31 PMbrief-scientist-13682
08/10/2026, 9:31 PMhttps://${SNEAKY}@example.org
Or ... some other incantation.
Also, what fails in CI, lock file generation or lock file use (building PEXes from uv venvs)freezing-wall-19707
08/10/2026, 9:40 PMhttps://${USER}:${PASSWORD}@example.org
I don't generate the lock file at all in CI. Its on use (and on any use) that it fails. It is always due to a 401 return from artifactory when trying to access the internal package.
I turned on verbose logging and that was enough to see that it got the 401 from <https://example.org>
I notice the URL no longer contains the auth. I don't know if that is due to it being lost in translation, or if uv just stripped it from the log.brief-scientist-13682
08/10/2026, 9:41 PMbrief-scientist-13682
08/10/2026, 9:41 PMbrief-scientist-13682
08/10/2026, 10:07 PMuv auth and right here Pants fails to set up full indexes / find-links for venv creation like it does for lock creation: github.com/pantsbuild/pants/blob/…/uv.py#…brief-scientist-13682
08/10/2026, 10:10 PMfreezing-wall-19707
08/11/2026, 10:24 AMhappy-kitchen-89482
08/11/2026, 6:14 PMformat = "flat"