Skip to content

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

removed deprecated scrapy.xpath module (previously kept for backwards compatibility)

Pablo Hoffman9bf4e87753ba
diff --git a/scrapy/xpath/__init__.py b/scrapy/xpath/__init__.py
deleted file mode 100644
index cef3c9869..000000000
--- a/scrapy/xpath/__init__.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from scrapy.selector import *
-
-import warnings
-warnings.warn("scrapy.xpath module is deprecated, use scrapy.selector instead",
- DeprecationWarning, stacklevel=2)
diff --git a/scrapy/xpath/selector.py b/scrapy/xpath/selector.py
deleted file mode 100644
index 66f9834ad..000000000
--- a/scrapy/xpath/selector.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from scrapy.selector import *
-
-import warnings
-warnings.warn("scrapy.xpath.selector module is deprecated, use scrapy.selector instead",
- DeprecationWarning, stacklevel=2)