{"action":"opened","issue":{"url":"https://api.github.com/repos/kyb3r/dhooks/issues/28","repository_url":"https://api.github.com/repos/kyb3r/dhooks","labels_url":"https://api.github.com/repos/kyb3r/dhooks/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/kyb3r/dhooks/issues/28/comments","events_url":"https://api.github.com/repos/kyb3r/dhooks/issues/28/events","html_url":"https://github.com/kyb3r/dhooks/issues/28","id":504215704,"node_id":"MDU6SXNzdWU1MDQyMTU3MDQ=","number":28,"title":"ImportError: cannot import name 'Coroutine'","user":{"login":"ErikKalkoken","id":7696155,"node_id":"MDQ6VXNlcjc2OTYxNTU=","avatar_url":"https://avatars0.githubusercontent.com/u/7696155?v=4","gravatar_id":"","url":"https://api.github.com/users/ErikKalkoken","html_url":"https://github.com/ErikKalkoken","followers_url":"https://api.github.com/users/ErikKalkoken/followers","following_url":"https://api.github.com/users/ErikKalkoken/following{/other_user}","gists_url":"https://api.github.com/users/ErikKalkoken/gists{/gist_id}","starred_url":"https://api.github.com/users/ErikKalkoken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErikKalkoken/subscriptions","organizations_url":"https://api.github.com/users/ErikKalkoken/orgs","repos_url":"https://api.github.com/users/ErikKalkoken/repos","events_url":"https://api.github.com/users/ErikKalkoken/events{/privacy}","received_events_url":"https://api.github.com/users/ErikKalkoken/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-10-08T18:51:03Z","updated_at":"2019-10-08T18:51:03Z","closed_at":null,"author_association":"NONE","body":"Trying to run dhooks on Python 3.5.2 gives the following error:\r\n\r\n```\r\n  File \"/home/allianceserver/venv/auth/lib/python3.5/site-packages/dhooks/client.py\", line 5, in <module>\r\n    from typing import Union, List, Optional, Coroutine\r\nImportError: cannot import name 'Coroutine'\r\n```\r\n\r\nAfter some research incl[ this post](https://stackoverflow.com/questions/44651115/python-typing-module-missing-the-coroutine-class-in-python-3-5) on stackoverflow it appear to be the case that the class `Coroutine` was not part of Python early versions of 3.5. There also does not seam to be a fix available other than upgrading to a newer Python version.\r\n\r\nIt does works with never versions of 3.5 though, e.g.  I can confirm this for 3.5.7.\r\n\r\nSince Python 3.5.2 is the latest version that comes with the widely used Ubuntu 16.04. LTS I would suggest to update the version information accordingly. Either find out and test from witch minor version of 3.5 this app will work probably or just say you need at least 3.6 to run this app."}}
{"actor":{"display_login":"ErikKalkoken"}}