forked from pool/python-Scrapy
* Changed the values for DOWNLOAD_DELAY (from 0 to 1) and CONCURRENT_REQUESTS_PER_DOMAIN (from 8 to 1) in the default project template. * Fixed several bugs in the engine initialization and exception handling logic. * Allowed running tests with Twisted 25.5.0+ again and fixed test failures with lxml 6.0.0. * Give callback requests precedence over start requests when priority values are the same. * The asyncio reactor is now enabled by default * Replaced start_requests() (sync) with start() (async) and changed how it is iterated. * Added the allow_offsite request meta key * Spider middlewares that don't support asynchronous spider output are deprecated * Added a base class for universal spider middlewares - Add patch remove-hoverxref.patch: * Do not use deprecated sphinx-hoverxref extension. - Add patch no-dark-mode.patch: * Do not use unavailable sphinx-rtd-dark-mode extension. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Scrapy?expand=0&rev=48
19 lines
586 B
Diff
19 lines
586 B
Diff
Index: scrapy-2.13.3/docs/conf.py
|
|
===================================================================
|
|
--- scrapy-2.13.3.orig/docs/conf.py
|
|
+++ scrapy-2.13.3/docs/conf.py
|
|
@@ -34,7 +34,7 @@ extensions = [
|
|
"sphinx.ext.coverage",
|
|
"sphinx.ext.intersphinx",
|
|
"sphinx.ext.viewcode",
|
|
- "sphinx_rtd_dark_mode",
|
|
+ "sphinx_rtd_theme",
|
|
]
|
|
|
|
templates_path = ["_templates"]
|
|
@@ -158,4 +158,3 @@ intersphinx_mapping = {
|
|
intersphinx_disabled_reftypes: Sequence[str] = []
|
|
|
|
# -- Other options ------------------------------------------------------------
|
|
-default_dark_mode = False
|