Project

General

Profile

Actions

Story #20724

open

Silence httplib2/ssl deprecation warning

Added by Brett Smith 5 months ago.

Status:
New
Priority:
Low
Assigned To:
-
Category:
Tests
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
0.5

Description

The Python SDK tests will periodically report this deprecation warning:

/home/brett/Curii/arvados/sdk/python/.eggs/httplib2-0.20.1-py3.11.egg/httplib2/__init__.py:147: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated 
  context = ssl.SSLContext(DEFAULT_TLS_VERSION)

There's nothing we can do about this directly since httplib2 isn't our library (unless we want to put together a pull request). But we can configure our test infrastructure to silence the warning to reduce noise. This could be done directly in code via the warnings module or via configuration like the PYTHONWARNINGS environment variable.

No data to display

Actions

Also available in: Atom PDF