{"action":"closed","number":189,"pull_request":{"url":"https://api.github.com/repos/zestsoftware/zest.releaser/pulls/189","id":85137911,"html_url":"https://github.com/zestsoftware/zest.releaser/pull/189","diff_url":"https://github.com/zestsoftware/zest.releaser/pull/189.diff","patch_url":"https://github.com/zestsoftware/zest.releaser/pull/189.patch","issue_url":"https://api.github.com/repos/zestsoftware/zest.releaser/issues/189","number":189,"state":"closed","locked":false,"title":"Use the intended API of twine.","user":{"login":"mauritsvanrees","id":210587,"avatar_url":"https://avatars.githubusercontent.com/u/210587?v=3","gravatar_id":"","url":"https://api.github.com/users/mauritsvanrees","html_url":"https://github.com/mauritsvanrees","followers_url":"https://api.github.com/users/mauritsvanrees/followers","following_url":"https://api.github.com/users/mauritsvanrees/following{/other_user}","gists_url":"https://api.github.com/users/mauritsvanrees/gists{/gist_id}","starred_url":"https://api.github.com/users/mauritsvanrees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mauritsvanrees/subscriptions","organizations_url":"https://api.github.com/users/mauritsvanrees/orgs","repos_url":"https://api.github.com/users/mauritsvanrees/repos","events_url":"https://api.github.com/users/mauritsvanrees/events{/privacy}","received_events_url":"https://api.github.com/users/mauritsvanrees/received_events","type":"User","site_admin":false},"body":"This should work with twine 1.6.0 and higher, including future versions.\r\n\r\nWe were using the `upload` and `register` functions, which were never meant to be used by third party code. The needed arguments to those versions can and have changed in backwards incompatible ways, so we should not rely on them.  And if you dare to suggest to make those functions more future proof and stable by using [keyword arguments](https://github.com/pypa/twine/pull/212), you'd better put on your asbestos underwear: one of the authors threatens to intentionally break the use of these functions...\r\n\r\nSo we need to rewrite a bunch of code. So be it. At least the intended API is decent. But it's a pity that we need to read more from the PyPI config now (repository url, username, password). And you can no longer pass a list of filenames (sdist plus wheel usually) for uploading, but need to upload them separately. This needed a rewrite of the way we handle retries, mostly because for retries we need to read the pypiconfig fresh: the user may have edited it to solve an upload problem. Can't really blame the API for that.","created_at":"2016-09-13T22:34:32Z","updated_at":"2016-10-23T17:17:13Z","closed_at":"2016-10-23T17:17:13Z","merged_at":"2016-10-23T17:17:13Z","merge_commit_sha":"f051c022be5e161ac9e0deb659146ef303ae5f18","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/zestsoftware/zest.releaser/pulls/189/commits","review_comments_url":"https://api.github.com/repos/zestsoftware/zest.releaser/pulls/189/comments","review_comment_url":"https://api.github.com/repos/zestsoftware/zest.releaser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zestsoftware/zest.releaser/issues/189/comments","statuses_url":"https://api.github.com/repos/zestsoftware/zest.releaser/statuses/cdb6c9cd46fe18e8e9fbecd315b3b19aa6814942","head":{"label":"zestsoftware:twine-use-intended-api","ref":"twine-use-intended-api","sha":"cdb6c9cd46fe18e8e9fbecd315b3b19aa6814942","user":{"login":"zestsoftware","id":1091005,"avatar_url":"https://avatars.githubusercontent.com/u/1091005?v=3","gravatar_id":"","url":"https://api.github.com/users/zestsoftware","html_url":"https://github.com/zestsoftware","followers_url":"https://api.github.com/users/zestsoftware/followers","following_url":"https://api.github.com/users/zestsoftware/following{/other_user}","gists_url":"https://api.github.com/users/zestsoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/zestsoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zestsoftware/subscriptions","organizations_url":"https://api.github.com/users/zestsoftware/orgs","repos_url":"https://api.github.com/users/zestsoftware/repos","events_url":"https://api.github.com/users/zestsoftware/events{/privacy}","received_events_url":"https://api.github.com/users/zestsoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":2601923,"name":"zest.releaser","full_name":"zestsoftware/zest.releaser","owner":{"login":"zestsoftware","id":1091005,"avatar_url":"https://avatars.githubusercontent.com/u/1091005?v=3","gravatar_id":"","url":"https://api.github.com/users/zestsoftware","html_url":"https://github.com/zestsoftware","followers_url":"https://api.github.com/users/zestsoftware/followers","following_url":"https://api.github.com/users/zestsoftware/following{/other_user}","gists_url":"https://api.github.com/users/zestsoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/zestsoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zestsoftware/subscriptions","organizations_url":"https://api.github.com/users/zestsoftware/orgs","repos_url":"https://api.github.com/users/zestsoftware/repos","events_url":"https://api.github.com/users/zestsoftware/events{/privacy}","received_events_url":"https://api.github.com/users/zestsoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zestsoftware/zest.releaser","description":"Python software releasing made easy and repeatable  ","fork":false,"url":"https://api.github.com/repos/zestsoftware/zest.releaser","forks_url":"https://api.github.com/repos/zestsoftware/zest.releaser/forks","keys_url":"https://api.github.com/repos/zestsoftware/zest.releaser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zestsoftware/zest.releaser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zestsoftware/zest.releaser/teams","hooks_url":"https://api.github.com/repos/zestsoftware/zest.releaser/hooks","issue_events_url":"https://api.github.com/repos/zestsoftware/zest.releaser/issues/events{/number}","events_url":"https://api.github.com/repos/zestsoftware/zest.releaser/events","assignees_url":"https://api.github.com/repos/zestsoftware/zest.releaser/assignees{/user}","branches_url":"https://api.github.com/repos/zestsoftware/zest.releaser/branches{/branch}","tags_url":"https://api.github.com/repos/zestsoftware/zest.releaser/tags","blobs_url":"https://api.github.com/repos/zestsoftware/zest.releaser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zestsoftware/zest.releaser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zestsoftware/zest.releaser/git/refs{/sha}","trees_url":"https://api.github.com/repos/zestsoftware/zest.releaser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zestsoftware/zest.releaser/statuses/{sha}","languages_url":"https://api.github.com/repos/zestsoftware/zest.releaser/languages","stargazers_url":"https://api.github.com/repos/zestsoftware/zest.releaser/stargazers","contributors_url":"https://api.github.com/repos/zestsoftware/zest.releaser/contributors","subscribers_url":"https://api.github.com/repos/zestsoftware/zest.releaser/subscribers","subscription_url":"https://api.github.com/repos/zestsoftware/zest.releaser/subscription","commits_url":"https://api.github.com/repos/zestsoftware/zest.releaser/commits{/sha}","git_commits_url":"https://api.github.com/repos/zestsoftware/zest.releaser/git/commits{/sha}","comments_url":"https://api.github.com/repos/zestsoftware/zest.releaser/comments{/number}","issue_comment_url":"https://api.github.com/repos/zestsoftware/zest.releaser/issues/comments{/number}","contents_url":"https://api.github.com/repos/zestsoftware/zest.releaser/contents/{+path}","compare_url":"https://api.github.com/repos/zestsoftware/zest.releaser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zestsoftware/zest.releaser/merges","archive_url":"https://api.github.com/repos/zestsoftware/zest.releaser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zestsoftware/zest.releaser/downloads","issues_url":"https://api.github.com/repos/zestsoftware/zest.releaser/issues{/number}","pulls_url":"https://api.github.com/repos/zestsoftware/zest.releaser/pulls{/number}","milestones_url":"https://api.github.com/repos/zestsoftware/zest.releaser/milestones{/number}","notifications_url":"https://api.github.com/repos/zestsoftware/zest.releaser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zestsoftware/zest.releaser/labels{/name}","releases_url":"https://api.github.com/repos/zestsoftware/zest.releaser/releases{/id}","deployments_url":"https://api.github.com/repos/zestsoftware/zest.releaser/deployments","created_at":"2011-10-18T20:51:45Z","updated_at":"2016-10-20T05:01:00Z","pushed_at":"2016-10-23T17:17:13Z","git_url":"git://github.com/zestsoftware/zest.releaser.git","ssh_url":"git@github.com:zestsoftware/zest.releaser.git","clone_url":"https://github.com/zestsoftware/zest.releaser.git","svn_url":"https://github.com/zestsoftware/zest.releaser","homepage":"http://zestreleaser.readthedocs.io","size":1545,"stargazers_count":79,"watchers_count":79,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":29,"forks":36,"open_issues":29,"watchers":79,"default_branch":"master"}},"base":{"label":"zestsoftware:master","ref":"master","sha":"bed70fb0482aa3f9f412bf61e41a1500accdb8df","user":{"login":"zestsoftware","id":1091005,"avatar_url":"https://avatars.githubusercontent.com/u/1091005?v=3","gravatar_id":"","url":"https://api.github.com/users/zestsoftware","html_url":"https://github.com/zestsoftware","followers_url":"https://api.github.com/users/zestsoftware/followers","following_url":"https://api.github.com/users/zestsoftware/following{/other_user}","gists_url":"https://api.github.com/users/zestsoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/zestsoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zestsoftware/subscriptions","organizations_url":"https://api.github.com/users/zestsoftware/orgs","repos_url":"https://api.github.com/users/zestsoftware/repos","events_url":"https://api.github.com/users/zestsoftware/events{/privacy}","received_events_url":"https://api.github.com/users/zestsoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":2601923,"name":"zest.releaser","full_name":"zestsoftware/zest.releaser","owner":{"login":"zestsoftware","id":1091005,"avatar_url":"https://avatars.githubusercontent.com/u/1091005?v=3","gravatar_id":"","url":"https://api.github.com/users/zestsoftware","html_url":"https://github.com/zestsoftware","followers_url":"https://api.github.com/users/zestsoftware/followers","following_url":"https://api.github.com/users/zestsoftware/following{/other_user}","gists_url":"https://api.github.com/users/zestsoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/zestsoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zestsoftware/subscriptions","organizations_url":"https://api.github.com/users/zestsoftware/orgs","repos_url":"https://api.github.com/users/zestsoftware/repos","events_url":"https://api.github.com/users/zestsoftware/events{/privacy}","received_events_url":"https://api.github.com/users/zestsoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zestsoftware/zest.releaser","description":"Python software releasing made easy and repeatable  ","fork":false,"url":"https://api.github.com/repos/zestsoftware/zest.releaser","forks_url":"https://api.github.com/repos/zestsoftware/zest.releaser/forks","keys_url":"https://api.github.com/repos/zestsoftware/zest.releaser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zestsoftware/zest.releaser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zestsoftware/zest.releaser/teams","hooks_url":"https://api.github.com/repos/zestsoftware/zest.releaser/hooks","issue_events_url":"https://api.github.com/repos/zestsoftware/zest.releaser/issues/events{/number}","events_url":"https://api.github.com/repos/zestsoftware/zest.releaser/events","assignees_url":"https://api.github.com/repos/zestsoftware/zest.releaser/assignees{/user}","branches_url":"https://api.github.com/repos/zestsoftware/zest.releaser/branches{/branch}","tags_url":"https://api.github.com/repos/zestsoftware/zest.releaser/tags","blobs_url":"https://api.github.com/repos/zestsoftware/zest.releaser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zestsoftware/zest.releaser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zestsoftware/zest.releaser/git/refs{/sha}","trees_url":"https://api.github.com/repos/zestsoftware/zest.releaser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zestsoftware/zest.releaser/statuses/{sha}","languages_url":"https://api.github.com/repos/zestsoftware/zest.releaser/languages","stargazers_url":"https://api.github.com/repos/zestsoftware/zest.releaser/stargazers","contributors_url":"https://api.github.com/repos/zestsoftware/zest.releaser/contributors","subscribers_url":"https://api.github.com/repos/zestsoftware/zest.releaser/subscribers","subscription_url":"https://api.github.com/repos/zestsoftware/zest.releaser/subscription","commits_url":"https://api.github.com/repos/zestsoftware/zest.releaser/commits{/sha}","git_commits_url":"https://api.github.com/repos/zestsoftware/zest.releaser/git/commits{/sha}","comments_url":"https://api.github.com/repos/zestsoftware/zest.releaser/comments{/number}","issue_comment_url":"https://api.github.com/repos/zestsoftware/zest.releaser/issues/comments{/number}","contents_url":"https://api.github.com/repos/zestsoftware/zest.releaser/contents/{+path}","compare_url":"https://api.github.com/repos/zestsoftware/zest.releaser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zestsoftware/zest.releaser/merges","archive_url":"https://api.github.com/repos/zestsoftware/zest.releaser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zestsoftware/zest.releaser/downloads","issues_url":"https://api.github.com/repos/zestsoftware/zest.releaser/issues{/number}","pulls_url":"https://api.github.com/repos/zestsoftware/zest.releaser/pulls{/number}","milestones_url":"https://api.github.com/repos/zestsoftware/zest.releaser/milestones{/number}","notifications_url":"https://api.github.com/repos/zestsoftware/zest.releaser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zestsoftware/zest.releaser/labels{/name}","releases_url":"https://api.github.com/repos/zestsoftware/zest.releaser/releases{/id}","deployments_url":"https://api.github.com/repos/zestsoftware/zest.releaser/deployments","created_at":"2011-10-18T20:51:45Z","updated_at":"2016-10-20T05:01:00Z","pushed_at":"2016-10-23T17:17:13Z","git_url":"git://github.com/zestsoftware/zest.releaser.git","ssh_url":"git@github.com:zestsoftware/zest.releaser.git","clone_url":"https://github.com/zestsoftware/zest.releaser.git","svn_url":"https://github.com/zestsoftware/zest.releaser","homepage":"http://zestreleaser.readthedocs.io","size":1545,"stargazers_count":79,"watchers_count":79,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":29,"forks":36,"open_issues":29,"watchers":79,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zestsoftware/zest.releaser/pulls/189"},"html":{"href":"https://github.com/zestsoftware/zest.releaser/pull/189"},"issue":{"href":"https://api.github.com/repos/zestsoftware/zest.releaser/issues/189"},"comments":{"href":"https://api.github.com/repos/zestsoftware/zest.releaser/issues/189/comments"},"review_comments":{"href":"https://api.github.com/repos/zestsoftware/zest.releaser/pulls/189/comments"},"review_comment":{"href":"https://api.github.com/repos/zestsoftware/zest.releaser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zestsoftware/zest.releaser/pulls/189/commits"},"statuses":{"href":"https://api.github.com/repos/zestsoftware/zest.releaser/statuses/cdb6c9cd46fe18e8e9fbecd315b3b19aa6814942"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"reinout","id":121433,"avatar_url":"https://avatars.githubusercontent.com/u/121433?v=3","gravatar_id":"","url":"https://api.github.com/users/reinout","html_url":"https://github.com/reinout","followers_url":"https://api.github.com/users/reinout/followers","following_url":"https://api.github.com/users/reinout/following{/other_user}","gists_url":"https://api.github.com/users/reinout/gists{/gist_id}","starred_url":"https://api.github.com/users/reinout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reinout/subscriptions","organizations_url":"https://api.github.com/users/reinout/orgs","repos_url":"https://api.github.com/users/reinout/repos","events_url":"https://api.github.com/users/reinout/events{/privacy}","received_events_url":"https://api.github.com/users/reinout/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":126,"deletions":74,"changed_files":12}}
{"actor":{"display_login":"reinout"}}