-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uv ignore proxy exceptions on Windows #11640
Comments
Thanks for adding more details! I appreciate it. How does the proxy configuration work? Where do you do that? We don't read proxy setting directly, so we'll need to track support for this upstream in |
The proxy settings are directly set into windows You can simulate one with CCProxy software |
The linux equivalent would be:
But I have not tested under Linux if the behavior was the same. |
Thanks again! I think this is the same as seanmonstar/reqwest#1444 Can you confirm that registry key is the relevant place this is stored? |
Thanks! I'll follow-up there and see if we can get this fixed. |
Hi. I meet this issue too and this ticket confirm it is a bug/lack... It is important to know that proxy configuration is not only http_proxy/https_proxy, but no_proxy too and overall it is really important when you need it |
We're just waiting for the fix to be released upstream. |
Okay. I was wondering about the impact of these bug, but for the moment blocking problem as I can't test or deploy anything on my deployement server as it can't access to internal ressource of my company (python package from internal gitlab instance) as UV pip try to get them from public internet |
A fix have been push and merged. As @zanieb said we are waiting for a new release of reqwest (above than @rv2931 as workaround (for now) you can use this:
Run this in a powershell command with comma separator and without
|
Ok but I don't understand your workaround as it is the topic if the bug itself: no_proxy is not managed correctly by uv commands |
Summary
On Windows, in a corporate device the proxy exceptions defined in the proxy settings are ignored by uv.
Steps to reproduce
Proxy config
uv config file
%APPDATA%\uv\uv.toml
to use custom index url:Run uv command
Same command with verbose
Platform
Windows 10 & 11
Version
uv 0.6.2
Python version
python 3.11
The text was updated successfully, but these errors were encountered: