{"action":"created","issue":{"url":"https://api.github.com/repos/moddevices/mod-ui/issues/51","repository_url":"https://api.github.com/repos/moddevices/mod-ui","labels_url":"https://api.github.com/repos/moddevices/mod-ui/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/moddevices/mod-ui/issues/51/comments","events_url":"https://api.github.com/repos/moddevices/mod-ui/issues/51/events","html_url":"https://github.com/moddevices/mod-ui/issues/51","id":249591676,"number":51,"title":"Overall build succeeds even when one python command fails","user":{"login":"yurivict","id":271906,"avatar_url":"https://avatars2.githubusercontent.com/u/271906?v=4","gravatar_id":"","url":"https://api.github.com/users/yurivict","html_url":"https://github.com/yurivict","followers_url":"https://api.github.com/users/yurivict/followers","following_url":"https://api.github.com/users/yurivict/following{/other_user}","gists_url":"https://api.github.com/users/yurivict/gists{/gist_id}","starred_url":"https://api.github.com/users/yurivict/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurivict/subscriptions","organizations_url":"https://api.github.com/users/yurivict/orgs","repos_url":"https://api.github.com/users/yurivict/repos","events_url":"https://api.github.com/users/yurivict/events{/privacy}","received_events_url":"https://api.github.com/users/yurivict/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-11T10:09:11Z","updated_at":"2017-08-11T10:13:47Z","closed_at":null,"body":"It requires python3 and fails with python2. But an internal failing command should fail the overall build, and it doesn't:\r\n\r\n```\r\nbyte-compiling /usr/ports/audio/mod-ui/work/stage/usr/local/lib/python2.7/site-packages/mod/communication/crypt.py to crypt.pyc\r\n  File \"/usr/local/lib/python2.7/site-packages/mod/communication/crypt.py\", line 8\r\n    def encrypt(recipient_key_txt: str, data: str):\r\n                                 ^\r\nSyntaxError: invalid syntax\r\n\r\nbyte-compiling /usr/ports/audio/mod-ui/work/stage/usr/local/lib/python2.7/site-packages/mod/communication/device.py to device.pyc\r\nbyte-compiling /usr/ports/audio/mod-ui/work/stage/usr/local/lib/python2.7/site-packages/mod/communication/token.py to token.pyc\r\n  File \"/usr/local/lib/python2.7/site-packages/mod/communication/token.py\", line 6\r\n    def create_token_message(nonce: str):\r\n                                  ^\r\nSyntaxError: invalid syntax\r\n\r\nwriting byte-compilation script '/tmp/tmpVE7xfL.py'\r\n/usr/local/bin/python2.7 -O /tmp/tmpVE7xfL.py\r\nSyntaxError: 'return' with argument inside generator (host.py, line 2846)\r\n\r\n  File \"/usr/local/lib/python2.7/site-packages/mod/communication/crypt.py\", line 8\r\n    def encrypt(recipient_key_txt: str, data: str):\r\n                                 ^\r\nSyntaxError: invalid syntax\r\n\r\n  File \"/usr/local/lib/python2.7/site-packages/mod/communication/token.py\", line 6\r\n    def create_token_message(nonce: str):\r\n                                  ^\r\nSyntaxError: invalid syntax\r\n\r\nremoving /tmp/tmpVE7xfL.py\r\nrunning install_data\r\n```"},"comment":{"url":"https://api.github.com/repos/moddevices/mod-ui/issues/comments/321776196","html_url":"https://github.com/moddevices/mod-ui/issues/51#issuecomment-321776196","issue_url":"https://api.github.com/repos/moddevices/mod-ui/issues/51","id":321776196,"user":{"login":"falkTX","id":1334853,"avatar_url":"https://avatars3.githubusercontent.com/u/1334853?v=4","gravatar_id":"","url":"https://api.github.com/users/falkTX","html_url":"https://github.com/falkTX","followers_url":"https://api.github.com/users/falkTX/followers","following_url":"https://api.github.com/users/falkTX/following{/other_user}","gists_url":"https://api.github.com/users/falkTX/gists{/gist_id}","starred_url":"https://api.github.com/users/falkTX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falkTX/subscriptions","organizations_url":"https://api.github.com/users/falkTX/orgs","repos_url":"https://api.github.com/users/falkTX/repos","events_url":"https://api.github.com/users/falkTX/events{/privacy}","received_events_url":"https://api.github.com/users/falkTX/received_events","type":"User","site_admin":false},"created_at":"2017-08-11T10:13:47Z","updated_at":"2017-08-11T10:13:47Z","body":"the application is made for python3, not python2.\r\nwe're using setuptools, so that handles the build for us.\r\nI don't see how this is an issue with mod-ui.\r\n"}}
{"actor":{"display_login":"falkTX"}}