{"action":"created","comment":{"url":"https://api.github.com/repos/puppetlabs/puppet/pulls/comments/59237521","id":59237521,"diff_hunk":"@@ -131,4 +146,33 @@ def lazy_pip(*args)\n   def install_options\n     join_options(@resource[:install_options])\n   end\n+\n+  def latest_with_new_pip\n+    # Less resource intensive approach for pip version 1.5.4 and above\n+    execpipe [\"#{self.class.pip_cmd}\", \"install\", \"#{@resource[:name]}==versionplease\"] do |process|","path":"lib/puppet/provider/package/pip.rb","position":100,"original_position":100,"commit_id":"a6a61ad8ce09ede533adc7e453f82ef5a66a3083","original_commit_id":"a6a61ad8ce09ede533adc7e453f82ef5a66a3083","user":{"login":"MikaelSmith","id":8162496,"avatar_url":"https://avatars.githubusercontent.com/u/8162496?v=3","gravatar_id":"","url":"https://api.github.com/users/MikaelSmith","html_url":"https://github.com/MikaelSmith","followers_url":"https://api.github.com/users/MikaelSmith/followers","following_url":"https://api.github.com/users/MikaelSmith/following{/other_user}","gists_url":"https://api.github.com/users/MikaelSmith/gists{/gist_id}","starred_url":"https://api.github.com/users/MikaelSmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikaelSmith/subscriptions","organizations_url":"https://api.github.com/users/MikaelSmith/orgs","repos_url":"https://api.github.com/users/MikaelSmith/repos","events_url":"https://api.github.com/users/MikaelSmith/events{/privacy}","received_events_url":"https://api.github.com/users/MikaelSmith/received_events","type":"User","site_admin":false},"body":"Any reason you're using install, instead of something like\r\n```\r\n$ pip search sslyze\r\nSSLyze (0.13.3)  - Fast and full-featured SSL scanner.\r\n  INSTALLED: 0.13.5\r\n  LATEST:    0.13.3\r\nnassl (0.13.3)   - Experimental OpenSSL wrapper for Python 2.7 and SSLyze.\r\n  INSTALLED: 0.13.5\r\n  LATEST:    0.13.3\r\n```","created_at":"2016-04-11T16:40:30Z","updated_at":"2016-04-11T16:40:30Z","html_url":"https://github.com/puppetlabs/puppet/pull/4832#discussion_r59237521","pull_request_url":"https://api.github.com/repos/puppetlabs/puppet/pulls/4832","_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/comments/59237521"},"html":{"href":"https://github.com/puppetlabs/puppet/pull/4832#discussion_r59237521"},"pull_request":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/4832"}}},"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppet/pulls/4832","id":65144925,"html_url":"https://github.com/puppetlabs/puppet/pull/4832","diff_url":"https://github.com/puppetlabs/puppet/pull/4832.diff","patch_url":"https://github.com/puppetlabs/puppet/pull/4832.patch","issue_url":"https://api.github.com/repos/puppetlabs/puppet/issues/4832","number":4832,"state":"open","locked":false,"title":"(PUP-6120) Pip package provider compatibility with CLI","user":{"login":"Yuav","id":1322650,"avatar_url":"https://avatars.githubusercontent.com/u/1322650?v=3","gravatar_id":"","url":"https://api.github.com/users/Yuav","html_url":"https://github.com/Yuav","followers_url":"https://api.github.com/users/Yuav/followers","following_url":"https://api.github.com/users/Yuav/following{/other_user}","gists_url":"https://api.github.com/users/Yuav/gists{/gist_id}","starred_url":"https://api.github.com/users/Yuav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yuav/subscriptions","organizations_url":"https://api.github.com/users/Yuav/orgs","repos_url":"https://api.github.com/users/Yuav/repos","events_url":"https://api.github.com/users/Yuav/events{/privacy}","received_events_url":"https://api.github.com/users/Yuav/received_events","type":"User","site_admin":false},"body":"Reduce dependencies to only require pip installed.\r\n\r\nThis results in:\r\n\r\nRemoved complexity:\r\n\r\n    Poll from PyPI API directly\r\n    Special case proxies\r\n\r\nAdded functionality:\r\n\r\n    pip can now properly manage pip package from pip repository","created_at":"2016-04-04T13:29:37Z","updated_at":"2016-04-11T16:40:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c0f29724268796bac1c5d5a3ed3cde7c395fd602","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/puppet/pulls/4832/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/puppet/pulls/4832/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/puppet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/puppet/issues/4832/comments","statuses_url":"https://api.github.com/repos/puppetlabs/puppet/statuses/a6a61ad8ce09ede533adc7e453f82ef5a66a3083","head":{"label":"Yuav:pip_provider_fix","ref":"pip_provider_fix","sha":"a6a61ad8ce09ede533adc7e453f82ef5a66a3083","user":{"login":"Yuav","id":1322650,"avatar_url":"https://avatars.githubusercontent.com/u/1322650?v=3","gravatar_id":"","url":"https://api.github.com/users/Yuav","html_url":"https://github.com/Yuav","followers_url":"https://api.github.com/users/Yuav/followers","following_url":"https://api.github.com/users/Yuav/following{/other_user}","gists_url":"https://api.github.com/users/Yuav/gists{/gist_id}","starred_url":"https://api.github.com/users/Yuav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yuav/subscriptions","organizations_url":"https://api.github.com/users/Yuav/orgs","repos_url":"https://api.github.com/users/Yuav/repos","events_url":"https://api.github.com/users/Yuav/events{/privacy}","received_events_url":"https://api.github.com/users/Yuav/received_events","type":"User","site_admin":false},"repo":{"id":43114420,"name":"puppet","full_name":"Yuav/puppet","owner":{"login":"Yuav","id":1322650,"avatar_url":"https://avatars.githubusercontent.com/u/1322650?v=3","gravatar_id":"","url":"https://api.github.com/users/Yuav","html_url":"https://github.com/Yuav","followers_url":"https://api.github.com/users/Yuav/followers","following_url":"https://api.github.com/users/Yuav/following{/other_user}","gists_url":"https://api.github.com/users/Yuav/gists{/gist_id}","starred_url":"https://api.github.com/users/Yuav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yuav/subscriptions","organizations_url":"https://api.github.com/users/Yuav/orgs","repos_url":"https://api.github.com/users/Yuav/repos","events_url":"https://api.github.com/users/Yuav/events{/privacy}","received_events_url":"https://api.github.com/users/Yuav/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Yuav/puppet","description":"Server automation framework and application","fork":true,"url":"https://api.github.com/repos/Yuav/puppet","forks_url":"https://api.github.com/repos/Yuav/puppet/forks","keys_url":"https://api.github.com/repos/Yuav/puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yuav/puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yuav/puppet/teams","hooks_url":"https://api.github.com/repos/Yuav/puppet/hooks","issue_events_url":"https://api.github.com/repos/Yuav/puppet/issues/events{/number}","events_url":"https://api.github.com/repos/Yuav/puppet/events","assignees_url":"https://api.github.com/repos/Yuav/puppet/assignees{/user}","branches_url":"https://api.github.com/repos/Yuav/puppet/branches{/branch}","tags_url":"https://api.github.com/repos/Yuav/puppet/tags","blobs_url":"https://api.github.com/repos/Yuav/puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yuav/puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yuav/puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yuav/puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yuav/puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/Yuav/puppet/languages","stargazers_url":"https://api.github.com/repos/Yuav/puppet/stargazers","contributors_url":"https://api.github.com/repos/Yuav/puppet/contributors","subscribers_url":"https://api.github.com/repos/Yuav/puppet/subscribers","subscription_url":"https://api.github.com/repos/Yuav/puppet/subscription","commits_url":"https://api.github.com/repos/Yuav/puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yuav/puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yuav/puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yuav/puppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yuav/puppet/contents/{+path}","compare_url":"https://api.github.com/repos/Yuav/puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yuav/puppet/merges","archive_url":"https://api.github.com/repos/Yuav/puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yuav/puppet/downloads","issues_url":"https://api.github.com/repos/Yuav/puppet/issues{/number}","pulls_url":"https://api.github.com/repos/Yuav/puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/Yuav/puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/Yuav/puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yuav/puppet/labels{/name}","releases_url":"https://api.github.com/repos/Yuav/puppet/releases{/id}","deployments_url":"https://api.github.com/repos/Yuav/puppet/deployments","created_at":"2015-09-25T06:49:43Z","updated_at":"2015-09-25T06:50:03Z","pushed_at":"2016-04-11T07:32:34Z","git_url":"git://github.com/Yuav/puppet.git","ssh_url":"git@github.com:Yuav/puppet.git","clone_url":"https://github.com/Yuav/puppet.git","svn_url":"https://github.com/Yuav/puppet","homepage":"https://puppetlabs.com/puppet/what-is-puppet","size":50968,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"puppetlabs:master","ref":"master","sha":"6ee8d015b106f0c1759908fb688da19e58ffa390","user":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":910744,"name":"puppet","full_name":"puppetlabs/puppet","owner":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puppetlabs/puppet","description":"Server automation framework and application","fork":false,"url":"https://api.github.com/repos/puppetlabs/puppet","forks_url":"https://api.github.com/repos/puppetlabs/puppet/forks","keys_url":"https://api.github.com/repos/puppetlabs/puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/puppet/teams","hooks_url":"https://api.github.com/repos/puppetlabs/puppet/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/puppet/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/puppet/events","assignees_url":"https://api.github.com/repos/puppetlabs/puppet/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/puppet/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/puppet/tags","blobs_url":"https://api.github.com/repos/puppetlabs/puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/puppet/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/puppet/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/puppet/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/puppet/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/puppet/subscription","commits_url":"https://api.github.com/repos/puppetlabs/puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/puppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/puppet/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/puppet/merges","archive_url":"https://api.github.com/repos/puppetlabs/puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/puppet/downloads","issues_url":"https://api.github.com/repos/puppetlabs/puppet/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/puppet/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/puppet/releases{/id}","deployments_url":"https://api.github.com/repos/puppetlabs/puppet/deployments","created_at":"2010-09-14T19:26:44Z","updated_at":"2016-04-11T12:08:55Z","pushed_at":"2016-04-11T16:33:43Z","git_url":"git://github.com/puppetlabs/puppet.git","ssh_url":"git@github.com:puppetlabs/puppet.git","clone_url":"https://github.com/puppetlabs/puppet.git","svn_url":"https://github.com/puppetlabs/puppet","homepage":"https://puppetlabs.com/puppet/what-is-puppet","size":79590,"stargazers_count":3919,"watchers_count":3919,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1616,"mirror_url":null,"open_issues_count":31,"forks":1616,"open_issues":31,"watchers":3919,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/4832"},"html":{"href":"https://github.com/puppetlabs/puppet/pull/4832"},"issue":{"href":"https://api.github.com/repos/puppetlabs/puppet/issues/4832"},"comments":{"href":"https://api.github.com/repos/puppetlabs/puppet/issues/4832/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/4832/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/4832/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/puppet/statuses/a6a61ad8ce09ede533adc7e453f82ef5a66a3083"}}}}