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

update async code #91

Open
nosarthur opened this issue Aug 5, 2020 · 3 comments
Open

update async code #91

nosarthur opened this issue Aug 5, 2020 · 3 comments

Comments

@nosarthur
Copy link
Owner

Currently I'm using py3.6 api in asyncio. They are different in py3.7 and won't even work in py3.10

At some point, we need to update them

https://docs.python.org/3.10/whatsnew/3.10.html
https://www.python.org/dev/peps/pep-0619/ (release schedule)

@DavidRomanovizc
Copy link

Hi there, in which file you need to modify async function?

@nosarthur
Copy link
Owner Author

You can grep asyncio in the code base. The scope of this case is to bring the async calls up to date with python version 3.10+

@FernandoMiguel
Copy link

having same issue with python 3.10

$ gita pull
Traceback (most recent call last):
  File "/opt/homebrew/lib/python3.10/site-packages/gita/utils.py", line 383, in run_async
  File "/opt/homebrew/Cellar/[email protected]/3.10.6_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/subprocess.py", line 218, in create_subprocess_exec
  File "/opt/homebrew/Cellar/[email protected]/3.10.6_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/base_events.py", line 1667, in subprocess_exec

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

3 participants