Page MenuHomePhabricator

debmonitor-client: urllib3 deprecation warning on Bullseye
Closed, ResolvedPublic

Description

Running debmonitor on bullseye prints the following (and otherwise harmless) deprecation warning by urllib2:

/usr/bin/debmonitor-client:298: DeprecationWarning: Using 'method_whitelist' with Retry is deprecated and will be removed in v2.0. Use 'allowed_methods' instead
  retry_strategy = Retry(

Event Timeline

Volans renamed this task from debmonitor-client: urllib2 deprecation warning on Bullseye to debmonitor-client: urllib3 deprecation warning on Bullseye.Jun 9 2021, 5:41 PM

Change 699057 had a related patch set uploaded (by Volans; author: Volans):

[operations/software/debmonitor@master] cli: urllib3 backward/forward compatibility

https://gerrit.wikimedia.org/r/699057

Change 699057 merged by jenkins-bot:

[operations/software/debmonitor@master] cli: urllib3 backward/forward compatibility

https://gerrit.wikimedia.org/r/699057

This was resolved with the above patches.