The GitHub Actions job "CI" on libcloud.git/fix/2077-respect-no-proxy has 
failed.
Run started by GitHub user Sanjays2402 (triggered by micafer).

Head commit for run:
34fd511cb0600ce6c1f9710f02b849518510a05d / Sanjay Santhanam 
<[email protected]>
fix: explicitly disable proxy schemes instead of returning {}

Returning {} from _proxies_for_url() was not sufficient: requests merges
per-request proxies with the session proxies (merge_setting), so the
session-level http/https proxy was merged back in and still used for
no_proxy hosts. Now returns {'http': None, 'https': None}; requests
strips None values during the merge, leaving an empty effective mapping.

Also adds an end-to-end-ish test around LibcloudConnection.request()
(with HTTPAdapter.send mocked) asserting the proxy mapping that actually
reaches the adapter after requests processing, plus a control case
showing non-bypassed hosts still use the configured proxy.

Report URL: https://github.com/apache/libcloud/actions/runs/34436104661

With regards,
GitHub Actions via GitBox

Reply via email to