sample-platform
sample-platform copied to clipboard
Bump pygithub from 1.58.2 to 2.1.1
Bumps pygithub from 1.58.2 to 2.1.1.
Release notes
Sourced from pygithub's releases.
v2.1.1
Bug Fixes
- Require urllib 1.26.0 or greater (#2774) (001c0852)
Maintenance
- Fix pypi-release workflow, allow for manual run (#2771) (035c88f1)
v2.1.0.post0
Important
Request throttling
This release introduces a default throttling mechanism to mitigate secondary rate limit errors and comply with Github's best practices: https://docs.github.com/en/rest/guides/best-practices-for-integrators?apiVersion=2022-11-28#dealing-with-secondary-rate-limits
The default throttling of 1 second between writes and 0.25 second between any requests can be configured for
github.Githubandgithub.GithubIntegration:g = github.Github(seconds_between_requests=0.25, seconds_between_writes=1)Set these parameters to
Noneto disable throttling and restore earlier behavior.Request retry
This release introduces a default retry mechanism to retry retry-able 403 responses (primary and secondary rate limit errors only) and any 5xx response.
Class
github.GithubRetryimplements this behavior, and can be configured via theretryargument ofgithub.Githubandgithub.GithubIntegration. Retry behavior is configured similar tourllib3.Retry: https://urllib3.readthedocs.io/en/stable/reference/urllib3.util.htmlg = github.Github(retry=github.GithubRetry())Set this parameter to
Noneto disable retry mechanism and restore earlier behaviour.Breaking Changes
Timestamps
Any timestamps returned by this library are
datetimewith timezone information, usually UTC. Before this release, timestamps used to be naivedatetimeinstances without timezone. Comparing (other than==) these timestamps with naivedatetimeinstances used to work but will now break. Add a timezone information to yourdatetimeinstances before comparison:if g.get_repo("PyGithub/PyGithub").created_at < datetime(2012, 2, 26, tzinfo=timezone.utc): </tr></table>
... (truncated)
Changelog
Sourced from pygithub's changelog.
Version 2.1.1 (September 29, 2023)
Bug Fixes ^^^^^^^^^
- Require urllib 1.26.0 or greater (#2774) (001c0852)
Maintenance ^^^^^^^^^^^
- Fix pypi-release workflow, allow for manual run (#2771) (035c88f1)
Version 2.1.0 (September 29, 2023)
Important ^^^^^^^^^
Request throttling
This release introduces a default throttling mechanism to mitigate secondary rate limit errors and comply with Github's best practices: https://docs.github.com/en/rest/guides/best-practices-for-integrators?apiVersion=2022-11-28#dealing-with-secondary-rate-limits
The default throttling of 1 second between writes and 0.25 second between any requests can be configured for
github.Githubandgithub.GithubIntegration:.. code-block:: python
g = github.Github(seconds_between_requests=0.25, seconds_between_writes=1)Set these parameters to
Noneto disable throttling and restore earlier behavior.Request retry
This release introduces a default retry mechanism to retry retry-able 403 responses (primary and secondary rate limit errors only) and any 5xx response.
Class
github.GithubRetryimplements this behavior, and can be configured via theretryargument ofgithub.Githubandgithub.GithubIntegration. Retry behavior is configured similar tourllib3.Retry: https://urllib3.readthedocs.io/en/stable/reference/urllib3.util.html.. code-block:: python
g = github.Github(retry=github.GithubRetry())Set this parameter to
Noneto disable retry mechanism and restore earlier behaviour.Breaking Changes ^^^^^^^^^^^^^^^^
Timestamps
... (truncated)
Commits
e584a90Release 2.1.1 (#2777)5eb852bFix rst format indoc/changes.rst(#2776)001c085Require urllib 1.26.0 or greater (#2774)035c88fFix pypi-release workflow, allow for manual run (#2771)467e026Release 2.1.0 (#2770)b986a98MergeStatsContributor.pyiback to source (#2761)d5583ddMergeRepository.pyiback to source (#2749)8fc7f44Mergegithub/Organization.pyiback to source (#2744)6c4b368MergePullRequest.pyiback to source (#2743)f7c0a21MergeMainClass.pyiand__init__.pyiback to source (#2692)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)