Filter out warnings caused by cryptography in rb-site.
Review Request #11360 — Created Jan. 7, 2021 and submitted — Latest diff uploaded
When running
rb-sitewith 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.sixfrom Power Pack).
Ran
rb-siteon Python 2.7. Saw the warnings go away.