Filter out warnings caused by cryptography in rb-site.
Review Request #11360 — Created Jan. 7, 2021 and submitted — Latest diff uploaded
When running
rb-site
with any modern version of thecryptography
module, a warning will be shown about cryptography dropping Python 2
support. This wasn't caught by thePendingDeprecationWarning
, as they
output it as aUserError
. We now filter these out, which also catches
a few others that could come up (likepdfminer.six
from Power Pack).
Ran
rb-site
on Python 2.7. Saw the warnings go away.