Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Mention the deprecation of TestSpider.

Andrey Rakhmatullin4aba7e5f6675
diff --git a/docs/news.rst b/docs/news.rst
index 74a26c383..7bb25e6b6 100644
--- a/docs/news.rst
+++ b/docs/news.rst
@@ -149,6 +149,11 @@ Deprecations
If you need to use them in your tests or code, you can copy the code from Scrapy.
(:issue:`6696`)
+- ``scrapy.utils.test.TestSpider`` is deprecated. If you need an empty spider
+ class you can use :class:`scrapy.utils.spider.DefaultSpider` or create your
+ own subclass of :class:`scrapy.Spider`.
+ (:issue:`6678`)
+
- ``scrapy.downloadermiddlewares.ajaxcrawl.AjaxCrawlMiddleware`` is
deprecated. It was disabled by default and isn't useful for most of the
existing websites.