From 347f35462ddf8a12efe11ef650e0a6d565d83e78 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Fri, 11 Oct 2024 15:14:19 +0200 Subject: ignore urllib3 warning about openssl --- scripts/common/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts/common/__init__.py') diff --git a/scripts/common/__init__.py b/scripts/common/__init__.py index e3ea442..c4fe9e7 100644 --- a/scripts/common/__init__.py +++ b/scripts/common/__init__.py @@ -4,8 +4,13 @@ import logging import os import sys +import warnings from datetime import datetime +# Because of https://github.com/urllib3/urllib3/issues/3020 +# Ignore "not using openssl"-error from urllib3. From https://gist.github.com/fire015/f9482919434e57af8bbd0dbc24ecaa9e +warnings.filterwarnings("ignore", module="urllib3") + # Get env var def env(var_name, default=None): -- cgit v1.2.3