This repository was archived by the owner on Oct 2, 2018. It is now read-only.
Upgrade setuptools twice, since it won't upgrade once #120
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This has been already reported for CentOS 5.x in #111 and reported for CentOS 6.5 in #100. A quick Google search confirms that some users of Stackoverflow have also sought help with the broken behavior: http://stackoverflow.com/a/25288078/70665
The actual error, on a fresh install of CentOS 6.5 and then applying this cookbook, is:
My fix was to run the setuptools upgrade twice in recipes/pip.rb. I couldn't override this in a wrapper script because I couldn't trigger anything to run after ::package but before ::pip. I stepped through that process before committing it here, and below was what happened for each setuptools upgrade:
This loop in the PR shouldn't affect other systems, as it just ensures setuptools is upgraded twice. For whatever reason, pip doesn't do this on its own.