summaryrefslogtreecommitdiff
path: root/qutebrowser/utils/log.py
diff options
context:
space:
mode:
Diffstat (limited to 'qutebrowser/utils/log.py')
-rw-r--r--qutebrowser/utils/log.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/qutebrowser/utils/log.py b/qutebrowser/utils/log.py
index f912ebd11..3e3b407b0 100644
--- a/qutebrowser/utils/log.py
+++ b/qutebrowser/utils/log.py
@@ -209,6 +209,16 @@ def _init_py_warnings() -> None:
message=r"Using or importing the ABCs from "
r"'collections' instead of from 'collections.abc' "
r"is deprecated.*")
+ # PyQt 5.15/6.2/6.3/6.4:
+ # https://riverbankcomputing.com/news/SIP_v6.7.12_Released
+ warnings.filterwarnings(
+ 'ignore',
+ category=DeprecationWarning,
+ message=(
+ r"sipPyTypeDict\(\) is deprecated, the extension module should use "
+ r"sipPyTypeDictRef\(\) instead"
+ )
+ )
@contextlib.contextmanager