{"action":"created","issue":{"url":"https://api.github.com/repos/avocado-framework/avocado/issues/2724","repository_url":"https://api.github.com/repos/avocado-framework/avocado","labels_url":"https://api.github.com/repos/avocado-framework/avocado/issues/2724/labels{/name}","comments_url":"https://api.github.com/repos/avocado-framework/avocado/issues/2724/comments","events_url":"https://api.github.com/repos/avocado-framework/avocado/issues/2724/events","html_url":"https://github.com/avocado-framework/avocado/pull/2724","id":343254136,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyOTYxNDIy","number":2724,"title":"selftests/functional/test_basic.py: prevent unversioned Python","user":{"login":"clebergnu","id":447178,"node_id":"MDQ6VXNlcjQ0NzE3OA==","avatar_url":"https://avatars1.githubusercontent.com/u/447178?v=4","gravatar_id":"","url":"https://api.github.com/users/clebergnu","html_url":"https://github.com/clebergnu","followers_url":"https://api.github.com/users/clebergnu/followers","following_url":"https://api.github.com/users/clebergnu/following{/other_user}","gists_url":"https://api.github.com/users/clebergnu/gists{/gist_id}","starred_url":"https://api.github.com/users/clebergnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clebergnu/subscriptions","organizations_url":"https://api.github.com/users/clebergnu/orgs","repos_url":"https://api.github.com/users/clebergnu/repos","events_url":"https://api.github.com/users/clebergnu/events{/privacy}","received_events_url":"https://api.github.com/users/clebergnu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-20T21:34:25Z","updated_at":"2018-07-23T18:56:20Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/avocado-framework/avocado/pulls/2724","html_url":"https://github.com/avocado-framework/avocado/pull/2724","diff_url":"https://github.com/avocado-framework/avocado/pull/2724.diff","patch_url":"https://github.com/avocado-framework/avocado/pull/2724.patch"},"body":"`examples/tests/simplewarning.sh` calls a generic avocado command,\r\nwhich gets added to the path by the test code. That generic avocado\r\ncommand is `scripts/avocado`, from the source repository, which\r\ncontains the unversioned `/usr/bin/env python`.\r\n\r\nUnder some environments, such as Fedora >= 29, there may be no\r\nunversioned Python binary.  Let's respect the UNITTEST_AVOCADO_CMD\r\nenvironment variable, and add the the directory containting that\r\nbinary to the PATH.\r\n\r\nSigned-off-by: Cleber Rosa <crosa@redhat.com>"},"comment":{"url":"https://api.github.com/repos/avocado-framework/avocado/issues/comments/407164376","html_url":"https://github.com/avocado-framework/avocado/pull/2724#issuecomment-407164376","issue_url":"https://api.github.com/repos/avocado-framework/avocado/issues/2724","id":407164376,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzE2NDM3Ng==","user":{"login":"mmathesius","id":20879816,"node_id":"MDQ6VXNlcjIwODc5ODE2","avatar_url":"https://avatars3.githubusercontent.com/u/20879816?v=4","gravatar_id":"","url":"https://api.github.com/users/mmathesius","html_url":"https://github.com/mmathesius","followers_url":"https://api.github.com/users/mmathesius/followers","following_url":"https://api.github.com/users/mmathesius/following{/other_user}","gists_url":"https://api.github.com/users/mmathesius/gists{/gist_id}","starred_url":"https://api.github.com/users/mmathesius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmathesius/subscriptions","organizations_url":"https://api.github.com/users/mmathesius/orgs","repos_url":"https://api.github.com/users/mmathesius/repos","events_url":"https://api.github.com/users/mmathesius/events{/privacy}","received_events_url":"https://api.github.com/users/mmathesius/received_events","type":"User","site_admin":false},"created_at":"2018-07-23T18:56:20Z","updated_at":"2018-07-23T18:56:20Z","author_association":"COLLABORATOR","body":"I also tried including this patch to my fork of the downstream Fedora `python-avocado` package (https://src.fedoraproject.org/fork/merlinm/rpms/python-avocado/branch/latest). This commit, in conjunction with selected commits from PRs #2720 and  #2723, finally enables avocado 63.0 to build for Rawhide (https://koji.fedoraproject.org/koji/taskinfo?taskID=28546170)! I also confirmed it builds for F28 (https://koji.fedoraproject.org/koji/taskinfo?taskID=28546248)"}}
{"actor":{"display_login":"mmathesius"}}