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

Pyzo is not compatible with Python-3.7 , because use of the reserved word 'async' #529

Closed
stonebig opened this issue Mar 2, 2018 · 8 comments

Comments

@stonebig
Copy link
Contributor

stonebig commented Mar 2, 2018

  File "C:\python-3.7.0b2.amd64\lib\site-packages\pyzo\yoton\clientserver.py", line 81
   def __init__(self, address, async=False, verbose=0):
                                    ^
SyntaxError: invalid syntax
@stonebig
Copy link
Contributor Author

stonebig commented Apr 28, 2018

I integrated the "master" branch in WinPython-3.7 betas, in wait of a patch release.

@almarklein
Copy link
Member

For the record (for others chiming in) this has been fixed in master, but there has not been a new release since the fix.

@2press
Copy link

2press commented Jul 18, 2018

Now that Python 3.7 was officially release, it's time to release this fix.

@almarklein
Copy link
Member

I agree. But I have a general lack of time right now. Perhaps after EuroPython.

@sm4rk0
Copy link

sm4rk0 commented Nov 4, 2018

I've just filed a LaunchPad bug and then found this one. Python 3.7 just entered disco-proposed repo - a staging repo for a development Ubuntu version (19.04).

@almarklein
Copy link
Member

Oh, work to do then!

@almarklein
Copy link
Member

Actually, release 4.6.0 and 4.6.1 both already include the fix.

@ferdymercury
Copy link

I saw this problem when upgrading Ubuntu 18 to Ubuntu 20 via do-release-upgrade, that led to a broken upgrade/install. The solution was to edit by hand the file /usr/share/pyzo/pyzo/yoton/clientserver.py and change the name of the parameter async on line 81 to assync, as well as two or three lines below. Then I run 'apt --fix-broken install' and the upgrade completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants