mirror of https://github.com/scrapy/scrapy.git
updated required twisted version to 10.0
This commit is contained in:
parent
fe9ae1d46a
commit
a9c3519897
|
|
@ -250,9 +250,6 @@ Here are the methods that you should override in your custom Images Pipeline:
|
|||
|
||||
* ``checksum`` - a `MD5 hash`_ of the image contents
|
||||
|
||||
.. _Twisted Failure: http://twistedmatrix.com/documents/8.2.0/api/twisted.python.failure.Failure.html
|
||||
.. _MD5 hash: http://en.wikipedia.org/wiki/MD5
|
||||
|
||||
The list of tuples received by :meth:`~item_completed` is
|
||||
guaranteed to retain the same order of the requests returned from the
|
||||
:meth:`~get_media_requests` method.
|
||||
|
|
@ -322,3 +319,5 @@ above::
|
|||
item['image_paths'] = image_paths
|
||||
return item
|
||||
|
||||
.. _Twisted Failure: http://twistedmatrix.com/documents/current/api/twisted.python.failure.Failure.html
|
||||
.. _MD5 hash: http://en.wikipedia.org/wiki/MD5
|
||||
|
|
|
|||
|
|
@ -114,8 +114,6 @@ Request objects
|
|||
as first parameter.
|
||||
:type errback: callable
|
||||
|
||||
.. _Twisted Failure: http://twistedmatrix.com/documents/8.2.0/api/twisted.python.failure.Failure.html
|
||||
|
||||
.. attribute:: Request.url
|
||||
|
||||
A string containing the URL of this request. Keep in mind that this
|
||||
|
|
@ -541,3 +539,5 @@ XmlResponse objects
|
|||
The :class:`XmlResponse` class is a subclass of :class:`TextResponse` which
|
||||
adds encoding auto-discovering support by looking into the XML declaration
|
||||
line. See :attr:`TextResponse.encoding`.
|
||||
|
||||
.. _Twisted Failure: http://twistedmatrix.com/documents/current/api/twisted.python.failure.Failure.html
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Twisted>=8.0
|
||||
Twisted>=10.0.0
|
||||
w3lib>=1.2
|
||||
queuelib
|
||||
lxml
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -122,6 +122,6 @@ try:
|
|||
except ImportError:
|
||||
from distutils.core import setup
|
||||
else:
|
||||
setup_args['install_requires'] = ['Twisted>=8.0', 'w3lib>=1.2', 'queuelib', 'lxml', 'pyOpenSSL']
|
||||
setup_args['install_requires'] = ['Twisted>=10.0.0', 'w3lib>=1.2', 'queuelib', 'lxml', 'pyOpenSSL']
|
||||
|
||||
setup(**setup_args)
|
||||
|
|
|
|||
Loading…
Reference in New Issue