Skip to content
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

(PUP-5212) Pip package honors HTTP proxy #4503

Merged
merged 3 commits into from
Dec 16, 2015
Merged

Conversation

MikaelSmith
Copy link
Contributor

The pip package provider previously did not work behind a http proxy. It
will now honor system proxy settings for querying latest packages from
pypi.python.org.

The pip package provider previously did not work behind a http proxy. It
will now honor system proxy settings for querying latest packages from
`pypi.python.org`.
@MikaelSmith MikaelSmith changed the title (PUP-5212) Pip package honorns HTTP proxy (PUP-5212) Pip package honors HTTP proxy Dec 15, 2015
Travis's container infrastructure starts faster, so disable sudo to
ensure we run on it.
@kylog
Copy link

kylog commented Dec 15, 2015

Hmm, the travis fail on the first commit on ruby 1.9.3 (https://travis-ci.org/puppetlabs/puppet/builds/97052540) looks like it may be rubygems/bundler#3558, which (I think) @DavidS mentioned running into elsewhere.

I didn't run this down so don't know why it's intermittent, or really what's going on.

Fix might be to force a newer version of bundler with:

before_install:
  - gem install bundler -v 1.10

Mayyyyybe. Not sure.

@MikaelSmith
Copy link
Contributor Author

I'll give it a try.

Install a newer version of bundler to avoid the issue at
rubygems/bundler#3558. We ran into it several
times with Ruby 1.9.3 runs.
kylog pushed a commit that referenced this pull request Dec 16, 2015
(PUP-5212) Pip package honors HTTP proxy
@kylog kylog merged commit 8c6b5df into puppetlabs:3.x Dec 16, 2015
@DavidS
Copy link
Contributor

DavidS commented Dec 16, 2015

Yes, I ran into this and workarounded it the same as here (adding a link to the bug report). It worked for me, but it is a HACK.

@MikaelSmith MikaelSmith deleted the PUP-5212 branch December 16, 2015 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants