Unable to suppress non-built-in warnings e.g. “CryptographyDeprecationWarning”
Question How can I suppress non-built-in warnings using the python -W{action:message:category:module:line} option? Environment I am using an official Python-based Docker image python:3.7.9 with the following setup: $ python -V Python 3.7.9 $ pip list | grep -e redis -e cryptography cryptography 44.0.0 redis 4.5.1 types-redis 4.6.0.11 Background When I run tests on an older Python […]