{"action":"created","issue":{"url":"https://api.github.com/repos/ehashman/ansiblefest/issues/1","repository_url":"https://api.github.com/repos/ehashman/ansiblefest","labels_url":"https://api.github.com/repos/ehashman/ansiblefest/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ehashman/ansiblefest/issues/1/comments","events_url":"https://api.github.com/repos/ehashman/ansiblefest/issues/1/events","html_url":"https://github.com/ehashman/ansiblefest/pull/1","id":362821792,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3NDM2Mzgw","number":1,"title":"Resolve Command Fixture Depreciation Warnings","user":{"login":"rcuza","id":220180,"node_id":"MDQ6VXNlcjIyMDE4MA==","avatar_url":"https://avatars1.githubusercontent.com/u/220180?v=4","gravatar_id":"","url":"https://api.github.com/users/rcuza","html_url":"https://github.com/rcuza","followers_url":"https://api.github.com/users/rcuza/followers","following_url":"https://api.github.com/users/rcuza/following{/other_user}","gists_url":"https://api.github.com/users/rcuza/gists{/gist_id}","starred_url":"https://api.github.com/users/rcuza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcuza/subscriptions","organizations_url":"https://api.github.com/users/rcuza/orgs","repos_url":"https://api.github.com/users/rcuza/repos","events_url":"https://api.github.com/users/rcuza/events{/privacy}","received_events_url":"https://api.github.com/users/rcuza/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-09-22T03:16:43Z","updated_at":"2018-09-24T14:56:48Z","closed_at":"2018-09-24T14:56:48Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/ehashman/ansiblefest/pulls/1","html_url":"https://github.com/ehashman/ansiblefest/pull/1","diff_url":"https://github.com/ehashman/ansiblefest/pull/1.diff","patch_url":"https://github.com/ehashman/ansiblefest/pull/1.patch"},"body":"While running the code, I was getting the following warning: \r\n\r\n```\r\n    =============================== warnings summary ===============================\r\n      Command fixture is deprecated. Use host fixture instead\r\n      TestinfraBackend fixture is deprecated. Use host fixture and get backend with host.backend\r\n\r\n    unknown file:0: RemovedInPytest4Warning: config.warn has been deprecated, use warnings.warn instead\r\n    unknown file:0: RemovedInPytest4Warning: config.warn has been deprecated, use warnings.warn instead\r\n\r\n    -- Docs: https://docs.pytest.org/en/latest/warnings.html\r\n    ===================== 2 passed, 4 warnings in 2.48 seconds =====================\r\n```\r\n\r\nAfter making this change the depreciation warnings go away.\r\n\r\nI'm using the following versions:\r\n```\r\n$ molecule --version\r\nmolecule, version 2.18.1\r\n$ ansible --version\r\nansible 2.6.4\r\npython version = 2.7.15\r\n$ pip freeze | grep testinfra\r\ntestinfra==1.14.1\r\n```"},"comment":{"url":"https://api.github.com/repos/ehashman/ansiblefest/issues/comments/424004702","html_url":"https://github.com/ehashman/ansiblefest/pull/1#issuecomment-424004702","issue_url":"https://api.github.com/repos/ehashman/ansiblefest/issues/1","id":424004702,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDAwNDcwMg==","user":{"login":"rcuza","id":220180,"node_id":"MDQ6VXNlcjIyMDE4MA==","avatar_url":"https://avatars1.githubusercontent.com/u/220180?v=4","gravatar_id":"","url":"https://api.github.com/users/rcuza","html_url":"https://github.com/rcuza","followers_url":"https://api.github.com/users/rcuza/followers","following_url":"https://api.github.com/users/rcuza/following{/other_user}","gists_url":"https://api.github.com/users/rcuza/gists{/gist_id}","starred_url":"https://api.github.com/users/rcuza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcuza/subscriptions","organizations_url":"https://api.github.com/users/rcuza/orgs","repos_url":"https://api.github.com/users/rcuza/repos","events_url":"https://api.github.com/users/rcuza/events{/privacy}","received_events_url":"https://api.github.com/users/rcuza/received_events","type":"User","site_admin":false},"created_at":"2018-09-24T14:56:48Z","updated_at":"2018-09-24T14:56:48Z","author_association":"NONE","body":"I don't have a debian box on which I can run vagrant and am don't want to go down the rabbit hole of running vagrant inside of a box that I've created in a VirtualMachine. I wish I could reproduce your demo environment to get a successful `molecule test` run. If I could, I might of been able to figure out what actually changed since you originally published your repo.\r\n\r\nYour demo is a great way to introduce `molecule` aided Ansible role development. For the purposes of doing this demo for my team, I am going to get your demo working from a host OS X machine, using python3 and molecule v2. I'll update the documentation accordingly. If you are interested in a PR, let me know and I will happily put it together.\r\n\r\nAlso, if you have a LICENSE in mind, that would be great, too, so I can do the code changes in accordance to your wishes. \r\n\r\nI am going to close this PR since it does not fit with your Master branch (e.g. mismatched documentation).\r\n"}}
{"actor":{"display_login":"rcuza"}}