From 39ba1d65a7aa4e9115504dbaabd8cff6f4c07d02 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Fri, 11 Nov 2022 23:25:55 +0200 Subject: [PATCH] Temporarily ignore deprecation warnings from Sphinx --- .github/workflows/test-build.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-build.yaml b/.github/workflows/test-build.yaml index d09105e..2439e0c 100644 --- a/.github/workflows/test-build.yaml +++ b/.github/workflows/test-build.yaml @@ -23,7 +23,10 @@ jobs: python -m pip install --upgrade -r requirements.txt - name: Build docs - run: python -bb -X dev -W error -m sphinx --color -n -E -a -W --keep-going docs build + # Temporarily ignore deprecation warnings until fixed: + # 'DeprecationWarning: 'imghdr' is deprecated and slated for removal in Python 3.13' + # https://github.com/sphinx-doc/sphinx/issues/10440 + run: python -bb -X dev -W error -W ignore::DeprecationWarning -m sphinx --color -n -E -a -W --keep-going docs build - name: Check links run: python -b -X dev -m sphinx --color -b linkcheck -W --keep-going docs build