See also
tl;dr:
Python deprecation warnings are filtered out by the default warnings filter. You can disable this (allegedly) by any of the following methods:
- Start the Python process in dev mode:
python -X dev ...(see here) - Change the filters at the Python process leve:
python -Wd ...(see here) - If you’re using PyTest, also make sure to enable the warnings filter there with
python [...] -m pytest -W always [...]
With that said, I still can’t get deprecation warnings to show up reliably. More troubleshooting needed. I just made this note so I’d have the links written down somewhere and I could close those tabs.