diff --git a/docs/topics/images.rst b/docs/topics/images.rst index f7f33b687..28be43e03 100644 --- a/docs/topics/images.rst +++ b/docs/topics/images.rst @@ -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 diff --git a/docs/topics/request-response.rst b/docs/topics/request-response.rst index 9dc54f07b..9399d1b92 100644 --- a/docs/topics/request-response.rst +++ b/docs/topics/request-response.rst @@ -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 diff --git a/requirements.txt b/requirements.txt index 3605e94a7..5a767c91b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -Twisted>=8.0 +Twisted>=10.0.0 w3lib>=1.2 queuelib lxml diff --git a/setup.py b/setup.py index 7196b9528..1b67133c4 100644 --- a/setup.py +++ b/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)