{"action":"created","issue":{"url":"https://api.github.com/repos/sheagcraig/python-jss/issues/70","repository_url":"https://api.github.com/repos/sheagcraig/python-jss","labels_url":"https://api.github.com/repos/sheagcraig/python-jss/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/sheagcraig/python-jss/issues/70/comments","events_url":"https://api.github.com/repos/sheagcraig/python-jss/issues/70/events","html_url":"https://github.com/sheagcraig/python-jss/issues/70","id":298000218,"number":70,"title":"Install via pip requires 'cryptography'","user":{"login":"gkluoe","id":16822744,"avatar_url":"https://avatars3.githubusercontent.com/u/16822744?v=4","gravatar_id":"","url":"https://api.github.com/users/gkluoe","html_url":"https://github.com/gkluoe","followers_url":"https://api.github.com/users/gkluoe/followers","following_url":"https://api.github.com/users/gkluoe/following{/other_user}","gists_url":"https://api.github.com/users/gkluoe/gists{/gist_id}","starred_url":"https://api.github.com/users/gkluoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkluoe/subscriptions","organizations_url":"https://api.github.com/users/gkluoe/orgs","repos_url":"https://api.github.com/users/gkluoe/repos","events_url":"https://api.github.com/users/gkluoe/events{/privacy}","received_events_url":"https://api.github.com/users/gkluoe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-17T12:07:55Z","updated_at":"2018-02-21T15:13:49Z","closed_at":null,"author_association":"NONE","body":"Installing via pip alongside the system python on 10.13.3 seems to be missing a dependency. After installing, I get the message\r\n```\r\n File \"/Library/Python/2.7/site-packages/urllib3/contrib/pyopenssl.py\", line 47, in <module>\r\n    from cryptography import x509\r\nImportError: No module named cryptography\r\n```\r\nSo, it looks as if cryptography is actually an unresolved dependency of pyopenssl, which is included in urllib3.\r\n\r\nInterestingly, I don't get this issue if I install into a virtualenv - pip installs cryptography along with all the other packages..."},"comment":{"url":"https://api.github.com/repos/sheagcraig/python-jss/issues/comments/367358440","html_url":"https://github.com/sheagcraig/python-jss/issues/70#issuecomment-367358440","issue_url":"https://api.github.com/repos/sheagcraig/python-jss/issues/70","id":367358440,"user":{"login":"sheagcraig","id":3568072,"avatar_url":"https://avatars1.githubusercontent.com/u/3568072?v=4","gravatar_id":"","url":"https://api.github.com/users/sheagcraig","html_url":"https://github.com/sheagcraig","followers_url":"https://api.github.com/users/sheagcraig/followers","following_url":"https://api.github.com/users/sheagcraig/following{/other_user}","gists_url":"https://api.github.com/users/sheagcraig/gists{/gist_id}","starred_url":"https://api.github.com/users/sheagcraig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheagcraig/subscriptions","organizations_url":"https://api.github.com/users/sheagcraig/orgs","repos_url":"https://api.github.com/users/sheagcraig/repos","events_url":"https://api.github.com/users/sheagcraig/events{/privacy}","received_events_url":"https://api.github.com/users/sheagcraig/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T15:13:49Z","updated_at":"2018-02-21T15:13:49Z","author_association":"OWNER","body":"Hello @gkluoe \r\n\r\nI need to update the README here, as it talks about JSSImporter (which doesn't use requests any longer), and I need to update the package setup to work around this. And also remove references to easy_install!\r\n\r\nYou are correct that cryptography is needed; I forget the details already, but this is a change from older versions of macOS. I'll put this on the TODO list, but for anyone checking this issue out, the resolution is of course `pip install cryptography`."}}
{"actor":{"display_login":"sheagcraig"}}