Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all dependencies (major) #10

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 7, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
PyGithub ==1.55 -> ==2.3.0 age adoption passing confidence
charset-normalizer ==2.1.1 -> ==3.3.2 age adoption passing confidence
cheroot (source) ==8.6.0 -> ==10.0.1 age adoption passing confidence
cryptography (changelog) ==37.0.4 -> ==43.0.0 age adoption passing confidence
jaraco.collections ==3.5.2 -> ==5.0.1 age adoption passing confidence
jaraco.context ==4.1.2 -> ==5.3.0 age adoption passing confidence
jaraco.functools ==3.5.1 -> ==4.0.2 age adoption passing confidence
jaraco.text ==3.9.1 -> ==4.0.0 age adoption passing confidence
more-itertools ==8.14.0 -> ==10.3.0 age adoption passing confidence
pyinstaller (source) ==5.3 -> ==6.9.0 age adoption passing confidence
pyinstaller-hooks-contrib ==2022.9 -> ==2024.7 age adoption passing confidence
pyobjc ==8.5 -> ==10.3.1 age adoption passing confidence
pytz ==2022.2.1 -> ==2024.1 age adoption passing confidence
pywin32 ==304 -> ==306 age adoption passing confidence
setuptools (changelog) ==65.3.0 -> ==72.1.0 age adoption passing confidence
zc.lockfile ==2.0 -> ==3.0.post1 age adoption passing confidence

Release Notes

pygithub/pygithub (PyGithub)

v2.3.0

Compare Source

New features

Improvements

Bug Fixes

Maintenance

v2.2.0

Compare Source

Breaking Changes

The github.Comparison.Comparison instance returned by Repository.compare provides a commits property that used to return a list[github.Commit.Commit], which has now been changed to PaginatedList[github.Commit.Commit]. This breaks user code that assumes a list:

commits = repo.compare("v0.6", "v0.7").commits
no_of_commits = len(commits)  # will raise a TypeError

This will raise a TypeError: object of type 'PaginatedList' has no len(), as the returned PaginatedList
does not support the len() method. Use the totalCount property instead:

commits = repo.compare("v0.6", "v0.7").commits
no_of_commits = commits.totalCount

New features

  • Add support to call GraphQL API

Improvements

Bug Fixes

Maintenance

Full Changelog: PyGithub/PyGithub@v2.1.1...v2.2.0

v2.1.1

Compare Source

Bug Fixes

Maintenance

v2.1.0.post0

Compare Source

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.Github and github.GithubIntegration:

g = github.Github(seconds_between_requests=0.25, seconds_between_writes=1)

Set these parameters to None to 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.GithubRetry implements this behavior, and can be configured via the retry argument of github.Github and github.GithubIntegration.
Retry behavior is configured similar to urllib3.Retry: https://urllib3.readthedocs.io/en/stable/reference/urllib3.util.html

g = github.Github(retry=github.GithubRetry())

Set this parameter to None to disable retry mechanism and restore earlier behaviour.

Breaking Changes

Timestamps

Any timestamps returned by this library are datetime with timezone information, usually UTC.
Before this release, timestamps used to be naive datetime instances without timezone.
Comparing (other than ==) these timestamps with naive datetime instances used to work but will now break.
Add a timezone information to your datetime instances before comparison:

if g.get_repo("PyGithub/PyGithub").created_at < datetime(2012, 2, 26, tzinfo=timezone.utc):
  ...
Netrc authentication

A Netrc file (e.g. ~/.netrc) does not override PyGithub authentication, anymore.
If you require authentication through Netrc, then this is a breaking change.
Use a github.Auth.NetrcAuth instance to use Netrc credentials:

>>> auth = Auth.NetrcAuth()
>>> g = Github(auth=auth)
>>> g.get_user().login
'login'
Repository.create_pull

Merged overloaded create_pull methods

def create_pull(self, issue, base, head)
def create_pull(self, title, body, base, head, maintainer_can_modify=NotSet, draft=False)

into

