Closed
Description
Expected Behavior
Calling pdoc with python env variable set to ignore works:
PYTHONWARNINGS="ignore::DeprecationWarning" pdoc --output-dir "$outdir" --html $py_files
Actual Behavior
On every call to pdoc get the warning:
...\lib/python3.8/site-packages/urllib3/util/retry.py:38: DeprecationWarning: Using 'Retry.DEFAULT_METHOD_WHITELIST' is deprecated and will be removed in v2.0. Use 'Retry.DEFAULT_METHODS_ALLOWED' instead
warnings.warn(
Steps to Reproduce
- import urllib3 in python module
- run pdoc on module
- observe warning from urllib3 in pdoc output on STDERR
Additional info
- pdoc version: 0.9.2
Metadata
Metadata
Assignees
Labels
No labels