From 47fe0b1b9ff8cfe6de1d111437988264700310ee 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 414c7e94e..82518f556 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 fbf2e7ce4..947ccd849 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 feaa2f718..1e150e304 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