Scrapy, a fast high-level web crawling & scraping framework for Python.
uses ScrapyDeprecationWarning instead of silenced PendingDeprecationWarning
Elias Dorneles935b1da8c2d1
diff --git a/scrapy/exporters.py b/scrapy/exporters.pyindex 118df34a7..fa6663ed4 100644--- a/scrapy/exporters.py+++ b/scrapy/exporters.py@@ -14,6 +14,7 @@ from xml.sax.saxutils import XMLGeneratorfrom scrapy.utils.serialize import ScrapyJSONEncoderfrom scrapy.utils.python import to_bytes, to_unicode, to_native_str, is_listlikefrom scrapy.item import BaseItem+from scrapy.exceptions import ScrapyDeprecationWarningimport warnings@@ -252,7 +253,7 @@ class PythonItemExporter(BaseItemExporter):if self.binary:warnings.warn("PythonItemExporter will drop support for binary export in the future",- PendingDeprecationWarning)+ ScrapyDeprecationWarning)def serialize_field(self, field, name, value):serializer = field.get('serializer', self._serialize_value)