Only py3 supported?
Closed this issue · 3 comments
mirceaulinic commented
Only py3 supported?
cgoldberg commented
It appears to be Python3 only.
from setup.py
:
if sys.version_info.major < 3:
print("ERROR: saltpack-python requires Python 3")
sys.exit(1)
Notes:
- a backport probably wouldn't be too difficult
- I don't recommend maintaining Py2 compatibility at this point
- if you need it, you can always maintain your own fork
- I am not a maintainer of this project
oconnor663 commented
I'm curious about your use case. Are you importing saltpack
as a library? I mostly intended for people to run this as a CLI command, so I figured Python 2 support wasn't really necessary.
I hope that 3to2
would take care of most of the conversion, but it looks like there's some new syntax that it doesn't know how to convert, like fancy uses of the *
character.
Deleted user commented
Python 2 has been EOLed for a while now.