Closed SylvainDe closed 5 years ago
Last commit did not fix anything, the failure is just different : https://travis-ci.org/SylvainDe/DidYouMean-Python/jobs/231730380 .
$ pip install --upgrade pep8
Traceback (most recent call last):
File "/home/travis/virtualenv/python3.2.6/bin/pip", line 7, in <module>
from pip import main
File "/home/travis/virtualenv/python3.2.6/lib/python3.2/site-packages/pip/__init__.py", line 21, in <module>
from pip._vendor.requests.packages.urllib3.exceptions import DependencyWarning
File "/home/travis/virtualenv/python3.2.6/lib/python3.2/site-packages/pip/_vendor/requests/__init__.py", line 66, in <module>
from .models import Request, Response, PreparedRequest
File "/home/travis/virtualenv/python3.2.6/lib/python3.2/site-packages/pip/_vendor/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
Hey... i also come into the latter failure.. did you have a solution for that?
@yupbank Not yet. I have a limited understanding on this and haven't found an obvious solution. Reading the issues linked above might lead to a solution but in any case, a general consensus seems to be that Python 3.2 is not supposed to be used. If you find anything, I am obviously interested :)
Ah. I've found a solution.
add this pip install tox-travis
and it will settle nasty things behind the virtualenv verison and python3.2 version
ah.. nvm.. you are not using tox.. maybe i can port a pr for you.. if i have time..
@yupbank Thanks for the feedback. If you do have time for a PR, that's brilliant. If you don't, a link to the commit(s) fixing the issue on your side would be much appreciated.
sorry i was too busy.. try this https://github.com/SimonSapin/tinycss2/pull/6
@yupbank Thank you very much! I'll have a look asap (after going through the doc to understand all of it). I'm glad you found something working for you :-)
I think you can safely drop Python 3.2 now, it's been EOL for a while and its Unicode handling is a pain so many packages are dropping it.
https://en.wikipedia.org/wiki/CPython#Version_history
As for PyPy3, Travis have updated it to a later release which is based on later Python 3 version, so just try rebuilding it and it may well pass now.
(Very soon Python 2.6 will become a pain to support, but you can probably keep 3.3 for a bit longer if needed.)
Solved
Jobs have been failing fro a few days now: