--- you can reply above this line --- New issue 91: Python 2.5 support https://bitbucket.org/hpk42/tox/issue/91/python-25-support
Chris Adams: tox currently lists Python 2.5 as the earliest supported version. Unfortunately, it no longer works because PyPI changed to require SSL, which breaks on Python 2.5 unless you have installed the ssl backport (see http://www.pip-installer.org/en/latest/logic.html#ssl-backport). At first, I thought I could do this within my commands stanza but ran into two problems: * Due to #2, you cannot simply use curl to fetch the package ("test command found but not installed in testenv") * Even if that worked, #38 would mean that you'd be forced to copy and paste around the inability to do something like this: ``` #!ini deps = # Do nothing because pip is broken on Python 2.5 # http://www.pip-installer.org/en/latest/logic.html#ssl-backport commands = curl -s -o {envtmpdir}/ssl-1.15.tar.gz https://pypi.python.org/packages/source/s/ssl/ssl-1.15.tar.gz pip install {envtmpdir}/ssl-1.15.tar.gz pip install -r {toxinidir}/tests/requirements_25.txt pip install django==1.3 {[testenv]commands} ``` I think it'd either make sense to have an automatic hook to install ssl on Python 2.5 or simply drop support for it as it's rather old and backport RPMs are available for legacy Red Hat users. -- This is an issue notification from bitbucket.org. You are receiving this either because you are the owner of the issue, or you are following the issue. _______________________________________________ pytest-commit mailing list pytest-commit@python.org http://mail.python.org/mailman/listinfo/pytest-commit