{"action":"closed","issue":{"url":"https://api.github.com/repos/poise/python/issues/162","labels_url":"https://api.github.com/repos/poise/python/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/poise/python/issues/162/comments","events_url":"https://api.github.com/repos/poise/python/issues/162/events","html_url":"https://github.com/poise/python/issues/162","id":92628009,"number":162,"title":"execute[install-pip] fails on Debian 8 #SSLv3","user":{"login":"rmoriz","id":1527,"avatar_url":"https://avatars.githubusercontent.com/u/1527?v=3","gravatar_id":"","url":"https://api.github.com/users/rmoriz","html_url":"https://github.com/rmoriz","followers_url":"https://api.github.com/users/rmoriz/followers","following_url":"https://api.github.com/users/rmoriz/following{/other_user}","gists_url":"https://api.github.com/users/rmoriz/gists{/gist_id}","starred_url":"https://api.github.com/users/rmoriz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmoriz/subscriptions","organizations_url":"https://api.github.com/users/rmoriz/orgs","repos_url":"https://api.github.com/users/rmoriz/repos","events_url":"https://api.github.com/users/rmoriz/events{/privacy}","received_events_url":"https://api.github.com/users/rmoriz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-02T12:44:23Z","updated_at":"2015-07-17T19:14:58Z","closed_at":"2015-07-17T19:14:58Z","body":"reason: http://stackoverflow.com/questions/28987891/patch-pyopenssl-for-sslv3-issue\r\n\r\nlog: \r\n```shell\r\n      Recipe: python::pip\r\n         * cookbook_file[/tmp/kitchen/cache/get-pip.py] action create (up to date)\r\n       * execute[install-pip] action run\r\n           \r\n           ================================================================================\r\n           Error executing action `run` on resource 'execute[install-pip]'\r\n           ================================================================================\r\n           \r\n       Mixlib::ShellOut::ShellCommandFailed\r\n           ------------------------------------\r\n           Expected process to exit with [0], but received '1'\r\n           ---- Begin output of   /usr/bin/python get-pip.py\r\n        ----\r\n           STDOUT: \r\n           STDERR: Traceback (most recent call last):\r\n             File \"get-pip.py\", line 21529, in <module>\r\n        do_exec(entry, locals())\r\n             File \"<string>\", line 1, in do_exec\r\n             File \"<string>\", line 2, in <module>\r\n             File \"/tmp/unpacker-GcT6oV-scratchdir/pip/__init__.py\", line 11, in <module>\r\n             File \"/tmp/unpacker-GcT6oV-scratchdir/pip/vcs/mercurial.py\", line 9, in <module>\r\n             File \"/tmp/unpacker-GcT6oV-scratchdir/pip/download.py\", line 22, in <module>\r\n             File \"/tmp/unpacker-GcT6oV-scratchdir/pip/_vendor/requests/__init__.py\", line 53, in <module>\r\n             File \"/tmp/unpacker-GcT6oV-scratchdir/pip/_vendor/requests/packages/urllib3/contrib/pyopenssl.py\", line 62, in <module>\r\n           AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'\r\n           ---- End output of   /usr/bin/python get-pip.py\r\n            ----\r\n           Ran   /usr/bin/python get-pip.py\r\n            returned 1\r\n           \r\n           Resource Declaration:\r\n       ---------------------\r\n           # In /tmp/kitchen/cookbooks/python/recipes/pip.rb\r\n       \r\n       \r\n            43:   cwd Chef::Config[:file_cache_path]\r\n            44:   command <<-EOF\r\n            45:   #{node['python']['binary']} get-pip.py\r\n            46:   EOF\r\n            47:   not_if { ::File.exists?(pip_binary) }\r\n            48: end\r\n            49: \r\n           \r\n           Compiled Resource:\r\n           ------------------\r\n           # Declared in /tmp/kitchen/cookbooks/python/recipes/pip.rb:42:in `from_file'\r\n           \r\n           execute(\"install-pip\") do\r\n             action \"run\"\r\n         retries 0\r\n             retry_delay 2\r\n             default_guard_interpreter :execute\r\n             command \"  /usr/bin/python get-pip.py\\n\"\r\n             backup 5\r\n             cwd \"/tmp/kitchen/cache\"\r\n             returns 0\r\n         declared_type :execute\r\n             cookbook_name :python\r\n             recipe_name \"pip\"\r\n             not_if { #code block }\r\n           end\r\n\r\n```"}}