{"action":"created","issue":{"url":"https://api.github.com/repos/borgbackup/borg/issues/400","labels_url":"https://api.github.com/repos/borgbackup/borg/issues/400/labels{/name}","comments_url":"https://api.github.com/repos/borgbackup/borg/issues/400/comments","events_url":"https://api.github.com/repos/borgbackup/borg/issues/400/events","html_url":"https://github.com/borgbackup/borg/pull/400","id":116429177,"number":400,"title":"fix production build on 3.3+ by importing mock from unittest","user":{"login":"anarcat","id":796623,"avatar_url":"https://avatars.githubusercontent.com/u/796623?v=3","gravatar_id":"","url":"https://api.github.com/users/anarcat","html_url":"https://github.com/anarcat","followers_url":"https://api.github.com/users/anarcat/followers","following_url":"https://api.github.com/users/anarcat/following{/other_user}","gists_url":"https://api.github.com/users/anarcat/gists{/gist_id}","starred_url":"https://api.github.com/users/anarcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anarcat/subscriptions","organizations_url":"https://api.github.com/users/anarcat/orgs","repos_url":"https://api.github.com/users/anarcat/repos","events_url":"https://api.github.com/users/anarcat/events{/privacy}","received_events_url":"https://api.github.com/users/anarcat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-11T21:52:33Z","updated_at":"2015-11-13T15:15:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/borgbackup/borg/pulls/400","html_url":"https://github.com/borgbackup/borg/pull/400","diff_url":"https://github.com/borgbackup/borg/pull/400.diff","patch_url":"https://github.com/borgbackup/borg/pull/400.patch"},"body":"turns out we can't assume mock is installed through pip here, as this is done only in the unit tests.\r\n\r\nthis will obviously fail in 3.2 and earlier\r\n\r\nthis should resolve #384 for recent python releases. i have no idea how to fix this for earlier releases short of depending on mock or rewriting it ourselves (!)."},"comment":{"url":"https://api.github.com/repos/borgbackup/borg/issues/comments/156458782","html_url":"https://github.com/borgbackup/borg/pull/400#issuecomment-156458782","issue_url":"https://api.github.com/repos/borgbackup/borg/issues/400","id":156458782,"user":{"login":"anarcat","id":796623,"avatar_url":"https://avatars.githubusercontent.com/u/796623?v=3","gravatar_id":"","url":"https://api.github.com/users/anarcat","html_url":"https://github.com/anarcat","followers_url":"https://api.github.com/users/anarcat/followers","following_url":"https://api.github.com/users/anarcat/following{/other_user}","gists_url":"https://api.github.com/users/anarcat/gists{/gist_id}","starred_url":"https://api.github.com/users/anarcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anarcat/subscriptions","organizations_url":"https://api.github.com/users/anarcat/orgs","repos_url":"https://api.github.com/users/anarcat/repos","events_url":"https://api.github.com/users/anarcat/events{/privacy}","received_events_url":"https://api.github.com/users/anarcat/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T15:15:45Z","updated_at":"2015-11-13T15:15:45Z","body":"after discussion on IRC and #208, i believe it makes sense to commit the generate .rst files, so this should be off the main build now."}}