Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 17, 2025

Bumps pygithub from 2.5.0 to 2.6.0.

Release notes

Sourced from pygithub's releases.

v2.6.0

Breaking Changes

  • Rework Views and Clones by @​EnricoMi in PyGithub/PyGithub#3168: View and clones traffic information returned by Repository.get_views_traffic and Repository.get_clones_traffic now return proper PyGithub objects, instead of a dict, with all information that used to be provided by the dict:

Code like

repo.get_views_traffic().["views"].timestamp
repo.get_clones_traffic().["clones"].timestamp

should be replaced with

repo.get_views_traffic().views.timestamp
repo.get_clones_traffic().clones.timestamp

New Features

Improvements

... (truncated)

Changelog

Sourced from pygithub's changelog.

Version 2.6.0 (February 15, 2025)

Breaking Changes ^^^^^^^^^^^^^^^^

  • Rework Views and Clones ([#3168](https://github.com/pygithub/pygithub/issues/3168) <https://github.com/PyGithub/PyGithub/pull/3168>) (f7d52249 <https://github.com/PyGithub/PyGithub/commit/f7d52249>):

    View and clones traffic information returned by Repository.get_views_traffic and Repository.get_clones_traffic now return proper PyGithub objects, instead of a dict, with all information that used to be provided by the dict:

    Code like

    .. code-block:: python

    repo.get_views_traffic().["views"].timestamp repo.get_clones_traffic().["clones"].timestamp

    should be replaced with

    .. code-block:: python

    repo.get_views_traffic().views.timestamp repo.get_clones_traffic().clones.timestamp

  • Fix typos ([#3086](https://github.com/pygithub/pygithub/issues/3086) <https://github.com/PyGithub/PyGithub/pull/3086>) (a50ae51b <https://github.com/PyGithub/PyGithub/commit/a50ae51b>):

    Property OrganizationCustomProperty.respository_id renamed to OrganizationCustomProperty.repository_id.

New Features ^^^^^^^^^^^^

  • Add capability for global laziness ([#2746](https://github.com/pygithub/pygithub/issues/2746) <https://github.com/PyGithub/PyGithub/pull/2746>) (f23da453 <https://github.com/PyGithub/PyGithub/commit/f23da453>)
  • Add Support for GitHub Copilot Seat Management in Organizations ([#3082](https://github.com/pygithub/pygithub/issues/3082) <https://github.com/PyGithub/PyGithub/pull/3082>) (b5f8f078 <https://github.com/PyGithub/PyGithub/commit/b5f8f078>)
  • Get branches where commit is head ([#3083](https://github.com/pygithub/pygithub/issues/3083) <https://github.com/PyGithub/PyGithub/pull/3083>) (3d84a47a <https://github.com/PyGithub/PyGithub/commit/3d84a47a>)
  • Support downloading a Release Asset ([#3060](https://github.com/pygithub/pygithub/issues/3060) <https://github.com/PyGithub/PyGithub/pull/3060>) (67cfdb21 <https://github.com/PyGithub/PyGithub/commit/67cfdb21>)
  • Add Repository.merge_upstream method ([#3175](https://github.com/pygithub/pygithub/issues/3175) <https://github.com/PyGithub/PyGithub/pull/3175>) (2f95352e <https://github.com/PyGithub/PyGithub/commit/2f95352e>)
  • Support updating pull request draft status ([#3104](https://github.com/pygithub/pygithub/issues/3104) <https://github.com/PyGithub/PyGithub/pull/3104>) (5ec7b775 <https://github.com/PyGithub/PyGithub/commit/5ec7b775>)
  • Add transfer ownership method to Repository ([#3091](https://github.com/pygithub/pygithub/issues/3091) <https://github.com/PyGithub/PyGithub/pull/3091>) (b3ccd105 <https://github.com/PyGithub/PyGithub/commit/b3ccd105>)
  • Add enable and disable a Workflow ([#3088](https://github.com/pygithub/pygithub/issues/3088) <https://github.com/PyGithub/PyGithub/pull/3088>) (7f7d2282 <https://github.com/PyGithub/PyGithub/commit/7f7d2282>)
  • Add support for managing Code Security Configurations ([#3095](https://github.com/pygithub/pygithub/issues/3095) <https://github.com/PyGithub/PyGithub/pull/3095>) (ee5d1da3 <https://github.com/PyGithub/PyGithub/commit/ee5d1da3>)
  • Allow for private_key / sign function in AppAuth ([#3065](https://github.com/pygithub/pygithub/issues/3065) <https://github.com/PyGithub/PyGithub/pull/3065>) (36697b22 <https://github.com/PyGithub/PyGithub/commit/36697b22>)
  • Add GitCommitVerification class ([#3028](https://github.com/pygithub/pygithub/issues/3028) <https://github.com/PyGithub/PyGithub/pull/3028>) (822e6d71 <https://github.com/PyGithub/PyGithub/commit/822e6d71>)

Improvements ^^^^^^^^^^^^

  • Update RateLimit object with all the new categories GitHub added. ([#3096](https://github.com/pygithub/pygithub/issues/3096) <https://github.com/PyGithub/PyGithub/pull/3096>) (152429d9 <https://github.com/PyGithub/PyGithub/commit/152429d9>)
  • Add support for make-latest to create_git_release and create_git_tag_and_release ([#3067](https://github.com/pygithub/pygithub/issues/3067) <https://github.com/PyGithub/PyGithub/pull/3067>) (8ed5635f <https://github.com/PyGithub/PyGithub/commit/8ed5635f>)
  • Add branch protection support for required_status_checks.checks object ([#2884](https://github.com/pygithub/pygithub/issues/2884) <https://github.com/PyGithub/PyGithub/pull/2884>) (764540d3 <https://github.com/PyGithub/PyGithub/commit/764540d3>)
  • Use id and tree_id from simple-commit to populate GitCommit.sha and GitCommit.tree ([#3167](https://github.com/pygithub/pygithub/issues/3167) <https://github.com/PyGithub/PyGithub/pull/3167>) (04887640 <https://github.com/PyGithub/PyGithub/commit/04887640>)
  • Use message of response in GithubException ([#3185](https://github.com/pygithub/pygithub/issues/3185) <https://github.com/PyGithub/PyGithub/pull/3185>) (bd35f7dd <https://github.com/PyGithub/PyGithub/commit/bd35f7dd>)

... (truncated)

Commits

Dependabot compatibility score

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 <dependency name> 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)

@dependabot dependabot bot added the topic: infrastructure Related to project infrastructure label Feb 17, 2025
@codecov-commenter
Copy link

codecov-commenter commented Feb 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.81%. Comparing base (40d8b7e) to head (9e870f3).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #354   +/-   ##
=======================================
  Coverage   99.81%   99.81%           
=======================================
  Files           2        2           
  Lines        1625     1625           
=======================================
  Hits         1622     1622           
  Misses          3        3           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Bumps [pygithub](https://github.com/pygithub/pygithub) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/pygithub/pygithub/releases)
- [Changelog](https://github.com/PyGithub/PyGithub/blob/main/doc/changes.rst)
- [Commits](PyGithub/PyGithub@v2.5.0...v2.6.0)

---
updated-dependencies:
- dependency-name: pygithub
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/pygithub-2.6.0 branch from b3019f5 to 9e870f3 Compare February 19, 2025 11:37
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 21, 2025

Superseded by #357.

@dependabot dependabot bot closed this Feb 21, 2025
@dependabot dependabot bot deleted the dependabot/pip/pygithub-2.6.0 branch February 21, 2025 23:17
@per1234 per1234 added conclusion: duplicate Has already been submitted type: enhancement Proposed improvement labels Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants