{"action":"created","issue":{"url":"https://api.github.com/repos/aio-libs/yarl/issues/43","repository_url":"https://api.github.com/repos/aio-libs/yarl","labels_url":"https://api.github.com/repos/aio-libs/yarl/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/aio-libs/yarl/issues/43/comments","events_url":"https://api.github.com/repos/aio-libs/yarl/issues/43/events","html_url":"https://github.com/aio-libs/yarl/issues/43","id":197211070,"number":43,"title":"tmpbuf - compiling error","user":{"login":"pimbolilu","id":19839434,"avatar_url":"https://avatars.githubusercontent.com/u/19839434?v=3","gravatar_id":"","url":"https://api.github.com/users/pimbolilu","html_url":"https://github.com/pimbolilu","followers_url":"https://api.github.com/users/pimbolilu/followers","following_url":"https://api.github.com/users/pimbolilu/following{/other_user}","gists_url":"https://api.github.com/users/pimbolilu/gists{/gist_id}","starred_url":"https://api.github.com/users/pimbolilu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pimbolilu/subscriptions","organizations_url":"https://api.github.com/users/pimbolilu/orgs","repos_url":"https://api.github.com/users/pimbolilu/repos","events_url":"https://api.github.com/users/pimbolilu/events{/privacy}","received_events_url":"https://api.github.com/users/pimbolilu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-22T16:22:05Z","updated_at":"2016-12-25T16:07:48Z","closed_at":null,"body":"Hello,\r\n\r\nI get this compiling error:\r\n\r\n`sudo pip3 install yarl\r\nDownloading/unpacking yarl\r\n  Downloading yarl-0.8.1.tar.gz (121kB): 121kB downloaded\r\n  Running setup.py (path:/tmp/pip-build-nm8vbb7v/yarl/setup.py) egg_info for package yarl\r\n    \r\n    Error compiling Cython file:\r\n    ------------------------------------------------------------\r\n    ...\r\n            if ch in ALLOWED:\r\n                PyUnicode_WriteChar(ret, ret_idx, ch)\r\n                ret_idx +=1\r\n                continue\r\n    \r\n            tmpbuf = PyUnicode_AsUTF8AndSize(ch, &tmpbuf_size)\r\n                  ^\r\n    ------------------------------------------------------------\r\n    \r\n    yarl/_quoting.pyx:117:15: Assignment to non-lvalue 'tmpbuf'\r\n    Traceback (most recent call last):\r\n      File \"<string>\", line 17, in <module>\r\n      File \"/tmp/pip-build-nm8vbb7v/yarl/setup.py\", line 27, in <module>\r\n        extensions = cythonize(extensions)\r\n      File \"/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py\", line 840, in cythonize\r\n        cythonize_one(*args[1:])\r\n      File \"/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py\", line 959, in cythonize_one\r\n        raise CompileError(None, pyx_file)\r\n    Cython.Compiler.Errors.CompileError: yarl/_quoting.pyx\r\n    Compiling yarl/_quoting.pyx because it changed.\r\n    Cythonizing yarl/_quoting.pyx\r\n    Complete output from command python setup.py egg_info:\r\n    \r\n\r\nError compiling Cython file:\r\n\r\n------------------------------------------------------------\r\n\r\n...\r\n\r\n        if ch in ALLOWED:\r\n\r\n            PyUnicode_WriteChar(ret, ret_idx, ch)\r\n\r\n            ret_idx +=1\r\n\r\n            continue\r\n\r\n\r\n\r\n        tmpbuf = PyUnicode_AsUTF8AndSize(ch, &tmpbuf_size)\r\n\r\n              ^\r\n\r\n------------------------------------------------------------\r\n\r\n\r\n\r\nyarl/_quoting.pyx:117:15: Assignment to non-lvalue 'tmpbuf'\r\n\r\nTraceback (most recent call last):\r\n\r\n  File \"<string>\", line 17, in <module>\r\n\r\n  File \"/tmp/pip-build-nm8vbb7v/yarl/setup.py\", line 27, in <module>\r\n\r\n    extensions = cythonize(extensions)\r\n\r\n  File \"/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py\", line 840, in cythonize\r\n\r\n    cythonize_one(*args[1:])\r\n\r\n  File \"/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py\", line 959, in cythonize_one\r\n\r\n    raise CompileError(None, pyx_file)\r\n\r\nCython.Compiler.Errors.CompileError: yarl/_quoting.pyx\r\n\r\nCompiling yarl/_quoting.pyx because it changed.\r\n\r\nCythonizing yarl/_quoting.pyx\r\n\r\n----------------------------------------\r\n`"},"comment":{"url":"https://api.github.com/repos/aio-libs/yarl/issues/comments/269128439","html_url":"https://github.com/aio-libs/yarl/issues/43#issuecomment-269128439","issue_url":"https://api.github.com/repos/aio-libs/yarl/issues/43","id":269128439,"user":{"login":"pimbolilu","id":19839434,"avatar_url":"https://avatars.githubusercontent.com/u/19839434?v=3","gravatar_id":"","url":"https://api.github.com/users/pimbolilu","html_url":"https://github.com/pimbolilu","followers_url":"https://api.github.com/users/pimbolilu/followers","following_url":"https://api.github.com/users/pimbolilu/following{/other_user}","gists_url":"https://api.github.com/users/pimbolilu/gists{/gist_id}","starred_url":"https://api.github.com/users/pimbolilu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pimbolilu/subscriptions","organizations_url":"https://api.github.com/users/pimbolilu/orgs","repos_url":"https://api.github.com/users/pimbolilu/repos","events_url":"https://api.github.com/users/pimbolilu/events{/privacy}","received_events_url":"https://api.github.com/users/pimbolilu/received_events","type":"User","site_admin":false},"created_at":"2016-12-25T16:07:48Z","updated_at":"2016-12-25T16:07:48Z","body":"perfect! It worked also for me, you are my hero of the day :)\r\n\r\nBtw: I also needed to update yarl because of the home-assistant upgrade."}}
{"actor":{"display_login":"pimbolilu"}}