{"action":"created","issue":{"url":"https://api.github.com/repos/hackebrot/pytest-cookies/issues/27","repository_url":"https://api.github.com/repos/hackebrot/pytest-cookies","labels_url":"https://api.github.com/repos/hackebrot/pytest-cookies/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/hackebrot/pytest-cookies/issues/27/comments","events_url":"https://api.github.com/repos/hackebrot/pytest-cookies/issues/27/events","html_url":"https://github.com/hackebrot/pytest-cookies/issues/27","id":358074933,"node_id":"MDU6SXNzdWUzNTgwNzQ5MzM=","number":27,"title":"Use pathlib rather than py.path.local","user":{"login":"jamesmyatt","id":1047337,"node_id":"MDQ6VXNlcjEwNDczMzc=","avatar_url":"https://avatars1.githubusercontent.com/u/1047337?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesmyatt","html_url":"https://github.com/jamesmyatt","followers_url":"https://api.github.com/users/jamesmyatt/followers","following_url":"https://api.github.com/users/jamesmyatt/following{/other_user}","gists_url":"https://api.github.com/users/jamesmyatt/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesmyatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesmyatt/subscriptions","organizations_url":"https://api.github.com/users/jamesmyatt/orgs","repos_url":"https://api.github.com/users/jamesmyatt/repos","events_url":"https://api.github.com/users/jamesmyatt/events{/privacy}","received_events_url":"https://api.github.com/users/jamesmyatt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-09-07T13:49:43Z","updated_at":"2018-09-11T16:33:05Z","closed_at":"2018-09-07T15:33:53Z","author_association":"NONE","body":"py.path is deprecated and pathlib is the standard library approach. Support for old versions of Python can be done using pathlib2 (https://github.com/mcmtroffaes/pathlib2)"},"comment":{"url":"https://api.github.com/repos/hackebrot/pytest-cookies/issues/comments/420336708","html_url":"https://github.com/hackebrot/pytest-cookies/issues/27#issuecomment-420336708","issue_url":"https://api.github.com/repos/hackebrot/pytest-cookies/issues/27","id":420336708,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDMzNjcwOA==","user":{"login":"jamesmyatt","id":1047337,"node_id":"MDQ6VXNlcjEwNDczMzc=","avatar_url":"https://avatars1.githubusercontent.com/u/1047337?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesmyatt","html_url":"https://github.com/jamesmyatt","followers_url":"https://api.github.com/users/jamesmyatt/followers","following_url":"https://api.github.com/users/jamesmyatt/following{/other_user}","gists_url":"https://api.github.com/users/jamesmyatt/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesmyatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesmyatt/subscriptions","organizations_url":"https://api.github.com/users/jamesmyatt/orgs","repos_url":"https://api.github.com/users/jamesmyatt/repos","events_url":"https://api.github.com/users/jamesmyatt/events{/privacy}","received_events_url":"https://api.github.com/users/jamesmyatt/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T16:33:05Z","updated_at":"2018-09-11T16:33:05Z","author_association":"NONE","body":"I agree about `os.path` being horrible and I understand about following `pytest`, but it was a surprise to me coming across `py.path`, since I've been using `os.path` and `pathlib` from the standard library until now.\r\n\r\n`pathlib` has been in the standard library since 2014 (Python 3.4) and is the recommended by the py package developers, so I think it's worth planning to expose that as the interface. Once Python 2.7 is finally dead, every current release of Python will include it. Remember that pytest-cookies is at v0.3.0, so you have no requirement to avoid public API breaking changes.\r\n\r\nI'm not saying that you have to change everything now; I'm only suggesting that you consider it as a feature enhancement."}}
{"actor":{"display_login":"jamesmyatt"}}