def create_pull(self, base, head, *, title=NotSet, body=NotSet, maintainer_can_modify=NotSet, draft=NotSet, issue=NotSet)

Please update your usage of Repository.create_pull accordingly.

New features

Improvements

Bug Fixes

  • Fix Branch.bypass_pull_request_allowances failing with "nil is not an object" (#​2535) (c5542a6)
  • Fix required_conversation_resolution assertion (#​2715) (54f2226)
  • Fix assertion creating pull request review comment (#​2641) (2fa568b)
  • Safely coerce responseHeaders to int (#​2697) (adbfce9)
  • Fix assertion for subject_type in creating pull request review comment (#​2642) (4933459)
  • Use timezone-aware reset datetime in GithubRetry.py (#​2610) (950a694)
  • Fix Branch.bypass_pull_request_allowances failing with "nil is not an object" (#​2535) (c5542a6)

Maintenance

v1.59.1

Compare Source

Bug Fixes

v1.59.0

Compare Source

Important

This release introduces new way of authentication. All authentication-related arguments github.Github(login_or_token=…, password=…, jwt=…, app_auth=…) and github.GithubIntegration(integration_id=…, private_key=…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…) are replaced by a single auth=… argument. Module github.Auth provides classes for all supported ways of authentication: Login, Token, AppAuth, AppAuthToken, AppInstallationAuth, AppUserAuth. Old arguments are deprecated but continue to work. They are scheduled for removal for version 2.0 release.

This project has decided to move all typing information from .pyi files into the respective .py source files. This will happen gradually over time.

Breaking Changes

  • The position argument in github.PullRequest.create_review_comment(position=…) has been renamed to line.
    This breaks user code that calls create_review_comment with keyword argument position. Call with line=… instead.
    Calling this method with positional arguments is not breaking.
  • The jwt_expiry, jwt_issued_at and jwt_algorithm arguments in github.GithubIntegration() have changed their position.
    User code calling github.GithubIntegration(…) with these arguments as positional arguments breaks.
    Please use keyword arguments: github.GithubIntegration(…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…).
  • The since argument in github.PullRequest.get_review_comments(…) has changed position.User code callinggithub.PullRequest.get_review_comments(…)with this argument as positional argument breaks. Please use keyword argument:github.PullRequest.get_review_comments(since=…)`.

Deprecations

  • The use of github.Github(login_or_token=…) is deprecated, use github.Github(auth=github.Auth.Login(…)) or github.Github(auth=github.Auth.Token(…)) instead.
  • The use of github.Github(password=…) is deprecated, use github.Github(auth=github.Auth.Login(…)) instead.
  • The use of github.Github(jwt=…) is deprecated, use github.Github(auth=github.AppAuth(…)) or github.Github(auth=github.AppAuthToken(…)) instead.
  • The use of github.Github(app_auth=…) is deprecated, use github.Github(auth=github.Auth.AppInstallationAuth(…)) instead.
  • The use of github.GithubIntegration(integration_id=…, private_key=…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…) is deprecated, use github.GithubIntegration(auth=github.Auth.AppAuth(…)) instead.
  • The use of github.GithubIntegration.create_jwt is deprecated, use github.Github(auth=github.Auth.AppAuth), github.Auth.AppAuth.token or github.Auth.AppAuth.create_jwt(expiration) instead.
  • The use of AppAuthentication is deprecated, use github.Auth.AppInstallationAuth instead.
  • The use of github.Github.get_app() without providing argument slug is deprecated, use github.GithubIntegration(auth=github.Auth.AppAuth(…)).get_app().

Bug Fixes

Improvements

Maintenance

v1.58.2

Compare Source

Fixes

v1.58.1

Compare Source

Changes

Bug Fixes

v1.58.0

Compare Source

Bug Fixes & Improvements

v1.57

Compare Source

Breaking Changes

  • Add support for Python 3.11, drop support for Python 3.6 (#​2332) (1e2f10d)

Bug Fixes & Improvements

v1.56

Compare Source

Important

This is the last release that will support Python 3.6.

Bug Fixes & Improvements

Ousret/charset_normalizer (charset-normalizer)

v3.3.2

Compare Source

Fixed
  • Unintentional memory usage regression when using large payload that match several encoding (#​376)
  • Regression on some detection case showcased in the documentation (#​371)
Added
  • Noise (md) probe that identify malformed arabic representation due to the presence of letters in isolated form (credit to my wife)

v3.3.1

Compare Source

Changed
  • Optional mypyc compilation upgraded to version 1.6.1 for Python >= 3.8
  • Improved the general detection reliability based on reports from the community

v3.3.0

Compare Source

Added
  • Allow to execute the CLI (e.g. normalizer) through python -m charset_normalizer.cli or python -m charset_normalizer
  • Support for 9 forgotten encoding that are supported by Python but unlisted in encoding.aliases as they have no alias (#​323)
Removed
  • (internal) Redundant utils.is_ascii function and unused function is_private_use_only
  • (internal) charset_normalizer.assets is moved inside charset_normalizer.constant
Changed
  • (internal) Unicode code blocks in constants are updated using the latest v15.0.0 definition to improve detection
  • Optional mypyc compilation upgraded to version 1.5.1 for Python >= 3.7
Fixed
  • Unable to properly sort CharsetMatch when both chaos/noise and coherence

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (rebase) September 7, 2022 01:25
@renovate renovate bot force-pushed the renovate/major-all branch 3 times, most recently from b22465a to 5925eea Compare October 18, 2022 15:31
@renovate renovate bot changed the title Update dependency cryptography to v38 Update all dependencies (major) Oct 18, 2022
@renovate renovate bot changed the title Update all dependencies (major) Update all dependencies (major) - autoclosed Apr 4, 2023
@renovate renovate bot closed this Apr 4, 2023
auto-merge was automatically disabled April 4, 2023 01:58

Pull request was closed

@renovate renovate bot deleted the renovate/major-all branch April 4, 2023 01:58
@renovate renovate bot changed the title Update all dependencies (major) - autoclosed Update all dependencies (major) Apr 4, 2023
@renovate renovate bot reopened this Apr 4, 2023
@renovate renovate bot restored the renovate/major-all branch April 4, 2023 10:39
@renovate renovate bot force-pushed the renovate/major-all branch 3 times, most recently from d66bc15 to f974cd4 Compare June 2, 2023 17:48
@renovate renovate bot force-pushed the renovate/major-all branch 2 times, most recently from d037f99 to 4a65de0 Compare June 25, 2023 18:34
@renovate renovate bot force-pushed the renovate/major-all branch 3 times, most recently from 423821b to 1e24ad3 Compare July 7, 2023 22:53
@renovate renovate bot force-pushed the renovate/major-all branch 2 times, most recently from ee897c7 to 4ca1ad8 Compare July 24, 2023 16:05
@renovate renovate bot force-pushed the renovate/major-all branch 2 times, most recently from 0292bc9 to b7e6690 Compare April 23, 2024 23:02
@renovate renovate bot force-pushed the renovate/major-all branch 3 times, most recently from f9a4059 to 55a23f3 Compare May 10, 2024 15:21
@renovate renovate bot force-pushed the renovate/major-all branch 3 times, most recently from 794d6b1 to 2d96724 Compare May 28, 2024 06:20
@renovate renovate bot force-pushed the renovate/major-all branch 4 times, most recently from d7f61bf to a84a40c Compare June 11, 2024 11:18
@renovate renovate bot force-pushed the renovate/major-all branch 2 times, most recently from 3b4b81f to 1c39634 Compare June 25, 2024 11:37
@renovate renovate bot force-pushed the renovate/major-all branch 2 times, most recently from c7af79e to 64ce3e8 Compare July 6, 2024 13:25
@renovate renovate bot force-pushed the renovate/major-all branch 7 times, most recently from ab47ac0 to 9bbe6be Compare July 21, 2024 16:58
@renovate renovate bot force-pushed the renovate/major-all branch 4 times, most recently from be1922e to c073787 Compare July 29, 2024 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
0 participants