Filter out warnings caused by cryptography in rb-site.

Review Request #11360 — Created Jan. 7, 2021 and submitted

Information

Review Board
release-4.0.x

Reviewers

When running rb-site with any modern version of the cryptography
module, a warning will be shown about cryptography dropping Python 2
support. This wasn't caught by the PendingDeprecationWarning, as they
output it as a UserError. We now filter these out, which also catches
a few others that could come up (like pdfminer.six from Power Pack).

Ran rb-site on Python 2.7. Saw the warnings go away.

Summary ID
Filter out warnings caused by cryptography in rb-site.
When running `rb-site` with any modern version of the `cryptography` module, a warning will be shown about cryptography dropping Python 2 support. This wasn't caught by the `PendingDeprecationWarning`, as they output it as a `UserError`. We now filter these out, which also catches a few others that could come up (like `pdfminer.six` from Power Pack).
14c3b6e19c3fc6dcaba788e2024e975c140930f6
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-4.0.x (cca1bd2)