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

github: Support for python 3.10 (dependency update required) #203

Open
pyhedgehog opened this issue Oct 23, 2022 · 0 comments
Open

github: Support for python 3.10 (dependency update required) #203

pyhedgehog opened this issue Oct 23, 2022 · 0 comments

Comments

@pyhedgehog
Copy link
Contributor

Error:

Traceback (most recent call last):
  File "/usr/local/bin/git-repo", line 5, in <module>
    from git_repo.repo import cli
  File "/usr/local/lib/python3.10/site-packages/git_repo/repo.py", line 140, in <module>
    from .services.service import RepositoryService, EXTRACT_URL_RE
  File "/usr/local/lib/python3.10/site-packages/git_repo/services/service.py", line 612, in <module>
    from .ext import *
  File "/usr/local/lib/python3.10/site-packages/git_repo/services/ext/gitbucket.py", line 7, in <module>
    from .github import GithubService
  File "/usr/local/lib/python3.10/site-packages/git_repo/services/ext/github.py", line 10, in <module>
    import github3
  File "/usr/local/lib/python3.10/site-packages/github3/__init__.py", line 20, in <module>
    from .api import *
  File "/usr/local/lib/python3.10/site-packages/github3/api.py", line 11, in <module>
    from .github import GitHub, GitHubEnterprise
  File "/usr/local/lib/python3.10/site-packages/github3/github.py", line 11, in <module>
    from .auths import Authorization
  File "/usr/local/lib/python3.10/site-packages/github3/auths.py", line 12, in <module>
    from .models import GitHubCore
  File "/usr/local/lib/python3.10/site-packages/github3/models.py", line 14, in <module>
    from .session import GitHubSession
  File "/usr/local/lib/python3.10/site-packages/github3/session.py", line 4, in <module>
    from collections import Callable
ImportError: cannot import name 'Callable' from 'collections' (/usr/local/lib/python3.10/collections/__init__.py)

Reason: collection.Callable moved to collection.abc.Callable in 3.3, deprecated in 3.7, removed in 3.10.
Deep reason: Requirement github3.py<1.0.0 is too old.

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

No branches or pull requests

1 participant