afimb / gtfslib-python

An open source library in python for reading GTFS files and computing various stats and indicators about Public Transport networks
GNU General Public License v3.0
44 stars 6 forks source link

Travis build fails on python 3.2 #47

Closed laurentg closed 8 years ago

laurentg commented 8 years ago

This is due to latest version of requests not being compatible with python 3.2:

File "/home/travis/virtualenv/python3.2.5/lib/python3.2/site-packages/requests/models.py", line 856
    http_error_msg = u'%s Client Error: %s for url: %s' % (self.status_code, reason, self.url)
                                                      ^
SyntaxError: invalid syntax

One solution would be to force the use of older version of requests under python 3.2, but this is hackish. Since python 3.2 is very seldom used by now, we should just drop the python 3.2 support for now.

laurentg commented 8 years ago

Official support of python 3.2 has been officially dropped in august 2016 by request devs. Python 3.2 not being officially maintained anymore, we should drop the support.