OCA / maintainer-tools

Odoo Maintainers Tools & conventions for OCA members which evaluate and maintain repositories.
GNU Affero General Public License v3.0
277 stars 460 forks source link

module 'github3' has no attribute 'authorize' #609

Closed dreispt closed 6 months ago

dreispt commented 7 months ago

Following the Developers instructions on a fresh copy of the repo, when running $ python -m tools.github_login $USER, I get an error traceback:

Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/dreis/work17/oca/maintainer-tools/tools/github_login.py", line 96, in <module>
    main()
  File "/home/dreis/work17/oca/maintainer-tools/tools/github_login.py", line 92, in main
    authorize_token(args.username)
  File "/home/dreis/work17/oca/maintainer-tools/tools/github_login.py", line 60, in authorize_token
    auth = github3.authorize(
AttributeError: module 'github3' has no attribute 'authorize'

Seems like github3API has changed.