Open pniederlag opened 3 years ago
the workaround works for me as well. Can you propose a PR to include this in the readme?
The workaround also worked for this problem:
$ oca-github-login NL66278
Password for NL66278:
Traceback (most recent call last):
File "/home/openeyedev/run/odoo-15.0/bin/oca-github-login", line 11, in <module>
load_entry_point('oca-maintainers-tools==0.1.dev1062+g7d8a9f9', 'console_scripts', 'oca-github-login')()
File "/home/openeyedev/run/odoo-15.0/lib/python3.9/site-packages/oca_maintainers_tools-0.1.dev1062+g7d8a9f9-py3.9.egg/tools/github_login.py", line 78, in main
authorize_token(args.username)
File "/home/openeyedev/run/odoo-15.0/lib/python3.9/site-packages/oca_maintainers_tools-0.1.dev1062+g7d8a9f9-py3.9.egg/tools/github_login.py", line 53, in authorize_token
auth = github3.authorize(user, password, scopes, note, note_url,
AttributeError: module 'github3' has no attribute 'authorize
I think I ended up pinning an old version and the forgot to report here.... wait
Last version that worked for me was 1.4.0 I think. A bit of history here https://github.com/OCA/maintainer-tools/issues/446
I also fail in
auth = github3.authorize(user, password, scopes, note, note_url,
AttributeError: module 'github3' has no attribute 'authorize
What is the fallback to get oca-github-login
working.
Do you know which commit ? Thanks
I have same issue. 404 or module 'github3' has no attribute 'authorize. Depend on version. What access rights need to enable for token ?
GH lib api changed a lot, we should update/refactor/trash things here. If you have time, any contrib is welcomed ;)
Meanwhile, workaround: use a token and run export GITHUB_TOKEN=xyz
Steps to reproduce
Current behavior
Two-Factor-Auth is enabled on my account