[Python-modules-team] Bug#930781: python3-socks: Deprecation warning emitted on import

Jamie Bliss jamie at ivyleav.es
Thu Jun 20 14:53:06 BST 2019

Package: python3-socks
Version: 1.6.8+dfsg-1
Severity: normal

Dear Maintainer,

PySocks 1.6.8 has a deprecated import and a warning is emitted on import. This
is triggered by importing requests, an extremely common HTTP library. It has
been fixed in upstream 1.7.0

This happens for any software that uses requests, whether or not they depend on
PySocks. It just happens for every application that uses it as soon as
python3-socks is installed on a system.

In addition, this warning becomes user-visible if the application surfaces
warnings in some way (in a log or on stdout).

-- System Information:
Debian Release: 10.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-socks depends on:
ii  python3  3.7.3-1

python3-socks recommends no packages.

python3-socks suggests no packages.

-- no debconf information

More information about the Python-modules-team mailing list