diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2efc1c1844c..2f7b69adcf9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,6 +31,7 @@ jobs: docutils: - "0.18" - "0.19" + - "0.20" steps: - uses: actions/checkout@v3 @@ -57,13 +58,7 @@ jobs: env: PYTHONWARNINGS: "" - name: Install Docutils ${{ matrix.docutils }} - run: python -m pip install --upgrade "docutils==${{ matrix.docutils }}.*" - if: "!endsWith(matrix.python, '-dev')" - env: - PYTHONWARNINGS: "error,default:pkg_resources is deprecated:DeprecationWarning::,default:Deprecated call to `pkg_resources.declare_namespace:DeprecationWarning::" - - name: Install Docutils ${{ matrix.docutils }} (ignore warnings) - run: python -m pip install --upgrade "docutils==${{ matrix.docutils }}.*" - if: "endsWith(matrix.python, '-dev')" + run: python -m pip install --upgrade "docutils~=${{ matrix.docutils }}.0" env: PYTHONWARNINGS: "" - name: Test with pytest