From a7dfc8763d555c8d2aaf81fb8fb50ad2ed5546c4 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Fri, 6 Jan 2023 22:11:59 +0100 Subject: [PATCH] Avoid RemovedInSphinx80Warning This should avoid the warning when running the latest Sphinx: sphinx.deprecation.RemovedInSphinx80Warning: The alias 'sphinx.util.SkipProgressMessage' is deprecated, use 'sphinx.util.display.SkipProgressMessage' instead. Check CHANGES for Sphinx API modifications. --- sphinxcontrib/applehelp/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sphinxcontrib/applehelp/__init__.py b/sphinxcontrib/applehelp/__init__.py index c46cd91..3bce7d0 100644 --- a/sphinxcontrib/applehelp/__init__.py +++ b/sphinxcontrib/applehelp/__init__.py @@ -21,7 +21,8 @@ from sphinx.errors import SphinxError from sphinx.locale import get_translation from sphinx.util import logging -from sphinx.util import SkipProgressMessage, progress_message +from sphinx.util import progress_message +from sphinx.util.display import SkipProgressMessage from sphinx.util.fileutil import copy_asset, copy_asset_file from sphinx.util.matching import Matcher from sphinx.util.osutil import ensuredir, make_filename