-
Notifications
You must be signed in to change notification settings - Fork 309
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 with Python 3.x #181
Comments
I can't reproduce this, I have pystache 0.5.4 installed on Python 3.5.1 and it works. |
I have the same issue. I am using Python '3.3.5 (default, Jun 15 2016, 19:45:40) [MSC v.1800 32 bit (Intel)]' installed in LibreOffice installation 5.1.4.2 (32bit) on Windows 7 (64bit). |
Found the same issue with Python 3.6.3.
|
I'm getting this same issue in Python 3.7.6 |
Same issue with Python 3.6.10, pip (both 18.1 and latest 20.0.2) and pystache 0.5.4. Didn't have the issue with 3.6.1. |
This seems to be a problem with 2to3. When I run "python -m lib2to3" with Python 3.6.1 on the pystache site-packages directory I get a list of changes that would be made. When I run with Python 3.6.10 I simply get: |
Problem went away when I removed this post-build step from our Python build:
I've not investigated why this caused the issue. |
From the readme
From nicolargo/glances#1793 (comment)
I am sorry to say that this signals that the project is indeed abandoned and people should look elsewhere - #213 |
Scratch the above message. The actual reason the build is failing is not pip but setuptools. From https://github.com/pypa/setuptools/blob/main/CHANGES.rst#v5800
So, starting today, environments that pull in the new release of setuptools (v58 or later) will fail to build pystache. |
I have forked pystache and dropped support for python2 in order to avoid this issue here – https://github.com/PennyDreadfulMTG/pystache |
Tested with python 3.4 and 3.5
The text was updated successfully, but these errors were encountered: