{"action":"opened","issue":{"url":"https://api.github.com/repos/eventlet/eventlet/issues/208","labels_url":"https://api.github.com/repos/eventlet/eventlet/issues/208/labels{/name}","comments_url":"https://api.github.com/repos/eventlet/eventlet/issues/208/comments","events_url":"https://api.github.com/repos/eventlet/eventlet/issues/208/events","html_url":"https://github.com/eventlet/eventlet/issues/208","id":59663609,"number":208,"title":"RuntimeWarning when using eventlet for patching requests","user":{"login":"imazor","id":5242977,"avatar_url":"https://avatars.githubusercontent.com/u/5242977?v=3","gravatar_id":"","url":"https://api.github.com/users/imazor","html_url":"https://github.com/imazor","followers_url":"https://api.github.com/users/imazor/followers","following_url":"https://api.github.com/users/imazor/following{/other_user}","gists_url":"https://api.github.com/users/imazor/gists{/gist_id}","starred_url":"https://api.github.com/users/imazor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imazor/subscriptions","organizations_url":"https://api.github.com/users/imazor/orgs","repos_url":"https://api.github.com/users/imazor/repos","events_url":"https://api.github.com/users/imazor/events{/privacy}","received_events_url":"https://api.github.com/users/imazor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-03T16:08:25Z","updated_at":"2015-03-03T16:08:25Z","closed_at":null,"body":"Hi,\r\nI am getting the following warning while using requests with eventlet:\r\n/usr/local/lib/python2.7/site-packages/requests/utils.py:74: RuntimeWarning: Parent module 'requests' not found while handling absolute import from netrc import netrc, NetrcParseError\r\n\r\nthis is my use for the patching:\r\nimport eventlet\r\n# Monkey-patch.\r\nrequests = eventlet.patcher.import_patched('requests')\r\n\r\n# Export same items as vanilla requests\r\n__requests_imports__ = ['utils', 'session', 'Session', 'codes', 'RequestException', 'Timeout', 'URLRequired',\r\n                        'TooManyRedirects', 'HTTPError', 'ConnectionError']\r\neventlet.patcher.slurp_properties(requests, globals(), srckeys=__requests_imports__)\r\n\r\nI took this from:\r\nhttps://github.com/saghul/erequests\r\n\r\nIs it ok? can I ignore it? Have I done something wrong?"}}