{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/48315","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/48315/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/48315/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/48315/events","html_url":"https://github.com/saltstack/salt/pull/48315","id":335810265,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3NDE1NzQ3","number":48315,"title":"Add backward-compatibility for older python-consul package dependencies","user":{"login":"isbm","id":1073714,"node_id":"MDQ6VXNlcjEwNzM3MTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1073714?v=4","gravatar_id":"","url":"https://api.github.com/users/isbm","html_url":"https://github.com/isbm","followers_url":"https://api.github.com/users/isbm/followers","following_url":"https://api.github.com/users/isbm/following{/other_user}","gists_url":"https://api.github.com/users/isbm/gists{/gist_id}","starred_url":"https://api.github.com/users/isbm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isbm/subscriptions","organizations_url":"https://api.github.com/users/isbm/orgs","repos_url":"https://api.github.com/users/isbm/repos","events_url":"https://api.github.com/users/isbm/events{/privacy}","received_events_url":"https://api.github.com/users/isbm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-26T13:06:34Z","updated_at":"2018-06-26T23:39:25Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/saltstack/salt/pulls/48315","html_url":"https://github.com/saltstack/salt/pull/48315","diff_url":"https://github.com/saltstack/salt/pull/48315.diff","patch_url":"https://github.com/saltstack/salt/pull/48315.patch"},"body":"### What does this PR do?\r\n\r\nBugfix\r\n\r\n### Previous Behavior\r\n\r\nWith an older `python-consul` dependency package you will get this:\r\n\r\n```\r\n[ERROR   ] Failed to import pillar consul_pillar, this is due most likely to a syntax error:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/site-packages/salt/loader.py\", line 1333, in _load_module\r\n    mod = imp.load_module(mod_namespace, fn_, fpath, desc)\r\n  File \"/usr/lib/python2.7/site-packages/salt/pillar/consul_pillar.py\", line 138, in <module>\r\n    CONSUL_VERSION = consul.__version__\r\nAttributeError: 'module' object has no attribute '__version__'\r\n```\r\n\r\n### Tests written?\r\n\r\nNo\r\n"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/400496392","html_url":"https://github.com/saltstack/salt/pull/48315#issuecomment-400496392","issue_url":"https://api.github.com/repos/saltstack/salt/issues/48315","id":400496392,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDQ5NjM5Mg==","user":{"login":"rallytime","id":6547906,"node_id":"MDQ6VXNlcjY1NDc5MDY=","avatar_url":"https://avatars2.githubusercontent.com/u/6547906?v=4","gravatar_id":"","url":"https://api.github.com/users/rallytime","html_url":"https://github.com/rallytime","followers_url":"https://api.github.com/users/rallytime/followers","following_url":"https://api.github.com/users/rallytime/following{/other_user}","gists_url":"https://api.github.com/users/rallytime/gists{/gist_id}","starred_url":"https://api.github.com/users/rallytime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rallytime/subscriptions","organizations_url":"https://api.github.com/users/rallytime/orgs","repos_url":"https://api.github.com/users/rallytime/repos","events_url":"https://api.github.com/users/rallytime/events{/privacy}","received_events_url":"https://api.github.com/users/rallytime/received_events","type":"User","site_admin":false},"created_at":"2018-06-26T23:39:24Z","updated_at":"2018-06-26T23:39:24Z","author_association":"CONTRIBUTOR","body":"@isbm Looks like a single test failure needs some love. Can you fix that?\r\n\r\nhttps://jenkins.saltstack.com/job/PR/job/salt-pr-linode-ubuntu14-n/23962/"}}
{"actor":{"display_login":"rallytime"}}