jayfk / statuspage

A statuspage generator that lets you host your statuspage for free on Github.
https://corestatus.io
MIT License
3.89k stars 186 forks source link

Update pygithub to 1.44 #273

Closed pyup-bot closed 4 years ago

pyup-bot commented 4 years ago

This PR updates pygithub from 1.34 to 1.44.

Changelog ### 1.44 ``` ----------------------------------- **New features** * This version supports running under Python 3 directly, and the test suite passes under both 2.7 and recent 3.x's. **Bug Fixes & Improvements** * Stop ignoring unused imports and remove them (1250) (a0765083) * Bump httpretty to be a greater or equal to (1262) (27092fb0) * Add close all issues example (1256) (13e2c7c7) * Add six to install_requires (1245) (a840a906) * Implemented user organization membership. Added test case. (1237) (e50420f7) * Create DEPLOY.md (c9ed82b2) * Support non-default URLs in GithubIntegration (1229) (e33858a3) * Cleanup try/except import in PaginatedList (1228) (89c967bb) * Add an IncompletableObject exception (1227) (f91cbac2) * Fix redundant int checks (1226) (850da5af) * Jump from notifications to related PRs/issues. (1168) (020fbebc) * Code review bodies are optional in some cases. (1169) (b84d9b19) * Update changes.rst (1223) (2df7269a) * Do not auto-close issues with high priority tag (ab27ba4d) * Fix bug in repository create new file example PyGithub1210 (1211) (74cd6856) * Remove more Python version specific code (1193) (a0f01cf9) * Drop use of assertEquals (1194) (7bac694a) * Fix PR review creation. (1184) (e90cdab0) * Add support to vulnerability alert and automated security fixes APIs (1195) (8abd50e2) * Delete Legacy submodule (1192) (7ddb657d) * Remove some uses of atLeastPython3 (1191) (cca8e3a5) * Run flake8 in Travis (1163) (f93207b4) * Fix directories for coverage in Travis (1190) (657f87b5) * Switch to using six (1189) (dc2f2ad8) * Update Repository.update_file() docstring (1186) (f1ae7200) * Correct return type of MainClass.get_organizations (1179) (6e79d270) * Add cryptography to test-requirements.txt (1165) (9b1c1e09) ``` ### 1.43.8 ``` ----------------------------------- **New features** * Add two factor attributes on organizations (1132) (a0731685) * Add Repository methods for pending invitations (1159) (57af1e05) * Adds `get_issue_events` to `PullRequest` object (1154) (acd515aa) * Add invitee and inviter to Invitation (1156) (0f2beaca) * Adding support for pending team invitations (993) (edab176b) * Add support for custom base_url in GithubIntegration class (1093) (6cd0d644) * GithubIntegration: enable getting installation (1135) (18187045) * Add sorting capability to Organization.get_repos() (1139) (ef6f009d) * Add new Organization.get_team_by_slug method (1144) (4349bca1) * Add description field when creating a new team (1125) (4a37860b) * Handle a path of / in Repository.get_contents() (1070) (102c8208) * Add issue lock/unlock (1107) (ec7bbcf5) **Bug Fixes & Improvements** * Fix bug in recursive repository contents example (1166) (8b6b4505) * Allow name to be specified for upload_asset (1151) (8d2a6b53) * Fixes 1106 for GitHub Enterprise API (1110) (54065792) **Deprecation** * Repository.get_file_contents() no longer works use Repository.get_contents() instead ``` ### 1.43.7 ``` ----------------------------------- * Exclude tests from PyPI distribution (1031) (78d283b9) * Add codecov badge (1090) (4c0b54c0) ``` ### 1.43.6 ``` ----------------------------------- **New features** * Add support for Python 3.7 (1028) (6faa00ac) * Adding HTTP retry functionality via urllib3 (1002) (5ae7af55) * Add new dismiss() method on PullRequestReview (1053) (8ef71b1b) * Add since and before to `get_notifications` (1074) (7ee6c417) * Add url parameter to include anonymous contributors in `get_contributors` (1075) (293846be) * Provide option to extend expiration of jwt token (1068) (86a9d8e9) **Bug Fixes & Improvements** * Fix the default parameter for `PullRequest.create_review` (1058) (118def30) * Fix `get_access_token` (1042) (6a89eb64) * Fix `Organization.add_to_members` role passing (1039) (480f91cf) **Deprecation** * Remove Status API (6efd6318) ``` ### 1.43.5 ``` ----------------------------------- * Add project column create card (1003) (5f5c2764) * Fix request got an unexpected keyword argument body (1012) (ff789dcc) * Add missing import to PullRequest (1007) (b5122768) ``` ### 1.43.4 ``` ----------------------------------- **New features** * Add Migration API (899) (b4d895ed) * Add Traffic API (977) (a433a2fe) * New in Project API: create repository project, create project column (995) (1c0fd97d) **Bug Fixes & Improvements** * Change type of GitRelease.author to NamedUser (969) (aca50a75) * Use total_count from data in PaginatedList (963) (ec177610) ``` ### 1.43.3 ``` ----------------------------------- **New features** * Add support for JWT authentication (948) (8ccf9a94) * Added support for required signatures on protected branches (939) (8ee75a28) * Ability to filter repository collaborators (938) (5687226b) * Mark notification as read (932) (0a10d7cd) * Add highlight search to ``search_code`` function (925) (1fa25670) * Adding ``suspended_at`` property to NamedUSer (922) (c13b43ea) * Add since parameter for Gists (914) (e18b1078) **Bug Fixes & Improvements** * Fix missing parameters when reversing ``PaginatedList`` (946) (60a684c5) * Fix unable to trigger ``RateLimitExceededException``. (943) (972446d5) * Fix inconsistent behavior of trailing slash usage in file path (931) (ee9f098d) * Fix handling of 301 redirects (916) (6833245d) * Fix missing attributes of ``get_repos`` for authenticated users (915) (c411196f) * Fix ``Repository.edit`` (904) (7286eec0) * Improve ``__repr__`` method of Milestone class (921) (562908cb) * Fix rate limit documentation change (902) (974d1ec5) * Fix comments not posted in create_review() (909) (a18eeb3a) ``` ### 1.43.2 ``` ----------------------------------- * Restore ``RateLimit.rate`` attribute, raise deprecation warning instead (d92389be) ``` ### 1.43.1 ``` ----------------------------------- New feature: * Add support for Projects (854) (faca4ce1) ``` ### 1.43 ``` ----------------------------------- **BUGFIX** * ``Repository.get_archive_link`` will now NOT follow HTTP redirect and return the url instead (858) (43d325a5) * Fixed ``Gistfile.content`` (486) (e1df09f7) * Restored NamedUser.contributions attribute (865) (b91dee8d) **New features** * Add support for repository topics (832) (c6802b51) * Add support for required approving review count (888) (ef16702) * Add ``Organization.invite_user`` (880)(eb80564) * Add support for search/graphql rate limit (fd8a036) + Deprecated ``RateLimit.rate`` + Add `RateLimit.core <https://pygithub.readthedocs.io/en/latest/github_objects/RateLimit.htmlgithub.RateLimit.RateLimit.core>`__, `RateLimit.search <https://pygithub.readthedocs.io/en/latest/github_objects/RateLimit.htmlgithub.RateLimit.RateLimit.search>`__ and `RateLimit.graphql <https://pygithub.readthedocs.io/en/latest/github_objects/RateLimit.htmlgithub.RateLimit.RateLimit.graphql>`__ * Add Support search by topics (893) (3ce0418) * Branch Protection API overhaul (790) (171cc567) + (**breaking**) Removed Repository.protect_branch + Add `BranchProtection <https://pygithub.readthedocs.io/en/latest/github_objects/BranchProtection.html>`__ + Add `RequiredPullRequestReviews <https://pygithub.readthedocs.io/en/latest/github_objects/RequiredPullRequestReviews.html>`__ + Add `RequiredStatusChecks <https://pygithub.readthedocs.io/en/latest/github_objects/RequiredStatusChecks.html>`__ + Add ``Branch.get_protection``, ``Branch.get_required_pull_request_reviews``, ``Branch.get_required_status_checks``, etc **Improvements** * Add missing arguments to ``Repository.edit`` (844) (29d23151) * Add missing attributes to Repository (842) (2b352fb3) * Adding archival support for ``Repository.edit`` (843) (1a90f5db) * Add ``tag_name`` and ``target_commitish`` arguments to ``GitRelease.update_release`` (834) (790f7dae) * Allow editing of Team descriptions (839) (c0021747) * Add description to Organizations (838) (1d918809) * Add missing attributes for IssueEvent (857) (7ac2a2a) * Change ``MainClass.get_repo`` default laziness (882) (6732517) **Deprecation** * Removed Repository.get_protected_branch (871) (49db6f8) ``` ### 1.42 ``` ----------------------------------- * Fix travis upload issue **BUGFIX** * ``Repository.get_archive_link`` will now NOT follow HTTP redirect and return the url instead (858) (43d325a5) * Fixed ``Gistfile.content`` (486) (e1df09f7) * Restored NamedUser.contributions attribute (865) (b91dee8d) New features * Add support for repository topics (832) (c6802b51) * Branch Protection API overhaul (790) (171cc567) + (**breaking**) Removed Repository.protect_branch + Add `BranchProtection <https://pygithub.readthedocs.io/en/latest/github_objects/BranchProtection.html>`__ + Add `RequiredPullRequestReviews <https://pygithub.readthedocs.io/en/latest/github_objects/RequiredPullRequestReviews.html>`__ + Add `RequiredStatusChecks <https://pygithub.readthedocs.io/en/latest/github_objects/RequiredStatusChecks.html>`__ + Add ``Branch.get_protection``, ``Branch.get_required_pull_request_reviews``, ``Branch.get_required_status_checks``, etc Improvements * Add missing arguments to ``Repository.edit`` (844) (29d23151) * Add missing properties to Repository (842) (2b352fb3) * Adding archival support for ``Repository.edit`` (843) (1a90f5db) * Add ``tag_name`` and ``target_commitish`` arguments to ``GitRelease.update_release`` (834) (790f7dae) * Allow editing of Team descriptions (839) (c0021747) * Add description to Organizations (838) (1d918809) ``` ### 1.41 ``` ----------------------------------- **BUGFIX** * ``Repository.get_archive_link`` will now NOT follow HTTP redirect and return the url instead (858) (43d325a5) * Fixed ``Gistfile.content`` (486) (e1df09f7) * Restored NamedUser.contributions attribute (865) (b91dee8d) New features * Add support for repository topics (832) (c6802b51) * Branch Protection API overhaul (790) (171cc567) + (**breaking**) Removed Repository.protect_branch + Add `BranchProtection <https://pygithub.readthedocs.io/en/latest/github_objects/BranchProtection.html>`__ + Add `RequiredPullRequestReviews <https://pygithub.readthedocs.io/en/latest/github_objects/RequiredPullRequestReviews.html>`__ + Add `RequiredStatusChecks <https://pygithub.readthedocs.io/en/latest/github_objects/RequiredStatusChecks.html>`__ + Add ``Branch.get_protection``, ``Branch.get_required_pull_request_reviews``, ``Branch.get_required_status_checks``, etc Improvements * Add missing arguments to ``Repository.edit`` (844) (29d23151) * Add missing properties to Repository (842) (2b352fb3) * Adding archival support for ``Repository.edit`` (843) (1a90f5db) * Add ``tag_name`` and ``target_commitish`` arguments to ``GitRelease.update_release`` (834) (790f7dae) * Allow editing of Team descriptions (839) (c0021747) * Add description to Organizations (838) (1d918809) ``` ### 1.40 ``` ----------------------------------- * Major enhancement: use requests for HTTP instead of httplib (664) (9aed19dd) * Test Framework improvement (795) (faa8f205) * Handle HTTP 202 HEAD & GET with a retry (791) (3aead158) * Fix github API requests after asset upload (771) (8bdac23c) * Add remove_membership() method to Teams class (807) (817f2230) * Add check-in to projects using PyGithub (814) (05f49a59) * Include target_commitish in GitRelease (788) (ba5bf2d7) * Fix asset upload timeout, increase default timeout from 10s to 15s (793) (140c6480) * Fix Team.description (797) (0e8ae376) * Fix Content-Length invalid headers exception (787) (23395f5f) * Remove NamedUser.contributions (774) (a519e467) * Add ability to skip SSL cert verification for Github Enterprise (758) (85a9124b) * Correct Repository.get_git_tree recursive use (767) (bd0cf309) * Re-work PullRequest reviewer request (765) (e2e29918) * Add support for team privacy (763) (1f23c06a) * Add support for organization outside collaborators (533) (c4446996) * PullRequest labels should use Issues URL (754) (678b6b20) * Support labels for PullRequests (752) (a308dc92) * Add get_organizations() (748) (1e0150b5) ``` ### 1.39 ``` ----------------------------------- * Add documentation to github.Repository.Repository.create_git_release() (747) (a769c2ff) * Add add_to_members() and remove_from_membership() (741) (4da483d1) * Documentation: clarify semantics of get_comments (743) (fec3c943) * Add download_url to ContentFile, closes 575 (ca6fbc45) * Add PullRequestComment.in_reply_to_id (718) (eaa6a508) * Add team privacy parameter to create team (702) (5cb5ab71) * Implement License API (734) (b54ccc78) * Fix delete method for RepositoryKey (911bf615) * Remove edit for UserKey (722f2534) * Labels API: support description (738) (42e75938) * Added Issue.as_pull_request() and PullReqest.as_issue() (630) (6bf2acc7) * Documentation: sort the Github Objects (735) (1497e826) * Add support for getting PR single review's comments. (670) (612c3500) * Update the RepositoryKey class (530) (5e8c6832) * Added since to PR review comments get (577) (d8508285) * Remove some duplicate attributes introduced in 522 (566b28d3) * Added tarball_url, zipball_url, prerelease and draft property (522) (c76e67b7) * Source Import API (673) (864c663a) ``` ### 1.38 ``` ----------------------------------- * Updated readthedocs, PyPI to reflect latest version * Added option to create review for Pull request (662) (162f0397) * Depreciate legacy search API (3cd176e3) * Filter team members by role (491) (10ee17a2) * Add url attribute to PullRequestReview object (731) (0fb176fd) * Added target_commitish option to Repository.create_git_release() (625) (0f0a7d4e) * Fix broken Github reference link in class docstrings (a32a17bf) * Add hook support for organizations (729) (c7f6563c) * Get organization from the team (590) (d9c5a07f) * Added search_commits (727) (aa556f85) * Collaborator site admin (719) (f8b23505) * Fix add_to_watched for AuthenticatedUser (716) (6109eb3c) ``` ### 1.37 ``` ----------------------------------- * Add __eq__ and __hash__ to NamedUser (706) (8a13b274) * Add maintainer can modify flag to create pull request (703) (0e5a1d1d) * Fix typo in Design.md (701) (98d32af4) * Add role parameter to Team.add_membership method (638) (01ab4cc6) * Add add_membership testcase (637) (5a1424bb) ``` ### 1.36 ``` ----------------------------------- * Fix changelog generation (5d911e22) * Add collaborator permission support (699) (167f85ef) * Use datetime object in create_milestone (698) (cef98416) * Fix date format for milestone creation (593) (e671fdd0) * Remove the default "null" input send during GET request (691) (cbfe8d0f) * Updated PullRequest reviewer request according to API changes (690) (5c9c2f75) * make created_at/published_at attrs available for Release objects (689) (2f9b1e01) * Add committer/author to Repository.delete_file (678) (3baa682c) * Add method to get latest release of a repository (609) (45d18436) * Add permissions field to NamedUser (676) (6cfe46b7) * Fix all pep8 coding conventions (6bc804dc) * Add new params for /users/:user/repos endpoint (89834a9b) * Add support for changing PR head commit (632) (3f77e537) * Use print() syntax in README (681) (c5988c39) * Add PyPI badge and installation instructions to README (682) (3726f686) * Drop support for EOL Python 2.5-2.6 and 3.2-3.3 (674) (6735be49) * Add Reactions feature (671) (ba50af53) * Add ping_url and ping to Hook (669) (6169d8ea) * Add Repository.archived property (657) (35333e03) * Add unit test for tree attribute of GitCommit (668) (e5bfdbeb) * Add read_only attribute to Deploy Keys (570) (dbc6f5ab) * Doc create instance from token (667) (c33a3883) * Fix uploading binary files on Python 3 (621) (317079ef) * Decode jwt bytes object in Python 3 (633) (84b43da7) * Remove broken downloads badge (644) (15cdc2f8) * Added missing parameters for repo creation (623) (5c41120a) * Add ability to access github Release Asset API. (525) (52449649) * Add 'submitted at' to PullRequestReview (565) (ebe7277a) * Quote path for /contents API (614) (554c1ab1) * Add Python 3.6 (2533bed9) * Add Python 3.6 (e78f0ece) * Updated references in introduction.rst (d2c72bb3) * fix failing tests on py26 (291f6dde) * Import missing exception (67b078e9) ``` ### 1.35 ``` ----------------------------------- * Add Support for repository collaborator invitations. ```
Links - PyPI: https://pypi.org/project/pygithub - Changelog: https://pyup.io/changelogs/pygithub/ - Repo: http://pygithub.readthedocs.io/en/latest/
pyup-bot commented 4 years ago

Closing this in favor of #275