-
Notifications
You must be signed in to change notification settings - Fork 149
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 building for python2 #77
Comments
What command is generating this output? There is python 3 syntax in |
The PKGBUILD runs
|
Backoff doesn't ship with a Instead there is a I'm currently using poetry for building and publishing |
The
|
^ Looks like this is promising. |
Okay that makes sense. I didn't remember that poetry is generating a setup.py. The fundamental issue is that on python 2.7, you do not want it to byte compile the _async submodule as it is necessarily python 3 syntax. It looks like you can specify files to exclude in pyproject.toml but I'm not sure how to exclude them for only one version of python... Maybe there's a way when invoking setup.py to exclude that file from being compiled? |
So it doesn't actually cause any problems, I'm just gonna ignore it. :) |
I own the Arch Linux AUR
python-backoff
package and was hoping you might be able to help me figure out why it doesn't build for python2 (its fine for python 3).The text was updated successfully, but these errors were encountered: