uv
uv copied to clipboard
Add unit test coverage for netrc authentication
Similar to #2447 — but we should use a netrc file instead of in-url authentication.
We'll probably need to configure netrc to use a file in a temporary directory. We don't want this to affect the developer's machine.
Is this test not sufficient to validate netrc authentication? Or do we need more tests to validate correct precedence?
It's not sufficient because it does doesn't ensure we're properly applying authentication to all the requests necessary for installation. I'm looking for something that's end-to-end like https://github.com/astral-sh/uv/pull/2463
We have more test coverage in https://github.com/astral-sh/uv/pull/2976 now but still not end-to-end.