Skip to content

Commit 8942a1d

Browse files
committed
Test with Docutils 0.20
1 parent c9d0933 commit 8942a1d

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/main.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
docutils:
3232
- "0.18"
3333
- "0.19"
34+
- "0.20"
3435

3536
steps:
3637
- uses: actions/checkout@v3
@@ -57,13 +58,7 @@ jobs:
5758
env:
5859
PYTHONWARNINGS: ""
5960
- name: Install Docutils ${{ matrix.docutils }}
60-
run: python -m pip install --upgrade "docutils==${{ matrix.docutils }}.*"
61-
if: "!endsWith(matrix.python, '-dev')"
62-
env:
63-
PYTHONWARNINGS: "error,default:pkg_resources is deprecated:DeprecationWarning::,default:Deprecated call to `pkg_resources.declare_namespace:DeprecationWarning::"
64-
- name: Install Docutils ${{ matrix.docutils }} (ignore warnings)
65-
run: python -m pip install --upgrade "docutils==${{ matrix.docutils }}.*"
66-
if: "endsWith(matrix.python, '-dev')"
61+
run: python -m pip install --upgrade "docutils~=${{ matrix.docutils }}.0"
6762
env:
6863
PYTHONWARNINGS: ""
6964
- name: Test with pytest

0 commit comments

Comments
 (0)