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

Problem updating AUTHORS #12318

Closed
mamakancha opened this issue Mar 15, 2017 · 3 comments
Closed

Problem updating AUTHORS #12318

mamakancha opened this issue Mar 15, 2017 · 3 comments

Comments

@mamakancha
Copy link
Contributor

mamakancha commented Mar 15, 2017

Since the file for AUTHORS was not updated since Sep 2016, I thought it would be a good idea to update it since many new contributors have submitted their patches to Sympy.
However, on running ./bin/authors_update.py in a virtualenv I get the following error:

Traceback (most recent call last):
  File "./bin/authors_update.py", line 15, in <module>
    from fabric.api import local, env
  File "/home/mamakancha/sympy/my_project1/lib/python3.4/site-packages/fabric/api.py", line 10, in <module>
    from fabric.context_managers import (cd, hide, settings, show, path, prefix,
  File "/home/mamakancha/sympy/my_project1/lib/python3.4/site-packages/fabric/context_managers.py", line 535
    def accept(channel, (src_addr, src_port), (dest_addr, dest_port)):
                        ^
SyntaxError: invalid syntax

I don't understand why I am getting this error.

@moorepants
Copy link
Member

Fabric only works with Python 2, maybe you are using Python 3?

@mamakancha
Copy link
Contributor Author

mamakancha commented Mar 15, 2017

Yes. I was using Python3 at first.
Found the same Issue at fabric/fabric#1209.
Did the procedure with Python 2.7 and it worked.
Submitted a PR for the same.

@mamakancha
Copy link
Contributor Author

Closing the issue as the reason was pointed out by @moorepants and I have corrected it.

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

2 participants