The github.Commit.Commit class provides a files property that used to return a list[github.File.File],
which has now been changed to PaginatedList[github.File.File]. This breaks user code that assumes a list:
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:
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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pygithub from 2.3.0 to 2.4.0.
Release notes
Sourced from pygithub's releases.
Changelog
Sourced from pygithub's changelog.
... (truncated)
Commits
8508735
Release v2.4.0 (#3027)7522416
Addhas_discussions
toAuthenticatedUser
andRepository
classes (#3020)fa16827
Update moreSecurityAndAnalysis
attributes (#3025)23e8756
Implement support for re-running only failed workflow jobs. (#2983)d0e0507
Complete dropping Python 3.7 (#2975)32b826f
Allow custom authentication (#2987)5ba2437
Add possibility to mark a thread/notification as done (#2985)61d37dc
CI: Fix test success job (#3010)38197d6
Revert "Add has_discussions field to Repository class" (#3009)7213cd0
Add has_discussions field to Repository class (#2995)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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show