Skip to content

Commit cd938a7

Browse files
hugovkradarhere
authored andcommitted
Autolink CWE numbers with sphinx-issues
1 parent 2e9c461 commit cd938a7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Diff for: .github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
- name: Docs
9494
if: startsWith(matrix.os, 'ubuntu') && matrix.python-version == 3.9
9595
run: |
96-
python3 -m pip install sphinx-copybutton sphinx-issues sphinx-removed-in sphinx-rtd-theme sphinxext-opengraph
96+
python3 -m pip install sphinx-copybutton sphinx-issues>=3.0.1 sphinx-removed-in sphinx-rtd-theme sphinxext-opengraph
9797
make doccheck
9898
9999
- name: After success

Diff for: docs/releasenotes/9.0.0.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ help prevent problems arising if users evaluate arbitrary expressions, such as
127127
Fixed ImagePath.Path array handling
128128
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
129129

130-
:cve:`CVE-2022-22815` (CWE-126) and :cve:`CVE-2022-22816` (CWE-665) were found when
131-
initializing ``ImagePath.Path``.
130+
:cve:`CVE-2022-22815` (:cwe:`CWE-126`) and :cve:`CVE-2022-22816` (:cwe:`CWE-665`) were
131+
found when initializing ``ImagePath.Path``.
132132

133133
.. _OSS-Fuzz: https://github.com/google/oss-fuzz
134134

Diff for: requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pytest-cov
1212
pytest-timeout
1313
sphinx>=2.4
1414
sphinx-copybutton
15-
sphinx-issues
15+
sphinx-issues>=3.0.1
1616
sphinx-removed-in
1717
sphinx-rtd-theme>=1.0
1818
sphinxext-opengraph

0 commit comments

Comments
 (0)