Skip to content

Commit

Permalink
Add warning filter to doc build for distutils deprecations.
Browse files Browse the repository at this point in the history
  • Loading branch information
rossbar committed Jan 21, 2022
1 parent e3c152f commit 6ebf6e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/source/conf.py
Expand Up @@ -149,6 +149,7 @@
r"OpenSSL\.rand is deprecated", # OpenSSL package in linkcheck
r"Using or importing the ABCs from", # 3.5 importlib._bootstrap
r"'contextfunction' is renamed to 'pass_context'", # Jinja
r"distutils Version", # distutils
):
warnings.filterwarnings( # deal with other modules having bad imports
'ignore', message=".*" + key, category=DeprecationWarning)
Expand Down

0 comments on commit 6ebf6e3

Please sign in to comment.