From 42dc34f92412e5f8ecd1e56995f182532e76ef1e Mon Sep 17 00:00:00 2001 From: Mikhail Korobov Date: Mon, 17 Feb 2014 17:21:38 +0600 Subject: [PATCH] TST Improved twisted installation in tox.ini for Python 3.3 Install twisted trunk because released twisted doesn't install properly, see https://twistedmatrix.com/trac/ticket/6539. Also, test-requirements are removed for 3.3 because mitmproxy doesn't install in Python 3.3, and mock is in Python 3.3 standard library. Note that trial scrapy is not doing what is expected because twisted doesn't have trial runner for 3.3 yet, so this command will most likely call "trial" outside tox virtualenv and will use incorrect interpreter. --- tox.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index ed436d933..cebffbccc 100644 --- a/tox.ini +++ b/tox.ini @@ -39,13 +39,12 @@ commands = [testenv:py33] basepython = python3.3 deps = - Twisted>=13.2.0 + svn+svn://svn.twistedmatrix.com/svn/Twisted/trunk#egg=Twisted lxml>=3.2.4 pyOpenSSL>=0.13.1 cssselect>=0.9 queuelib>=1.1.1 w3lib>=1.5 - -rtests-requirements.txt commands = trial {posargs:scrapy}