-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
SyntaxError installing 19.1.1 on Python 2.7.8 #860
Comments
Actually this is an issue in pip: pypa/pip#1954 related to pypa/pip#1873 . Would be cool if at least pip would ignore such error... |
I've opened pypa/pip#1984 to fix this. |
@berkerpeksag thanks! |
The patch has been merged into master. I will also commit the patch in http://bugs.python.org/issue21338 and will create a similar patch for py_compile for Python 3.5. So I think we can close this issue now. |
Using python 2.7.6: For me using pip master (pypa/pip@4411d86), I get half of the error message. My exact output when installing is:
So it has stripped the Comparing to pip 1.5.6, I see the full thing:
|
|
Thanks, @berkerpeksag 🏆 |
The real problem I think is that if someone runs pip install gunicorn -U right now, they will get this faulty version that doesn't install |
@radlws it does install. |
I'm still getting this with pip 1.5.4, python 2.7.6, gunicorn 19.1.1 |
Syntax errors there are harmless. You don't have to really care about it. |
Thanks |
- Update PORTVERSION and distinfo checksum (19.4.1) - Match COMMENT to setup.py:description= - Add LICENSE_FILE - Options: Rename SETPROC option -> Add PROCTITLE to defaults - Options: Add GAIOHTTP async worker - Options: Update all descriptions - Options: Remove TESTS optionjs - Enable "concurrent" Python support - Add NO_ARCH (architecture independent package) - Rename test target to new conventions - Check, limit, and add BROKEN message for Option/Python version combinations that aren't supported. - Patch out non-compulsory dependencies from test requirements file - Delete requirements_dev.txt patch file (no longer necessary) - Add post-patch: target to remove _gaiohttp.py, because compileall() of this file fails on 2.x with a SyntaxError, but is not handled, so .py[co] files references are added to --record output, breaking file list generation. [1][2][3][4][5] Changes: http://docs.gunicorn.org/en/stable/news.html [1] benoitc/gunicorn#788 [2] benoitc/gunicorn#860 [3] benoitc/gunicorn#982 [4] pypa/pip#1873 [5] pypa/pip#1954 git-svn-id: svn+ssh://svn.freebsd.org/ports/head@404558 35697150-7ecd-e111-bb59-0022644237b5
- Update PORTVERSION and distinfo checksum (19.4.1) - Match COMMENT to setup.py:description= - Add LICENSE_FILE - Options: Rename SETPROC option -> Add PROCTITLE to defaults - Options: Add GAIOHTTP async worker - Options: Update all descriptions - Options: Remove TESTS optionjs - Enable "concurrent" Python support - Add NO_ARCH (architecture independent package) - Rename test target to new conventions - Check, limit, and add BROKEN message for Option/Python version combinations that aren't supported. - Patch out non-compulsory dependencies from test requirements file - Delete requirements_dev.txt patch file (no longer necessary) - Add post-patch: target to remove _gaiohttp.py, because compileall() of this file fails on 2.x with a SyntaxError, but is not handled, so .py[co] files references are added to --record output, breaking file list generation. [1][2][3][4][5] Changes: http://docs.gunicorn.org/en/stable/news.html [1] benoitc/gunicorn#788 [2] benoitc/gunicorn#860 [3] benoitc/gunicorn#982 [4] pypa/pip#1873 [5] pypa/pip#1954
Seems to be installed but it would be nice without the error message
The text was updated successfully, but these errors were encountered: