{"action":"created","issue":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/11907","repository_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr","labels_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/11907/labels{/name}","comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/11907/comments","events_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/11907/events","html_url":"https://github.com/zephyrproject-rtos/zephyr/pull/11907","id":388227384,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2NTQwNTI4","number":11907,"title":"cmake: FindPythonInterp: Prioritize 'python' from path the highest","user":{"login":"SebastianBoe","id":609230,"node_id":"MDQ6VXNlcjYwOTIzMA==","avatar_url":"https://avatars0.githubusercontent.com/u/609230?v=4","gravatar_id":"","url":"https://api.github.com/users/SebastianBoe","html_url":"https://github.com/SebastianBoe","followers_url":"https://api.github.com/users/SebastianBoe/followers","following_url":"https://api.github.com/users/SebastianBoe/following{/other_user}","gists_url":"https://api.github.com/users/SebastianBoe/gists{/gist_id}","starred_url":"https://api.github.com/users/SebastianBoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SebastianBoe/subscriptions","organizations_url":"https://api.github.com/users/SebastianBoe/orgs","repos_url":"https://api.github.com/users/SebastianBoe/repos","events_url":"https://api.github.com/users/SebastianBoe/events{/privacy}","received_events_url":"https://api.github.com/users/SebastianBoe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-06T14:02:51Z","updated_at":"2018-12-07T12:41:03Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/11907","html_url":"https://github.com/zephyrproject-rtos/zephyr/pull/11907","diff_url":"https://github.com/zephyrproject-rtos/zephyr/pull/11907.diff","patch_url":"https://github.com/zephyrproject-rtos/zephyr/pull/11907.patch"},"body":"Users expect that not just \"some\" compatible python is detected, but\r\nalso that it will be the 'python' executable from PATH, at least when\r\nthis executable is valid.\r\n\r\nTo this end rewrite FindPythonInterp to give this executable the\r\nhighest priority.\r\n\r\nThis fixes #11857\r\n\r\nSigned-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>"},"comment":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/comments/445221354","html_url":"https://github.com/zephyrproject-rtos/zephyr/pull/11907#issuecomment-445221354","issue_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/11907","id":445221354,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTIyMTM1NA==","user":{"login":"SebastianBoe","id":609230,"node_id":"MDQ6VXNlcjYwOTIzMA==","avatar_url":"https://avatars0.githubusercontent.com/u/609230?v=4","gravatar_id":"","url":"https://api.github.com/users/SebastianBoe","html_url":"https://github.com/SebastianBoe","followers_url":"https://api.github.com/users/SebastianBoe/followers","following_url":"https://api.github.com/users/SebastianBoe/following{/other_user}","gists_url":"https://api.github.com/users/SebastianBoe/gists{/gist_id}","starred_url":"https://api.github.com/users/SebastianBoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SebastianBoe/subscriptions","organizations_url":"https://api.github.com/users/SebastianBoe/orgs","repos_url":"https://api.github.com/users/SebastianBoe/repos","events_url":"https://api.github.com/users/SebastianBoe/events{/privacy}","received_events_url":"https://api.github.com/users/SebastianBoe/received_events","type":"User","site_admin":false},"created_at":"2018-12-07T12:41:03Z","updated_at":"2018-12-07T12:41:03Z","author_association":"COLLABORATOR","body":"> Can we just error out if sys.version_info doesn't exist instead? It was added in Python 2.0, released about 18 years ago.\r\n> \r\n> Would make this code a lot easier to read for CMake noobs like me, without any drawbacks in practice.\r\n\r\nFixed."}}
{"actor":{"display_login":"SebastianBoe"}}