Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warning for GitHub login #16

Open
cyb3rko opened this issue Jan 5, 2024 · 0 comments
Open

Deprecation warning for GitHub login #16

cyb3rko opened this issue Jan 5, 2024 · 0 comments

Comments

@cyb3rko
Copy link

cyb3rko commented Jan 5, 2024

When building, the following deprecation warning is shown:

DeprecationWarning: Argument login_or_token is deprecated, please use auth=github.Auth.Token(...) instead
  File "/opt/homebrew/lib/python3.11/site-packages/mkdocs_git_committers_plugin/plugin.py", line 38, in on_config
    self.github = Github( base_url="https://" + self.config['enterprise_hostname'] + "/api/v3", login_or_token=self.config['token'] )
  File "/opt/homebrew/lib/python3.11/site-packages/github/MainClass.py", line 177, in __init__
    warnings.warn(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant