Skip to content

Proposed fix to #1180 - Make 'pip search' support http proxy #1898

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

Closed
wants to merge 1 commit into from
Closed

Proposed fix to #1180 - Make 'pip search' support http proxy #1898

wants to merge 1 commit into from

Conversation

tnotstar
Copy link
Contributor

This patch is my two cents trying to fix the unsupported --proxy option for the search command. Following changes have been made:

  • Make use of --proxy option in search command.
  • Add a new UrllibTransport class for xmlrpclib.ServerProxy to support http proxy based upon urllib (Py3) / urllib2 (Py2).

* Make use of `proxy` option in `search` command.
* Add a new `UrllibTransport` class for `xmlrpclib.ServerProxy` to
support  http proxy based upon `urllib` (Py3) / `urllib2` (Py2).
@dstufft
Copy link
Member

dstufft commented Jun 26, 2014

It probably makes more sense to have this use requests like the rest of pip does yea?

@tnotstar
Copy link
Contributor Author

Oops... absolutely. I'll to rewrite Transport implementation to make use of requests. (And fix a bunch of errors reported by Travis).

Thanks for your feedback!

@tnotstar tnotstar closed this Jun 26, 2014
@tnotstar
Copy link
Contributor Author

tnotstar commented Jul 1, 2014

Hi all,

To aims of clarity, I'll put here a reference to the pull request #1902 with my propose of a Transport implementation based upon PipSession (and therefore requests).

Regards.

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 5, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants