From cd938a7744cb46e2ea525a0c3dd79aa08f98c150 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Tue, 11 Jan 2022 18:48:56 +0200 Subject: [PATCH] Autolink CWE numbers with sphinx-issues --- .github/workflows/test.yml | 2 +- docs/releasenotes/9.0.0.rst | 4 ++-- requirements.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 414c7e94edd..82518f556e9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -93,7 +93,7 @@ jobs: - name: Docs if: startsWith(matrix.os, 'ubuntu') && matrix.python-version == 3.9 run: | - python3 -m pip install sphinx-copybutton sphinx-issues sphinx-removed-in sphinx-rtd-theme sphinxext-opengraph + python3 -m pip install sphinx-copybutton sphinx-issues>=3.0.1 sphinx-removed-in sphinx-rtd-theme sphinxext-opengraph make doccheck - name: After success diff --git a/docs/releasenotes/9.0.0.rst b/docs/releasenotes/9.0.0.rst index fbf2e7ce4ff..947ccd849e3 100644 --- a/docs/releasenotes/9.0.0.rst +++ b/docs/releasenotes/9.0.0.rst @@ -127,8 +127,8 @@ help prevent problems arising if users evaluate arbitrary expressions, such as Fixed ImagePath.Path array handling ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -:cve:`CVE-2022-22815` (CWE-126) and :cve:`CVE-2022-22816` (CWE-665) were found when -initializing ``ImagePath.Path``. +:cve:`CVE-2022-22815` (:cwe:`CWE-126`) and :cve:`CVE-2022-22816` (:cwe:`CWE-665`) were +found when initializing ``ImagePath.Path``. .. _OSS-Fuzz: https://github.com/google/oss-fuzz diff --git a/requirements.txt b/requirements.txt index feaa2f718b4..1e150e304b2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,7 +12,7 @@ pytest-cov pytest-timeout sphinx>=2.4 sphinx-copybutton -sphinx-issues +sphinx-issues>=3.0.1 sphinx-removed-in sphinx-rtd-theme>=1.0 sphinxext-opengraph