mirror of https://github.com/scrapy/scrapy.git
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.
This commit is contained in:
parent
d24212c8e5
commit
42dc34f924
3
tox.ini
3
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}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue