Page MenuHomeSolus

Update python-pygithub to 1.55
ClosedPublic

Authored by algent on Jul 24 2021, 2:16 PM.
Tags
None
Referenced Files
F11068588: D11526.diff
Fri, Aug 11, 9:59 PM
F10877027: D11526.id28200.diff
Jun 20 2023, 3:16 PM
F10849609: D11526.id28109.diff
Jun 11 2023, 9:15 PM
F10815428: D11526.id27884.diff
May 31 2023, 8:26 PM
F10815425: D11526.id28109.diff
May 31 2023, 8:25 PM
F10815261: D11526.id28200.diff
May 31 2023, 7:47 PM
F10815226: D11526.diff
May 31 2023, 7:35 PM
F10810058: D11526.id.diff
May 30 2023, 4:40 PM
Subscribers
None

Details

Summary

Changelog:

  • Breaking Changes
    • Remove client_id/client_secret authentication
    • Adjust to Github API changes regarding emails
      • This impacts what AuthenticatedUser.get_emails() returns
    • PublicKey.key_id could be int on Github Enterprise
    • Export headers in GithubException
  • Bug Fixes & Improvements
    • Do not import from unpackaged paths in typing
    • Implement hash for CompletableGithubObject
    • Use property decorator to improve typing compatibility
    • Fix :rtype: directive
    • Update most URLs to docs.github.com
    • Tighten asserts for new Permission tests
    • Adding attributes "maintain" and "triage" to class "Permissions"
    • Add default arguments to Workflow method type annotations
    • Re-raise the exception when failing to parse JSON
    • Allow adding attributes at the end of the list
    • Updating links to Github documentation for deploy keys
    • Update PyJWT Version to 2.0+
    • Use right variable in both get_check_runs()
    • fix bad assertions in github.Project.edit
    • Test repr() for PublicKey
    • Add support for deleting repository secrets
    • Switch repository secrets to using f-strings
    • Manually fixing paths for codecov.io to cover all project files
    • Add missing links to project metadata
    • No longer show username and password examples
    • Adding github actions secrets
    • fix get_user_issues
    • Switch all string addition to using f-strings
    • Enabling connetion pool_size definition
    • Always define the session adapter

Packager notes:

  • Add homepage
  • Remove python-sphinx-rtd-theme because it is needed only to build their online docs
  • Add build tests.

Depends on D11524 D11525

Signed-off-by: Algent Albrahimi <algent@protonmail.com>

Test Plan

Test with ulauncher by adding github extension, connect to my github accounts and run commands:
gh to access my github account
gists to show my gists
ghr to access my github repos
ghs to search any repo

Diff Detail

Repository
R4800 python-pygithub
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 1329
Build 1329: arc lint + arc unit