forked from pool/python-Scrapy
- Use libalternatives
- Use multibuild to run tests in a subpackage - add upstream patch CVE-2025-6176.patch to mitigate brotli and deflate decompression bombs DoS. This patch adds a new bin test file that was added as a new source as CVE-2025-6176-testfile-bomb-br-64GiB.bin gh#scrapy/scrapy#7134, bsc#1252945, CVE-2025-6176) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Scrapy?expand=0&rev=51
This commit is contained in:
56
remove-hoverxref.patch
Normal file
56
remove-hoverxref.patch
Normal file
@@ -0,0 +1,56 @@
|
||||
From 549730c23592479f200f3c1f941c59f68c510ff5 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Adri=C3=A1n=20Chaves?= <adrian@chaves.io>
|
||||
Date: Sat, 28 Jun 2025 12:32:55 +0200
|
||||
Subject: [PATCH] Remove the deprecated sphinx-hoverxref
|
||||
|
||||
---
|
||||
docs/conf.py | 20 +-------------------
|
||||
docs/requirements.txt | 1 -
|
||||
2 files changed, 1 insertion(+), 20 deletions(-)
|
||||
|
||||
diff --git a/docs/conf.py b/docs/conf.py
|
||||
index 493a6297624..0345ec69543 100644
|
||||
--- a/docs/conf.py
|
||||
+++ b/docs/conf.py
|
||||
@@ -26,7 +26,6 @@
|
||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
||||
|
||||
extensions = [
|
||||
- "hoverxref.extension",
|
||||
"notfound.extension",
|
||||
"scrapydocs",
|
||||
"sphinx.ext.autodoc",
|
||||
@@ -157,22 +156,5 @@
|
||||
}
|
||||
intersphinx_disabled_reftypes: Sequence[str] = []
|
||||
|
||||
-
|
||||
-# -- Options for sphinx-hoverxref extension ----------------------------------
|
||||
-# https://sphinx-hoverxref.readthedocs.io/en/latest/configuration.html
|
||||
-
|
||||
-hoverxref_auto_ref = True
|
||||
-hoverxref_role_types = {
|
||||
- "class": "tooltip",
|
||||
- "command": "tooltip",
|
||||
- "confval": "tooltip",
|
||||
- "hoverxref": "tooltip",
|
||||
- "mod": "tooltip",
|
||||
- "ref": "tooltip",
|
||||
- "reqmeta": "tooltip",
|
||||
- "setting": "tooltip",
|
||||
- "signal": "tooltip",
|
||||
-}
|
||||
-hoverxref_roles = ["command", "reqmeta", "setting", "signal"]
|
||||
-
|
||||
+# -- Other options ------------------------------------------------------------
|
||||
default_dark_mode = False
|
||||
diff --git a/docs/requirements.txt b/docs/requirements.txt
|
||||
index 103fb08d667..4b382b11eb9 100644
|
||||
--- a/docs/requirements.txt
|
||||
+++ b/docs/requirements.txt
|
||||
@@ -1,5 +1,4 @@
|
||||
sphinx==8.1.3
|
||||
-sphinx-hoverxref==1.4.2
|
||||
sphinx-notfound-page==1.0.4
|
||||
sphinx-rtd-theme==3.0.2
|
||||
sphinx-rtd-dark-mode==1.3.0
|
||||
Reference in New Issue
Block a user