Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

How to use behind proxy? #453

Open
elferia opened this issue Jul 29, 2020 · 0 comments
Open

How to use behind proxy? #453

elferia opened this issue Jul 29, 2020 · 0 comments

Comments

@elferia
Copy link

elferia commented Jul 29, 2020

Short description

How can I use dephell behind proxy? It seems to ignore http_proxy, https_proxy environmental variables or pip's proxy configuration(~/.pip/pip.conf).

Output

INFO build dependencies graph... forever.

While dephell running, I checked its connection by ss -ntp | grep dephell. It connected to pypi.org directly.

Steps to reproduce

$ http_proxy=${proxy_url} https_proxy=${proxy_url} dephell deps install

Traceback

N/A

Config

[tool]
[tool.dephell]
[tool.dephell.main]
from = "setup.py"

~/.pip/pip.conf:

[global]
proxy = ${proxy_url}

I confirmed pip in venv (created by python3 -m venv) uses this setting and install some packages successfully.

Versions

{
  "cache": "5.39Mb",
  "path": "/home/akira/.local/share/dephell/venvs/dephell/lib64/python3.6/site-packages/dephell",
  "python": "/home/akira/.local/share/dephell/venvs/dephell/bin/python3",
  "version": "0.8.3",
  "versions": {
    "dephell-archive": "0.1.7",
    "dephell-argparse": "0.1.3",
    "dephell-changelogs": "0.0.1",
    "dephell-discover": "0.2.10",
    "dephell-licenses": "0.1.7",
    "dephell-links": "0.1.5",
    "dephell-markers": "1.0.3",
    "dephell-pythons": "0.1.15",
    "dephell-setuptools": "0.2.4",
    "dephell-shells": "0.1.5",
    "dephell-specifier": "0.2.2",
    "dephell-venvs": "0.1.17",
    "dephell-versioning": "0.1.2"
  }
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant