update ez_setup.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Fix Released
|
High
|
Barry Warsaw |
Bug Description
This is probably a duplicate of an existing bug. I could not see that fact in the titles of the existing bugs.
I just downloaded the latest version of mailman, 3.0.0a3.
I am getting this error:
Downloading http://
egg
Traceback (most recent call last):
File "./setup.py", line 26, in ?
from mailman.version import VERSION as __version__
File "src/mailman/
from __future__ import absolute_import, unicode_literals
SyntaxError: future feature absolute_import is not defined
Are there changes I can make in the existing sources to fix this?
Should I be downloading an earlier version, and if so, which one?
Thanks.
cmn
Related branches
- pierfort123: Pending requested
Changed in mailman: | |
status: | Fix Released → Fix Committed |
Changed in mailman: | |
status: | Fix Committed → Fix Released |
It looks like your underlying Python is 2.4.x. This is too old. Mailman 3 requires at least Python 2.6. This is a bug in setup.py to not detect your Python version until it's too late. Setup.py was fixed at rev 6796.